C
HAPTER
25
| General Security Measures
DHCP Snooping
– 665 –
ip dhcp snooping
verify mac-address
This command verifies the client’s hardware address stored in the DHCP
packet against the source MAC address in the Ethernet header. Use the no
form to disable this function.
SYNTAX
[no] ip dhcp binding verify mac-address
DEFAULT SETTING
Enabled
COMMAND MODE
Global Configuration
COMMAND USAGE
If MAC address verification is enabled, and the source MAC address in the
Ethernet header of the packet is not same as the client’s hardware address
in the DHCP packet, the packet is dropped.
EXAMPLE
This example enables MAC address verification.
Console(config)#ip dhcp snooping verify mac-address
Console(config)#
RELATED COMMANDS
ip dhcp snooping (661)
ip dhcp snooping vlan (665)
ip dhcp snooping trust (666)
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-4093)
DEFAULT SETTING
Disabled
COMMAND MODE
Global Configuration
COMMAND USAGE
â—† When DHCP snooping enabled globally using the ip dhcp snooping
command, 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.