Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear interfaces mac-database

Syntax

Description

Clear learned media access control (MAC) addresses from the hardware and MAC database for Gigabit Ethernet IQ2 interfaces or aggregated Ethernet interfaces. Static MAC addresses configured by the operator are not cleared.

Options

interface-name

Name of a physical or logical interface. When you clear a physical interface, all learned MAC addresses on all the logical interfaces under the physical interface are cleared.

aex

Name of aggregated Ethernet interface.

mac-address mac-address

(Optional) Clear only the specified MAC address.

Required Privilege Level

view

Output Fields

This command produces no output.

Sample Output

clear interfaces mac-database

Release Information

Command introduced in Junos OS Release 8.3.

Support for statement with the aex option introduced in Junos OS Release 15.1.