General Security Measures
4-167
4
ip dhcp snooping vlan
This command enables DHCP snooping on the specified VLAN. Use the
no
form to
restore the default setting.
Syntax
[
no
]
ip dhcp snooping vlan
vlan-id
vlan-id
- ID of a configured VLAN (Range: 1-4094)
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
• When DHCP snooping enabled globally using the
command (page 4-165), 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
command (page 4-167).
• 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.
Related Commands
ip dhcp snooping (4-165)
ip dhcp snooping trust (4-167)
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
Console(config)#ip dhcp snooping vlan 1
Console(config)#
Summary of Contents for iES4028F
Page 1: ...iES4028F 4028FP 4024GP ...
Page 4: ...iv This page is intentionally left blank ...
Page 10: ...x This page is intentionally left blank ...
Page 28: ...Contents xxviii This page is intentionally left blank ...
Page 32: ...Tables xxxii This page is intentionally left blank ...
Page 46: ...Introduction 1 10 1 This page is intentionally left blank ...
Page 336: ...Configuring the Switch 3 280 3 This page is intentionally left blank ...
Page 688: ...Command Line Interface 4 352 4 This page is intentionally left blank ...
Page 702: ...Glossary Glossary 8 This page is intentionally left blank ...
Page 710: ...Index 8 Index This page is intentionally left blank ...
Page 711: ...This page is intentionally left blank ...
Page 712: ...iES4028F 4028FP 4024GP ...