Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-239
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
ip dhcp snooping
ip dhcp snooping
Use the ip dhcp snooping global configuration command on the switch stack or on a standalone switch 
to globally enable DHCP snooping. Use the no form of this command to return to the default setting.
ip dhcp snooping
no ip dhcp snooping
Syntax Description
This command has no arguments or keywords.
Defaults
DHCP snooping is disabled.
Command Modes
Global configuration 
Command History
Usage Guidelines
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 ip dhcp snooping vlan 
vlan-id global configuration command.
Examples
This example shows how to enable DHCP snooping:
Switch(config)# ip dhcp snooping
You can verify your settings by entering the show ip dhcp snooping user EXEC command.
Related Commands
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
Enables DHCP snooping on a VLAN.
Displays the DHCP snooping configuration.
Displays the DHCP snooping binding information.