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

mac-learning-priority

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
mac-learning-priority value packet-action action;

Hierarchy Level

content_copy zoom_out_map
[edit switch-options]

Description

Configure MAC learning priority on the interfaces so that MAC addresses are always learnt on the high priority interface.

Options

value—Specify the MAC learning priority for the interface.

  • Range: 1 through 65535

  • Default: 4

action—Discard the packets and do not learn.

  • Action: discard

  • Default: Forward

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 22.4R1.

footer-navigation