dhcp-snooping check mac-port

Syntax

dhcp-snooping check mac-port

undo dhcp-snooping check mac-port

View

System view

Default level

2: System level

Description

Use dhcp-snooping check mac-port to enable MAC and port check on the DHCP snooping device.

Use undo dhcp-snooping check mac-port to disable MAC and port check on the DHCP snooping device.

By default, MAC and port check is disabled on the DHCP snooping device.

Examples

# Enable MAC and port check on the DHCP snooping device.

<Sysname> system-view
[Sysname] dhcp-snooping check mac-port