SMC Networks SMC7824M/FSW Switch User Manual


 
C
LIENT
S
ECURITY
C
OMMANDS
22-14
When the DHCP snooping is globally disabled, DHCP snooping can
still be configured for specific VLANs, but the changes will not take
effect until DHCP snooping is globally re-enabled.
When DHCP snooping is globally enabled, configuration changes for
specific VLANs have the following effects:
- If DHCP snooping is disabled on a VLAN, all dynamic bindings
learned for this VLAN are removed from the binding table; all static
bindings configured for this VLAN are retained in the binding table
but have no effect.
- If DHCP snooping is re-enabled on a VLAN, any previously
configured static bindings stored in the binding table will take effect
again.
Example
This example enables DHCP snooping for VLAN 1.
Related Commands
ip dhcp snooping (22-11)
ip dhcp snooping trust (22-17)
ip dhcp snooping binding (22-14)
ip dhcp snooping binding
This command adds a static address to the DHCP snooping binding table.
Use the no form to remove an entry from the binding table.
Syntax
ip dhcp binding mac-address vlan vlan-id ip-address
interface ethernet unit/port lease-time
no ip dhcp binding mac-address vlan vlan-id
mac-address - A valid unicast MAC address.
vlan-id - ID of a configured VLAN (Range: 1-4093)
ip-address - A valid unicast IP address, including classful types A, B or
C.
Console(config)#ip dhcp snooping vlan 1
Console(config)#