Command Usage
• When DHCP snooping enabled globally using the ip dhcp snooping
command (page 4-256), and enabled on a VLAN with this command,
DHCP packet filtering will be performed on any untrusted ports
within the VLAN as specified by the ip dhcp snooping trust
command (page 4-259).
• When the DHCP snooping is globally disabled, DHCP snooping can
still be configured for specific VLANs, but the changes will not take
effect until DHCP snooping is globally re-enabled.
• When DHCP snooping is globally enabled, configuration changes for
specific VLANs have the following effects:
- If DHCP snooping is disabled on a VLAN, all dynamic bindings
learned for this VLAN are removed from the binding table.
Example
This example enables DHCP snooping for VLAN 1.
Console(config)#ip dhcp snooping vlan 1
Console(config)#
Related Command
ip dhcp snooping (4 -256)
ip dhcp snooping trust (4 -259)
ip dhcp snooping trust
This command configures the specified interface as trusted. Use the no
form to restore the default setting.
Syntax
[no] ip dhcp snooping trust
Default Setting
All interfaces are untrusted
Command Mode
Interface Configuration (Ethernet, Port Channel)
DHCP S
NOOPING
C
OMMANDS
4-259
Need help?
Do you have a question about the 6152L2 - annexe 1 and is the answer not in the manual?
Questions and answers