mac-learning-priority

Syntax

Hierarchy Level

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.