![](http://pdfasset.owneriq.net/3/88/3884ec60-08cc-bac4-b176-2f6590d63c88/3884ec60-08cc-bac4-b176-2f6590d63c88-bg359.png)
Logging And Network Management Command Set
Managing Switch Network Addresses and Routes
Matrix NSA Series Configuration Guide 11-115
11.2.5.13 clear mac
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).
clear mac {[all] | [address address] [fid fid] | [vlan-id vlan-id] | [port-string
port-string] [type {learned | mgmt}]} | [agetime]
Syntax Description
Syntax Description
None.
Command Defaults
None, except those noted above.
Command Mode
Read-Write.
Examples
This example shows how to clear the MAC timeout period:
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. fe.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 Clear timeout period to default value of 300 seconds.
Matrix(rw)->clear mac agetime