1-6
Description
Use the
dhcp select
interface
command to configure the specified interface(s) to operate in DHCP
interface address pool mode. Upon receiving a DHCP packet from a DHCP client through an interface
operating in interface address pool mode, the DHCP server chooses an IP address from the interface
address pool of the DHCP server and assigns the address to the DHCP client.
Use the
undo dhcp select
command to restore the default DHCP packet processing mode.
By default, an interface operates in DHCP server global address pool mode.
Before configuring an interface to operate in DHCP interface address pool mode, you need to configure
an IP address for the interface.
To improve security and avoid malicious attack to the unused SOCKETs, S5500-EI 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 corresponding implementation is as follows:
z
After a DHCP interface address pool is created by executing the
dhcp select
interface
command,
UDP 67 and UDP 68 ports used by DHCP are enabled.
z
After a DHCP interface address pool is deleted by executing the
undo
dhcp select
interface
command and all other DHCP functions are disabled, UDP 67 and UDP 68 ports used by DHCP
are disabled accordingly.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Configure VLAN-interface 1 through VLAN-interface 3 to operate in DHCP interface address pool
mode, so that when a DHCP packet is received from a DHCP client on one of these interfaces, the
DHCP server assigns an IP address from the corresponding interface DHCP address pool to the DHCP
client.
[Sysname] dhcp select interface interface vlan-interface 1 to vlan-interface 3
# Configure all interfaces to operate in DHCP interface address pool mode, so that when a DHCP
packet is received from a DHCP client through any interface, the DHCP server assigns an IP address in
the interface DHCP address pool to the DHCP client.
[Sysname] dhcp select interface all
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...