Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

clear interfaces mac-database

Syntax

clear interfaces mac-database interface-name

Release Information

Command introduced in Junos OS Release 8.3.

Description

For Gigabit Ethernet IQ2 interfaces, clear learned media access control (MAC) addresses from the hardware and MAC database. 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.

Required Privilege Level

view

List of Sample Output

clear interfaces mac-database

Output Fields

This command produces no output.

Sample Output

clear interfaces mac-database

user@host> clear interfaces mac-database ge-0/0/0.0

Published: 2013-01-30

Published: 2013-01-30