To configure the interface for a Layer 2 circuit neighbor, include the interface statement:
interface interface-name {
bandwidth (bandwidth | ctnumber bandwidth);
community community-name;
(control-word | no-control-word);
description text;
encapsulation-type type;
ignore-encapsulation-mismatch;
ignore-mtu-mismatch;
mtu mtu-number;
no-revert;
protect-interface interface-name;
pseudowire-status-tlv;
psn-tunnel-endpoint address;
virtual-circuit-id identifier;
}
You can include this statement at the following hierarchy levels:
•
[edit protocols l2circuit neighbor address]
Related
Documentation
Configuring Interfaces for Layer 2 Circuits Overview on page 774•
• Configuring a Community for the Layer 2 Circuit on page 775
• Configuring the Control Word for Layer 2 Circuits on page 775
• Configuring the Encapsulation Type for the Layer 2 Circuit Neighbor Interface on page 777
• Configuring the Protect Interface on page 778
• Configuring the Virtual Circuit ID on page 778
Configuring a Community for the Layer 2 Circuit
To configure a community for a Layer 2 circuit, include the community statement:
community community-name;
You can include this statement at the following hierarchy levels:
•
[edit protocols l2circuit neighbor address interface interface-name]
Related
Documentation
Configuring Interfaces for Layer 2 Circuits Overview on page 774•
• Configuring Policies for Layer 2 Circuits
Configuring the Control Word for Layer 2 Circuits
To emulate the virtual circuit (VC) encapsulation for Layer 2 circuits, a 4-byte control
word is added between the Layer 2 protocol data unit (PDU) being transported and the
775Copyright © 2017, Juniper Networks, Inc.
Chapter 25: Configuring Layer 2 and Layer 3 Services