Cisco Cisco Gigabit Ethernet Switch Module (CGESM) for HP Technical References

Page of 742
   
2-36
Cisco Gigabit Ethernet Switch Module for the HP p-Class BladeSystem Command Reference Guide
380265-002
Chapter 2      CGESM Switch Cisco IOS Commands
clear mac address-table
clear mac address-table
Use the clear mac address-table privileged EXEC command to delete from the MAC address table a 
specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a 
particular VLAN. This command also clears the MAC address notification global counters.
clear mac address-table {dynamic [address mac-addr | interface interface-id | vlan vlan-id] | 
notification}
Syntax Description
Defaults
No default is defined.
Command Modes
Privileged EXEC
Command History
Examples
This example shows how to remove a specific MAC address from the dynamic address table:
Switch# clear mac address-table dynamic address 0008.0070.0007
You can verify that the information was deleted by entering the show mac address-table privileged 
EXEC command.
Related Commands
dynamic
Delete all dynamic MAC addresses.
dynamic address 
mac-addr
(Optional) Delete the specified dynamic MAC address.
dynamic interface 
interface-id
(Optional) Delete all dynamic MAC addresses on the specified physical port 
or port channel.
dynamic vlan vlan-id
(Optional) Delete all dynamic MAC addresses for the specified VLANThe 
range is 1 to 4094.
notification
Clear the notifications in the history table and reset the counters.
Release
Modification
12.2(25)SE1
This command was introduced.
Command
Description
Enables the MAC address notification feature.
Displays the MAC address table static and dynamic entries.
Displays the MAC address notification settings for all 
interfaces or the specified interface.
Enables the Simple Network Management Protocol (SNMP) 
MAC address notification trap on a specific interface.