How to delete MAC address entries from S series switches

0

You can run the following commands to delete MAC address entries from an S (except the S1700) or E series switch:
1. Run the undo mac-address command in the system view to delete all MAC address entries.
2. Run the undo mac-address vlan vlan-id command in the system view to delete MAC address entries in a specified VLAN.
3. Run the undo mac-address interface-type interface-number command in the system view to delete MAC address entries on a specified interface.

Other related questions:
How do I delete MAC address and ARP entries on S series switch
For S series switches (except S1700 switches), you can delete MAC address entries and ARP entries as follows: 1. Clear MAC address entries. In the system view, run the undo mac-address dynamic command to delete all dynamic MAC address entries. In the system view, run the undo mac-address static command to delete all static MAC address entries. 2. Clear ARP entries. In the user view, run the reset arp dynamic command to delete all dynamic ARP entries. In the system view, run the undo arp static ip-address command to delete all static ARP entries.

Delete entries in binding tables for IPSG (user-bind binding tables) on S series switches
Delete entries in a binding table for IPSG (user-bind binding table) on an S series switch (except the S1700) as follows: Binding entries include static entries and dynamic entries. Dynamic entries are automatically generated when DHCP snooping is enabled. To delete dynamic entries, disable DHCP snooping. Static entries are configured manually. To delete static entries, perform the following operations: 1. Run the display dhcp static user-bind all command to view all static binding entries on the switch. [HUAWEI] display dhcp static user-bind all 2. Delete binding entries as required. a. Delete the static binding entry of IP address 192.168.1.1. [HUAWEI] undo user-bind static ip-address 192.168.1.1 mac-address 0001-0001-0001 b. Delete the static binding entry of MAC address 0002-0002-0002. [HUAWEI]undo user-bind static mac-address 0002-0002-0002 c. Delete all static binding entries of GE0/0/1. [HUAWEI] undo user-bind static interface gigabitethernet 0/0/1 d. Delete all static binding entries in VLAN 10. [HUAWEI] undo user-bind static vlan 10 e. Delete all entries in the static binding table. [HUAWEI]undo user-bind static

How to check ARP and MAC address entries on S series switches
For S series switches (except the S1700), you can run the display mac-address command to check MAC address entries and run the display arp command to check ARP entries.

Delete static IP addresses from the global address pool on S series switch
On an S series switch, you run the undo static-bind [ ip-address ip-address | mac-address mac-address ] command to delete a static IP address from a global address pool. For example: - Delete a static IP address based on a specified IP address: [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] undo static-bind ip-address 10.10.10.10 - Delete a static IP address based on a specified MAC address: [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] undo static-bind mac-address dcd2-fc96-e4c0

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top