show mac-rewrite interface
Syntax
show mac-rewrite interface <brief | detail> <interface-name>
Description
Display Layer 2 protocol tunneling (L2PT) information.
The implementation of L2PT over VXLAN tunnels for EVPN-VXLAN networks doesn't do MAC rewrite operations for the protocol frame tunneling. To verify operation when you enable L2PT over VXLAN, use the show l2pt interface command instead of this command. See Layer 2 Protocol Tunneling over VXLAN Tunnels in EVPN-VXLAN Bridged Overlay Networks for details.
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.
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
user@host> show mac-rewrite interface Tunnel dest mac : 01:00:0C:CD:CD:D0 Interface Protocols et-0/0/0 STP 8021X 8023AH ELMI LACP LLDP MMRP MVRP VTP CDP
show mac-rewrite interface (EX Series Switches)
user@switch> show mac-rewrite interface Interface Protocols ge-0/0/1 802.3AH LLDP STP
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.