clear ethernet-switching table
Syntax
Release Information
Command introduced in Junos OS Release 9.3 for EX Series switches.
Description
Clear learned entries, which are media access control (MAC) addresses, in the Ethernet switching table (also called the forwarding database table).
Options
- none
Clear learned entries in the Ethernet switching table.
- interface interface-name
(Optional) Clear all learned MAC addresses for the specified interface from the Ethernet switching table.
- mac mac-address
(Optional) Clear the specified learned MAC address from the Ethernet switching table.
- management-vlan
(Optional) Clear all MAC addresses learned for the management VLAN from the Ethernet switching table. Note that you do not specify a VLAN name because only one management VLAN exists.
- vlan vlan-name
(Optional) Clear all MAC addresses learned for the specified VLAN from the Ethernet switching table.
Required Privilege Level
view
Related Topics
List of Sample Output
clear ethernet-switching tableOutput Fields
This command produces no output.
Sample Output
clear ethernet-switching table
user@host> clear ethernet-switching table
