Example
console(config)#ip dhcp snooping
console(config-if-vlan1,2,3)#ip dhcp snooping
ip dhcp snooping binding
Use the ip dhcp snooping binding command to configure a static DHCP Snooping binding.
Use the "no" form of this command to remove a static binding.
Syntax
ip dhcp snooping binding
no ip dhcp snooping binding mac-address
mac-address —The client's MAC address.
•
vlan-id —The number of the VLAN the client is authorized to use.
•
ip-address —The IP address of the client.
•
interface — The interface on which the client is authorized. The form is unit/port.
•
Default Configuration
There are no static DHCP snooping bindings by default.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
console(config)#ip dhcp snooping binding 00:00:00:00:00:01 vlan 10
10.131.12.134 interface 1/g1
ip dhcp snooping database
Use the ip dhcp snooping database command to configure the persistent storage location of the
DHCP snooping database. This can be local to the switch or on a remote machine.
Syntax
ip dhcp snooping database { local | tftp://
mac-address
vlan-id ip-address
vlan
hostIP
interface
filename
/
}
interface
213