Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

mac-rewrite

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.1.

enable-all-if statement added in Junos OS Release 13.3.

Support for PVSTP protocol introduced in Junos OS Release 13.3 for MX Series routers and EX9200 switches.

Statement introduced in Junos OS Release 14.1X53-D10 and 17.3R1 for EX4300 switches.

Statement introduced in Junos OS Release 15.1X53-D55 and 18.2R1 for EX2300 and EX3400 switches.

Statement introduced in Junos OS Release 17.4R1 for EX4600 switches.

Statement introduced in Junos OS Release 19.1R1 for QFX5200 switches.

Description

Enable rewriting of the MAC address for Layer 2 protocol tunneling. When a control packet for a supported protocol is received on a service provider edge port configured for Layer 2 protocol tunneling (L2PT), the multicast destination MAC address is rewritten with the predefined multicast tunneling MAC address of 01:00:0c:cd:cd:d0. The packet is transported across the provider network transparently to the other end of the tunnel, and the original multicast destination MAC address is restored when the packet is transmitted.

Refer to protocol for the list of protocols that can be configured for L2PT on different devices.

To see the protocols for which L2PT tunneling is enabled for an interface, enter the show mac-rewrite interface command.

On MX Series and ACX Series routers and EX9200 switches with L2PT configured, customer-facing ports should not receive packets with the L2PT MAC address as the destination address unless there is a network tolopogy or configuration error. Any such interface receiving an L2PT packet becomes “Disabled”, and must subsequently be re-enabled using the clear error mac-rewrite command.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

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