Configuration Guide DHCPv6 Snooping Commands
15 DHCPv6 Snooping Commands
15.1 clear ipv6 dhcp snooping binding
Use this command to clear all the user information in the DHCPv6 Snooping binding database.
clear ipv6 dhcp snooping binding [ mac | vlan vlan-id | ipv6-address | interface interface-id]
Specifies the MAC address to be deleted.
Specifies the ID of the VLAN to be cleared.
Specifies the IPv6 address to be cleared.
Specifies the interface to be cleared.
This command is used to clear the generated user information in the DHCPv6 Snooping binding
database.
The following example clears all the user information in the DHCPv6 Snooping binding database.
Ruijie# clear ipv6 dhcp snooping binding
Ruijie# show ipv6 dhcp snooping binding
NO. MacAddress IPv6 Address Lease(sec) VLAN Interface
FilterType FilterStatus
--- ------------- ------------ --------- ---- --------------------
---------- ---------------------
Total number of bindings: 0
15.2 clear ipv6 dhcp snooping prefix
Use this command to clear all the user information in the DHCPv6 Snooping prefix list.