
6-2
Configuring a DHCP/BOOTP Client
Follow these steps to configure a DHCP/BOOTP client:
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
DHCP or BOOTP
ip address
{
bootp-alloc
|
dhcp-alloc
}
Required
By default, no IP address is
configured for the VLAN
interface.
z
Currently, an S4500 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.
z
An S4500 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.
z
If a switch belongs to an XRN fabric, you need to enable the UDP Helper function on the switch
before configuring its VLAN interfaces to obtain IP addresses through DHCP.
z
An S4500 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, S4500 Ethernet switches
provide 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.
Содержание E4500-24
Страница 279: ...ii Configuring IGMP Snooping 1 16 Configuring Multicast VLAN 1 18 Troubleshooting IGMP Snooping 1 21...
Страница 390: ...2 31 Troubleshooting HWTACACS Configuration See the previous section if you encounter an HWTACACS fault...
Страница 487: ...5 4 Sysname Ethernet1 0 11 dhcp rate limit 100...