Configuring Static Layer 2 Circuits
You can configure static Layer 2 circuit pseudowires. Static
pseudowires are designed for networks that do not support LDP or do
not have LDP enabled. You configure a static pseudowire by configuring
static values for the in and out labels needed to enable a pseudowire
connection. The ignore-mtu-mismatch
, ignore-vlan-id
, and ignore-encapsulation-mismatch
statements are not
relevant for static pseudowire configurations since the peer router
cannot forward this information.
When you configure static pseudowires, you need to manually compare the encapsulation, TDM bit rate, and control word of the router with the remote peer router and ensure that they match, otherwise the static pseudowire might not work.
To configure static Layer 2 circuit pseudowires,
include the static
statement:
static { incoming-label label; outgoing-label label; send-oam; }
For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.
You can configure a static pseudowire as a standalone Layer 2
circuit or in conjunction with a redundant pseudowire. You configure
the static pseudowire statement at the [edit protocols l2circuit
neighbor address interface interface-name]
hierarchy level. You configure the redundant pseudowire at
the [edit protocols l2circuit neighbor address interface interface-name backup-neighbor neighbor]
hierarchy level. If you configure a static
pseudowire to a neighbor and also configure a redundant pseudowire,
the redundant pseudowire must also be static.
You can enable the ability to ping a static pseudowire by configuring
the send-oam
statement. This functionality applies to the
backup neighbor as well. Once you have configured this statement,
you can ping the static pseudowire by issuing the ping mpls l2circuit
command.
For information about how to configure redundant pseudowires, see Configuring Redundant Pseudowires for Layer 2 Circuits and VPLS.