Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

clear bridge mac-table

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear bridge mac-table
<bridge-domain (all | bridge-domain-name)>
<instance instance-name>
<interface interface-name>
<learning-vlan id (all-vlan | learning-vlan-id)>
<mac-address>

Description

(MX Series routers only) Clear learned Layer 2 address information from the media access control (MAC) address table.

Options

none

Clear all learned Layer 2 address information from the MAC address table.

bridge-domain (all | bridge-domain-name)

(Optional) Clear learned Layer 2 MAC addresses for all bridging domains or for the specified bridging domain.

instance instance-name

(Optional) Clear learned Layer 2 MAC addresses for the specified routing instance.

interface interface-name

(Optional) Clear learned Layer 2 MAC addresses for the specified interface.

learning-vlan-id (all-vlan | learning-vlan-id)

(Optional) Clears learned Layer 2 MAC addresses for all VLANs or for the specified VLAN.

mac-address

(Optional) Clear the specified learned Layer 2 address from the MAC address table.

Required Privilege Level

clear

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear bridge mac-table

content_copy zoom_out_map
user@host> clear bridge mac-table

Release Information

Command introduced in Junos OS Release 8.4.

footer-navigation