layer2-control
Syntax
layer2-control { bpdu-block { disable-timeout seconds; interface interface-name; } mac-rewrite { interface interface-name { enable-all-ifl; protocol protocol-name; } tunnel-destination-mac <destination mac address>; }nonstop-bridging; traceoptions { file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>; flag flag <disable>; } }
Hierarchy Level
[edit protocols]
Description
Configure Layer 2 control protocols to enable features such as Layer 2 protocol tunneling or nonstop bridging.
You can configure destination MAC address using tunnel-destination-mac
<destination mac address>
.
The remaining statements are explained separately. See CLI Explorer.
For a detailed description of configuring the nonstop-bridging
statement, see the Junos OS High Availability User Guide. When you configure this
statement on routing platforms with two Routing Engines, a primary Routing
Engine switches over gracefully to a backup Routing Engine and preserves Layer 2
Control Protocol (L2CP) information.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.4.
bpdu-block
statement added in Junos OS Release 9.4.
enable-all-if
statement added in Junos OS Release 13.3.
Statement introduced in Junos OS Release 14.1X53-D10 for EX4300 switches.
tunnel-destination-mac
statement added in Junos OS Evolved Release
21.3R1.