Use this command to reset the timeout period for aging learned MAC entries to the default value of 300 seconds, or to clear MAC addresses out of the filtering database(s).
all | Clear all MAC address entries. This will even clear permanent entries. |
address address | MAC address to clear (ex. 00-01-F4-56-78-90); if not specified, clear command shall be scoped to all MAC address. |
fid fid | Filtering database id to clear; if not specified, clear command shall be scoped to all filtering database ids. |
vlan-id vlan-id | Specify a VLAN ID from which to clear the MAC address for static multicast entries only. |
port-string port-string | Single port to clear (ex. ge.1.1); if not specified, clear command shall be scoped to all ports. |
type {learned | mgmt} | Status type to clear; if not specified, clear command shall be scoped to all 'learned' and 'mgmt' entries where mgmt refers to all statically entered MAC addresses. |
agetime | (Optional) Clear timeout period to default value of 300 seconds. |
unicast-as- multicast | (Optional) The layer 2 lookup to attempt to match the unlearned destination MAC address against the static multicast MAC entries cleared. |
None.
None, except those noted above.
All command modes.
This example shows how to clear the MAC timeout period:
System(rw)->clear mac agetime
This example shows how to clear all the MAC addresses associated with port ge.1.3:
System(rw)->clear mac port-string ge.1.3