Displaying Dhcp/Bootp Client Configuration - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

To do...
Enter system view
Enter VLAN interface view
Configure the VLAN interface
to obtain IP address through
DHCP or BOOTP
Currently, an S5100-SI/EI Ethernet switch functioning as the DHCP client can use an IP address
for 24 days at most. That is, the DHCP client can obtain an address lease for no more than 24 days
even though the DHCP server offers a longer lease period.
An S5100-SI/EI Ethernet switch functioning as a DHCP client supports default route creation. That
is, the DHCP client creates a default route with the next hop being the gateway assigned by the
DHCP server. To view detailed information about the default route, run the display ip
routing-table command on the switch.
To improve security and avoid malicious attack to the unused SOCKETs, S5100-SI/EI Ethernet
switches provide the following functions:
UDP 67 and UDP 68 ports used by DHCP are enabled only when DHCP is enabled.
UDP 67 and UDP 68 ports are disabled when DHCP is disabled.
The specific implementation is:
Using the ip address dhcp-alloc command enables the DHCP client, and UDP port 68.
Using the undo ip address dhcp-alloc command disables the DHCP client, and UDP port 68.

Displaying DHCP/BOOTP Client Configuration

To do...
Display related information on a
DHCP client
Display related information on a
BOOTP client
Use the command...
system-view
interface vlan-interface
vlan-id
ip address { bootp-alloc |
dhcp-alloc }
Use the command...
display dhcp client
[ verbose ]
display bootp client
[ interface Vlan-interface
vlan-id ]
4-2
Remarks
Required
By default, no IP address is
configured for the VLAN
interface.
Remarks
Optional
Available in any view

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents