clear antispoof dhcp-snooping

Use this command to clear the anti-spoofing DHCP snooping configuration for the specified port or port range.

Syntax

clear antispoof dhcp-snooping {mac-verification port-string | port-mode port-string | port-string}

Parameters

mac-verification port-string Specifies the port or port range for anti-spoofing DHCP snooping MAC verification to be reset to the default value of disabled.
port-mode port-string Specifies the port or port range for the anti-spoofing DHCP snooping port mode to be reset to the default value of untrusted.
port-string Specifies the port or port range for the anti-spoofing DHCP snooping state to be reset to the default value of disabled.

Defaults

  • Anti-spoofing DHCP snooping is disabled on all ports by default.
  • Anti-spoofing DHCP snooping port mode defaults to untrusted on all ports.
  • Anti-spoofing DHCP snooping MAC verification defaults to disabled on all ports.

Mode

All command modes.

Examples

This example shows how to reset anti-spoofing DHCP snooping to the default state of disabled on port ge.1.2:

System(rw)->clear antispoof dhcp-snooping ge.1.2

This example shows how to reset anti-spoofing DHCP snooping port mode to the default value of untrusted on port ge.1.2:

System(rw)->clear antispoof dhcp-snooping port-mode ge.1.2