Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

layer2-control

Syntax

layer2-control {bpdu-block {interface interface-name;disable-timeout seconds;}mac-rewrite {interface interface-name {protocol (cdp | stp | vtp);}}nonstop-bridging;}

Hierarchy Level

[edit protocols]

Release Information

Statement introduced in Junos OS Release 8.4.

bpdu-block statement added in Junos OS Release 9.4.

Description

Configure Layer 2 control protocols to enable features such as Layer 2 protocol tunneling or nonstop bridging.

The remaining statements are described separately.

Note: For a detailed description of configuring the nonstop-bridging statement, see the Junos OS High Availability Configuration Guide. When this statement is configured on routing platforms with two Routing Engines, a master 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.

Published: 2013-04-01