Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


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


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.