clear ip-security ipv6 dhcp-snooping entries

clear ip-security ipv6 dhcp-snooping entries vlan vlan_name {ipv6address [ipv6_address] | ports [ports]}

Description

Clears DHCPv6 snooping entries from a specified VLAN. Entries can be cleared by IPv6 address or by port, removing tracked DHCPv6 bindings.

Syntax Description

vlan_nameName of the VLAN from which to clear DHCPv6 entries.
ipv6addressClear snooping entries for a specific IPv6 address.
ipv6_addressIPv6 address to clear.
portsClear all snooping entries on specified ports.
portsPort list for which to clear entries.

Default

N/A.

Usage Guidelines

Use this command to remove stale or invalid DHCPv6 snooping entries after troubleshooting or when addresses have been reassigned.

Example

The following example clears DHCPv6 snooping entries for a specific IPv6 address on VLAN corp:

clear ip-security ipv6 dhcp-snooping entries vlan corp ipv6address 2001:db8::1

The following example clears all DHCPv6 snooping entries on ports 1-5:

clear ip-security ipv6 dhcp-snooping entries vlan corp ports 1-5

History

This command was first available in version 34.1.1.

Platform Availability

All platforms.