network interface dhcp

Configure the network interface to request a dynamic IP address.

NOTE   DHCP is not recommended.

User Access

admin, pseoperator

Syntax

network interface dhcp -device <netdevice> [-force]

Argument(s) Shortcut Description
-device <netdevice> -d

Specifies the interface you want to configure to use DHCP.

Valid values: eth0, eth1

-force -f Force the action without prompting for confirmation.

Example

psesh:>network interface dhcp  -device eth0


NOTICE: The network service must be restarted for new network settings to take effect.
If you are sure that you wish to restart the network, then type 'proceed', otherwise type 'quit'

> proceed
Proceeding...
e1000e: eth0 NIC Link is Down
Restarting network service...
Shutting down loopback interface:                         [  OK  ]
Bringing up loopback interface:                           [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0...ADDCONF(NETDEV_UP): eth0: link is not ready
e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
done.
                                                          [  OK  ]

Command Result : 0 (Success)