3 dhcp snooping binding – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 700
![background image](/manuals/651410/700/background.png)
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 700 of 855
Default
DHCP snooping is disabled.
Command Mode
Global configuration
Usage
For any DHCP snooping configuration to take effect, you must globally enable DHCP snooping.
DHCP snooping is not active until you enable snooping on a VLAN by using the dhcp snooping vlan
vlan-id global configuration command.
Examples
This example shows how to enable DHCP snooping:
Switch(config)# dhcp snooping
You can verify your settings by entering the show dhcp snooping config privileged EXEC command.
Related Commands
dhcp snooping vlan
show dhcp snooping config
36.3 dhcp snooping binding
Use the dhcp snooping binding privileged EXEC command on the switch to configure the DHCP
snooping binding database and to add binding entries to the database.
Command Syntax
dhcp snooping binding mac mac-address vlan vlan-id ipv4 ip-address interface interface-id expiry
seconds
mac mac-address
Specify a MAC address.
vlan vlan-id
Specify a VLAN number. The range is 1 to 4094.
ipv4 ip-address
Specify an IP address.
interface interface-id
Specify an interface on which to add or delete a binding entry.
expiry seconds
Specify the interval (in seconds) after which the binding entry is
no longer valid. The range is 0 to 86400.
Default
No default database is defined.
Command Mode
Global configuration
Usage