Displaying and maintaining the DHCP client
To do...
Display specified
configuration information
DHCP client configuration example
Network requirements
As shown in Figure 12, on a LAN, Switch B contacts the DHCP server via VLAN-interface 1 to obtain an
IP address.
Figure 12
Network diagram for DHCP client configuration
Configuration procedure
The following is the configuration on Switch B shown in Figure 12.
Enable the DHCP client on VLAN-interface 1.
<SwitchB> system-view
[SwitchB] interface vlan-interface 1
[SwitchB-Vlan-interface1] ip address dhcp-alloc
Use the command...
display dhcp client [ verbose ] [ interface
interface-type interface-number ]
45
Remarks
Available in any view