dhcpv4-snooping verify mac

Syntax

dhcpv4-snooping verify mac no dhcpv4-snooping verify mac

描述

This command enables verification of the hardware address field in DHCP client packets. When enabled, the DHCP client hardware address field and the source MAC address must be the same for packets received on untrusted ports or else the packet is dropped. This DHCP snooping MAC verification is enabled by default.

The no form of the command disables DHCPv4 snooping MAC verification.

Command context

config

权威

Administrators or local user group members with execution rights for this command.

Examples

Enabling DHCPv4 snooping MAC verification:

switch(config)#dhcpv4-snooping verify mac

Disabling DHCPv4 snooping MAC verification:

switch(config)#马没有dhcpv4-snooping验证c