231
Default Settings: DHCP Snooping is disabled by default.
Usage Guide: When this function is enabled, it will monitor all the DHCP Server packets
of non-trusted ports.
Example: Enable the DHCP Snooping function.
switch(config)#ip dhcp snooping enable
22.7 ip dhcp snooping binding
Command: ip dhcp snooping binding enable
no ip dhcp snooping binding enable
Function: Enable the DHCP Snooping binding funciton
Parameters: None.
Command Mode: Globe mode
Default Settings: DHCP Snooping binding is disabled by default.
Usage Guide: When the function is enabled, it will record the binding information
allocated by DHCP Server of all trusted ports. Only after the DHCP SNOOPING function
is enabled, the binding function can be enabled.
Example: Enable the DHCP Snooping binding funciton.
switch(config)#ip dhcp snooping binding enable
Relative Command: ip dhcp snooping enable
22.8 ip dhcp snooping binding user
Command: ip dhcp snooping binding user <mac> address <ipaddress> <mask>
vlan <vid> interface [Ethernet] <ifname>
no ip dhcp snooping binding user <mac> interface [Ethernet] <ifname>
Function: Configure the information of static binding users
Parameters:
<mac>: The MAC address of the static binding user, whic is the only index of the binding
user.
<ipaddress> <mask>: The IP address and mask of the static binding user.
<vid>: The VLAN ID which the static binding user belongs to.
<ifname>: The access interface of static binding user.
Command Mode: Globe mode
Default Settings: DHCP Snooping has no static binding list entry by default.