User Guide    640
Configuring IPv4 IMPB IP-MAC Binding Configuration
2.2.2  Binding Entries via DHCP Snooping
Follow these steps to bind entries via DHCP Snooping:
Step 1 configure
Enter global configuration mode.
Step 2 ip dhcp snooping
Globally enable DHCP Snooping.
Step 3 ip dhcp snooping vlan 
vlan-range
Enable DHCP Snooping on the specified VLAN.
vlan-range: 
Enter the vlan range in the format of 1-3, 5.
Step 4 interface {
 
fastEthernet 
port 
|
 
range fastEthernet 
port-list 
| gigabitEthernet
 port
 | range
 
gigabitEthernet
 port-list 
| ten-gigabitEthernet
 port
 | range
 
ten-gigabitEthernet
 port-list 
| 
interface port-channel
 port-channel-id
 | interface range
 
port-channel 
port-channel-id-list 
}
Enter interface configuration mode.
Step 5 ip dhcp snooping max-entries 
value
Configure the maximum number of binding entries the port can learn via DHCP snooping.
value: 
Enter the value of maximum number of entries. The valid values are from 0 to 512.
Step 6 show ip dhcp snooping
Verify global configuration of DHCP Snooping.
Step 7 end
Return to privileged EXEC mode.
Step 8 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to enable DHCP Snooping globally and on VLAN 5, and 
set the maximum number of binding entries port 1/0/1 can learn via DHCP snooping as 
100:
Switch#configure
Switch(config)#ip dhcp snooping
Switch(config)#ip dhcp snooping vlan 5
Switch(config)#interface gigabitEthernet 1/0/1
Switch(config-if)#ip dhcp snooping max-entries 100
Switch(config-if)#show ip dhcp snooping
Global Status: Enable
Downloaded from ManualsNet.com search engine