clear mac-address-table

To clear the dynamically learnt MAC Addresses, use the command clear mac-address-table in Global Configuration Mode.

clear mac-address-table

clear mac-address-table { {dynamic } { [interface } { {port-channel } { <port-channel-id (1-65535)> } { | {Extreme-Ethernet } { <interface-id> } { | gigabitethernet } { <interface-id>} } { [vlan } { <vlan_vfi_id>] } { | remote} }

Parameters

Parameter Type Description
dynamic   Enter to clear dynamically learnt MAC Addresses.
interface   Enter to clear the FDB entries for the specified type of interface. The interface can beExtreme-Ethernet and Gigabitethernet.
port-channel   Enter to clear the FDB entries for the specified port channel interface. Port-Channel are logical interfaces that represents an aggregator which contains several ports aggregated together.
<port-channel-id (1-65535)> Integer Enter a value to specify a port channel interface. This value ranges from 1 to 65535.
Extreme-Ethernet   Enter to configure the Extreme-Ethernet type of interface to be cleared. Extreme Ethernet is a version of Ethernet that supports data transfer up to 10 Gigabits per second and only full duplex links
<interface-id>   Enter to configure a specific slot number / port number to be cleared. The format is <0>/<1-28> without spaces between Slot Number/Port Number. For example, 0/1.
Gigabitethernet   Enter to configure gigabitetethernet type of interface to be cleared. Gigabitethernet is a version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
<interface-id>   Enter to configure a specific slot number / port number to be cleared. The format is <0>/<1-28> without spaces between Slot Number/Port Number. For example, 0/1.
vlan   Enter to clear the FDB entries for the specified VLAN / VFI ID.
<vlan_vfi_id> Integer Enter a value for the interface identifier of the specified type of interface. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash, for interface type other than internal-lan and port-channel. Only i-lan ID is provided, for interface types i-lan.
  • <vlan –id> - VLAN ID is a unique value that represents the specific VLAN. This value ranges from 1 to 4094.
  • <vfi-id>. - VFI ID is a VLAN created in the system which contains Pseudo wires and Attachment Circuits as member ports . This creates a logical LAN for the VPLS service. This value ranges from 4096 to 65535.
Note:

The VLAN ID 4095 is reserved and may be used to indicate a wildcard match for the VID in management operations or Filtering Database entries

Note:

VFI IDs 4096 and 4097 are reserved identifiers used in MPLS PW.

Note:

The theoretical maximum for the maximum number of VFI is 65535 but the actual number of VFI supported is a sizing constant. Based on this, the maximum number of VFI ID accepted in the management interface is restricted. For example if 100 VFIs are supported, the maximum number of VFI supported will be restricted to maximum number of VLANs + 100. An error message is displayed for any value beyond this range

remote   Enter to clear all remote FDB entries.

Mode

Global Configuration Mode

Examples

iS5Comm(config)# clear mac-address-table dynamic