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 mac-vrf forwarding mac-table

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear mac-vrf forwarding mac-table
<address>
<instance routing instance>
<interface interface name>
<isid isis id>
<persistent-learning>
<vlan-id vlan id>
<vlan-name vlan name>

Description

Clear all learned media access control (MAC) addresses from the MAC-VRF type routing instances.

Options

none

Clear all learned MAC address entries from the device.

address (Optional) Clear the specified MAC address from the device.
instance routing instance (Optional) Clear MAC addresses from the specified MAC-VRF routing instance.
interface interface name (Optional) Clear the MAC table for the specified interface.
isid isis id (Optional) Clear MAC addresses learned on a specified IS-IS ID. Range: (256..16777215).
persistent-learning (Optional) Clear persistent MAC entries.
vlan-id VLAN ID (Optional) Clear MAC addresses learned on the specified VLAN id. Range: (0..4095).
vlan-name (all | VLAN Name) (Optional) Clear MAC addresses learned on the specified VLAN or all VLAN names.

Additional Information

On MX Series routers and the EX9200 line of switches, this command is an alias for the clear bridge evpn command.

On QFX Series switches, this command is an alias for the clear ethernet switching evpn command.

Required Privilege Level

clear

Release Information

Command introduced in Junos OS Release 20.4R1.

footer-navigation