43-2
Configuring a DHCP/BOOTP Client
nfigure a DHCP/BOOTP client:
Follow these steps to co
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN interface view
interface vlan-interface
—
vlan-id
Configure the VLAN interface
to obtain IP address through
ip address
{
bootp-alloc
dhcp-alloc
}
DHCP or BOOTP
|
Required
By default, no IP address is
configured for the VLAN
interface.
z
s the DHCP client can use an IP address for 24
DHCP client can obtain an address lease for no more than 24 days even
server offers a longer lease period.
z
ch functioning as a DHCP client supports default route creation. That is,
default route with the next hop being the gateway assigned by the
the
display ip
the switch
VLAN interfaces to obtain IP addresses through DHCP.
ent supports default route creation. That is,
xt hop being the gateway assigned by the
DHCP server. To view detailed information about the default route, run the
display ip
Currently, an S4500 Ethernet switch functioning a
days at most. That is, the
though the DHCP
An S4500 Ethernet swit
the DHCP client creates a
DHCP server. To view detailed information about the default route, run
routing-table
command on the switch.
z
If a switch belongs to an XRN fabric, you need to enable the UDP Helper function on
before configuring its
z
An S4500 Ethernet switch functioning as a DHCP cli
the DHCP client creates a default route with the ne
routing-table
command on the switch.
To improve security and avoid malicio
SOCKETs, S4500 Ethernet switches
rovide the following functions:
z
UDP 67 and UDP 68 ports used by DHCP are enabled only when DHCP is enabled.
z
UDP 67 and UDP 68 ports are disabled when DHCP is disabled.
The specific implementation is:
z
Using the
ip address dhcp-alloc
command enables the DHCP client, and UDP port 68.
z
Using the
undo
ip address dhcp-alloc
command disables the DHCP client, and UDP port 68.
us attack to the unused
p