37-13
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 37 Configuring DHCP Snooping
Configuring DHCP Snooping
DHCP snooping is configured on the following Interfaces:
Insertion of option 82 is enabled
Verification of hwaddr field is enabled
Interface Trusted Rate limit (pps)
------------------------ ------- ----------------
Router#
Configuring the DHCP Trust State on Layer 2 LAN Interfaces
To configure DHCP trust state on a Layer 2 LAN interface, perform this task:
This example shows how to configure Fast Ethernet port 5/12 as trusted:
Router# configure terminal
Router(config)# interface FastEthernet 5/12
Router(config-if)# ip dhcp snooping trust
Router(config-if)# do show ip dhcp snooping | begin pps
Interface Trusted Rate limit (pps)
------------------------ ------- ----------------
FastEthernet5/12 yes unlimited
Router#
This example shows how to configure Fast Ethernet port 5/12 as untrusted:
Router# configure terminal
Router(config)# interface FastEthernet 5/12
Router(config-if)# no ip dhcp snooping trust
Router(config-if)# do show ip dhcp snooping | begin pps
Interface Trusted Rate limit (pps)
------------------------ ------- ----------------
FastEthernet5/12 no unlimited
Router#
Command Purpose
Step 1
Router(config)# interface {
type
1
slot/port
|
port-channel
number
}
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Selects the interface to configure.
Note Select only LAN ports configured with the
switchport command or Layer 2 port-channel
interfaces.
Step 2
Router(config-if)# ip dhcp snooping trust
Configures the interface as trusted.
Router(config-if)# no ip dhcp snooping trust
Reverts to the default (untrusted) state.
Step 3
Router(config-if)# do show ip dhcp snooping |
begin pps
Verifies the configuration.