Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show mac-rewrite interface

Syntax

Description

Display Layer 2 protocol tunneling (L2PT) information.

Options

brief | detail

(Optional) Display the specified level of output.

interface interface-name

(Optional) Display L2PT information for the specified interface.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show mac-rewrite interface command. Output fields are listed in the approximate order in which they appear.

Table 1: show mac-rewrite interface Output Fields

Field Name

Field Description

Level of Output

Interface

Name of the interface on which L2PT is configured.

brief detail

Tunnel destination MAC address Name of the configured Layer 2 multicast MAC address

briefdetail

Protocols

Layer 2 protocols being tunneled on this interface.

All devices that support L2PT can tunnel the following protocols: Cisco Discovery Protocol (CDP), Spanning Tree Protocol (STP), or VLAN Trunk Protocol (VTP).

The following Layer 2 protocols can also be tunneled on some devices that support L2PT: E-LMI, GVRP, IEEE 802.1X, IEEE 802.3AH, LACP, LLDP, MMRP, MVRP, PVSTP+, UDLD, or VSTP. See protocol for more information on the supported protocols for tunneling on different devices.

brief detail

Sample Output

show mac-rewrite interface

show mac-rewrite interface (EX Series Switches)

Release Information

Command introduced in Junos OS Release 9.1.

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

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