Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show mac-rewrite interface

date_range 21-Nov-24

Syntax

content_copy zoom_out_map
show mac-rewrite interface
<brief | detail>
<interface-name>

Description

Display Layer 2 protocol tunneling (L2PT) information.

Note:

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.

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

content_copy zoom_out_map
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)

content_copy zoom_out_map
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.

footer-navigation