Logging and Network Management Command Set
Managing Switch Network Addresses
11-42 Matrix E1 Series (1G58x-09 and 1H582-xx) Configuration Guide
11.2.3.8 clear mac
Use this command to clear dynamic MAC address information for the switch.
clear mac [address mac_address vlan_id | port port-string | vid vlan_id
port-string]
Syntax Description
Command Defaults
If no parameters are specified, all dynamic MAC address entries will be cleared.
Command Type
Switch command.
Command Mode
Read-Write.
Examples
This example shows how to clear all dynamic MAC address information:
address
mac_address
vlan_id
(Optional) Removes all dynamic MAC address entries
attached to the specified VLAN.
If you enter a multicast MAC address and ingress VLAN
pair, this command will clear the scoping of this pair to an
egress VLAN configured with the set mac multicast
command (Section 11.2.3.24).
port port-string (Optional) Removes all dynamic MAC address entries
attached to the specified port(s). For a detailed description
of possible port-string values, refer to Section 4.1.2.
vid vlan_id
port-string (Optional) Removes all dynamic MAC address entries
attached to the specified VLAN on the specified port(s).
Matrix>clear mac