
5-2
Field
Description
lease Lease
period
T1
Renewal timer setting
T2
Rebinding timer setting
Lease from….to….
The starting and end time of the lease period
Server IP
IP address of the DHCP server selected
Transaction ID
Transaction ID
Default router
Gateway address
Next timeout will happen after 0 days 11 hours
56 minutes 1 seconds.
The timer expires in 11 hours, 56 minutes, and 1
second.
ip address dhcp-alloc
Syntax
ip address dhcp-alloc
undo ip address dhcp-alloc
View
VLAN interface view
Parameters
None
Description
Use the
ip address dhcp-alloc
command to configure a VLAN interface to obtain an IP address
through DHCP.
Use the
undo ip address dhcp-alloc
command to cancel the configuration.
By default, a VLAN interface does not use DHCP to obtain an IP address.
To improve security and avoid malicious attacks to the unused sockets, S3600 Ethernet switches
provide the following functions:
z
UDP ports 67 and 68 used by DHCP are enabled/disabled only when DHCP is enabled/disabled.
The implementation is as follows:
z
After the DHCP client is enabled by executing the
ip address dhcp-alloc
command, UDP port 68
is enabled.
z
After the DHCP client is disabled by executing the
undo
ip address dhcp-alloc
command, UDP
port 68 is disabled.