The L2VPN Multisegment Pseudowires feature enables you to configure two or more Layer 2 pseudowire segments that function as a single pseudowire. The L2VPN Multisegment Pseudowires feature span multiple cores or autonomous systems of the same or different carrier networks.
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see
Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for L2VPN Multisegment Pseudowires
Before configuring this feature, see the following documents:
Any Transport over MPLS
L2VPN Pseudowire Switching
MPLS LSP Ping/Traceroute for LDP/TE, and LSP Ping for VCCV
An L2VPN pseudowire (PW) is a tunnel established between two provider edge (PE) routers across the core carrying the Layer 2 payload encapsulated as MPLS data, as shown in the figure below. This helps carriers migrate from traditional Layer 2 networks such as Frame Relay and ATM to an MPLS core. In the L2VPN pseudowire shown in the figure, the PWs between two PE routers are located within the same autonomous system. Routers PE1 and PE2 are called terminating PE routers (T-PEs). Attachment circuits are bounded to the PW on these PE routers.
L2VPN Multisegment Pseudowire Defined
An L2VPN multisegment pseudowire (MS-PW) is a set of two or more PW segments that function as a single PW. It is also known as switched PW. MS-PWs span multiple cores or autonomous systems of the same or different carrier networks. A L2VPN MS-PW can include up to 254 PW segments.
The figure below is an example of a Multisegment Pseudowire topology.
The end routers are called terminating PE routers (T-PEs), and the switching routers are called S-PE routers. The S-PE router terminates the tunnels of the preceding and succeeding PW segments in an MS-PW. The S-PE router can switch the control and data planes of the preceding and succeeding PW segments of the MS-PW. An MS-PW is declared to be up when all the single-segment PWs are up. For more information, see the
L2VPN Pseudowire Switching document.
Specify the IP address and the VC ID of the peer router. Also specify the pseudowire class to use for the emulated VC.
Note
Only two
neighborcommands are allowed for each
l2vfipoint-to-point command.
Configuring L2VPN Multisegment Pseudowires using the commands associated with the L2VPN Protocol-Based CLIs feature
Perform this task on the S-PE routers to create L2VPN multisegment pseudowires.
SUMMARY STEPS
1.enable
2.configureterminal
3.mplslabelprotocolldp
4.mplsldprouter-idinterfaceforce
5.interfacepseudowirenumber
6.encapsulationmpls
7.switchingtlv
8.neighborpeer-address vcid-value
9.exit
10.l2vpnxconnectcontextcontext-name
11.descriptionstring
12.memberip-addressvcidencapsulationmpls
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Device> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Device# configure terminal
Enters global configuration mode.
Step 3
mplslabelprotocolldp
Example:
Device(config)# mpls label protocol ldp
Configures the use of Label Distribution Protocol (LDP) on all interfaces.
Step 4
mplsldprouter-idinterfaceforce
Example:
Device(config)# mpls ldp router-id loopback0 force
Specifies the preferred interface for determining the LDP router ID.
Step 5
interfacepseudowirenumber
Example:
Device(config)# interface pseudowire 1
Establishes an interface pseudowire with a value that you specify, and enters pseudowire configuration mode.
Step 6
encapsulationmpls
Example:
Device(config-pw)# encapsulation mpls
Specifies the tunneling encapsulation.
For MPLS L2VPNs, the encapsulation type ismpls.
Step 7
switchingtlv
Example:
Device(config-pw)# switching tlv
(Optional) Enables the advertisement of the switching point type-length variable (TLV) in the label binding.
This command is enabled by default.
Step 8
neighborpeer-address vcid-value
Example:
Router(config-pw)# neighbor 10.0.0.1 123
Specifies the peer IP address and virtual circuit (VC) ID value of a Layer 2 VPN (L2VPN) pseudowire.
Step 9
exit
Example:
Device(config-pw)# exit
Exits pseudowire configuration mode.
Step 10
l2vpnxconnectcontextcontext-name
Example:
Device(config)# l2vpn xconnect context con1
Creates a Layer 2 VPN (L2VPN) cross connect context and enters xconnect configuration mode.
Step 11
descriptionstring
Example:
Device(config-xconnect)# description segment1
Provides a description of the switching provider edge router for a multisegment pseudowire.
Step 12
memberip-addressvcidencapsulationmpls
Example:
Device(config-xconnect)# member 10.10.10.10 1 encapsulation mpls
Specifies the devices that form a point-to-point Layer 2 VPN (L2VPN) virtual forwarding interface (VFI) connection.
Note
Only two
membercommands are allowed for each
l2vpnxconnectcontext command.
Displaying Information About the L2VPN Multisegment Pseudowires
SUMMARY STEPS
1.showmplsl2transportbinding
2.showmplsl2transportvcdetail
DETAILED STEPS
Step 1
showmplsl2transportbinding
Use the
showmplsl2transportbinding command to display information about the pseudowire switching point, as shown in bold in the output. (In the following examples PE1 and PE4 are the T-PE routers.)
Example:
Router# show mpls l2transport binding
Destination Address: 10.1.1.1, VC ID: 102
Local Label: 17
Cbit: 1, VC Type: FastEthernet, GroupID: 0
MTU: 1500, Interface Desc: n/a
VCCV: CC Type: CW [1], RA [2], TTL [3]
CV Type: LSPV [2]
Remote Label: 16
Cbit: 1, VC Type: FastEthernet, GroupID: 0
MTU: 1500, Interface Desc: n/a
VCCV: CC Type: CW [1], RA [2], TTL [3]
CV Type: LSPV [2]
PW Switching Point:
Vcid local IP addr remote IP addr Description
101 10.11.11.11 10.20.20.20 PW Switching Point PE3
100 10.20.20.20 10.11.11.11 PW Switching Point PE2
Step 2
showmplsl2transportvcdetail
Use the
showmplsl2transportvcdetail command to display status of the pseudowire switching point. In the following example, the output (shown in bold) displays the segment that is the source of the fault of the multisegment pseudowire:
Example:
Router# show mpls l2transport vc detail
Local interface: Se3/0/0 up, line protocol up, HDLC up
Destination address: 12.1.1.1, VC ID: 100, VC status: down
Output interface: Se2/0, imposed label stack {23}
Preferred path: not configured
Default path: active
Next hop: point2point
Create time: 00:03:02, last status change time: 00:01:41
Signaling protocol: LDP, peer 10.1.1.1:0 up
Targeted Hello: 10.1.1.4(LDP Id) -> 10.1.1.1, LDP is UP
Status TLV support (local/remote) : enabled/supported
LDP route watch : enabled
Label/status state machine : established, LruRrd
Last local dataplane status rcvd: No fault
Last local SSS circuit status rcvd: No fault
Last local SSS circuit status sent: DOWN(PW-tx-fault)
Last local LDP TLV status sent: No fault
Last remote LDP TLV status rcvd: DOWN(PW-tx-fault)
PW Switching Point: Fault type Vcid local IP addr remote IP addr Description PW-tx-fault 101 10.1.1.1 10.1.1.1 S-PE2
Last remote LDP ADJ status rcvd: No fault
MPLS VC labels: local 19, remote 23
Group ID: local 0, remote 0
MTU: local 1500, remote 1500
Remote interface description:
Sequencing: receive disabled, send disabled
VC statistics:
packet totals: receive 16, send 27
byte totals: receive 2506, send 3098
packet drops: receive 0, seq error 0, send 0
Displaying Information About the L2VPN Multisegment Pseudowires using the commands associated with the L2VPN Protocol-Based CLIs feature
SUMMARY STEPS
1.showl2vpnatombinding
2.showl2vpnatomvcdetail
DETAILED STEPS
Step 1
showl2vpnatombinding
Use the
showl2vpnatombinding command to display information about the pseudowire switching point, as shown in bold in the output. (In the following examples PE1 and PE4 are the T-PE routers.)
Example:
Device# show l2vpn atom binding
Destination Address: 10.1.1.1, VC ID: 102
Local Label: 17
Cbit: 1, VC Type: FastEthernet, GroupID: 0
MTU: 1500, Interface Desc: n/a
VCCV: CC Type: CW [1], RA [2], TTL [3]
CV Type: LSPV [2]
Remote Label: 16
Cbit: 1, VC Type: FastEthernet, GroupID: 0
MTU: 1500, Interface Desc: n/a
VCCV: CC Type: CW [1], RA [2], TTL [3]
CV Type: LSPV [2]
PW Switching Point:
Vcid local IP addr remote IP addr Description
101 10.11.11.11 10.20.20.20 PW Switching Point PE3
100 10.20.20.20 10.11.11.11 PW Switching Point PE2
Step 2
showl2vpnatomvcdetail
Use the
showl2vpnatomvcdetail command to display status of the pseudowire switching point. In the following example, the output (shown in bold) displays the segment that is the source of the fault of the multisegment pseudowire:
Example:
Device# show l2vpn atom vc detail
Local interface: Se3/0/0 up, line protocol up, HDLC up
Destination address: 12.1.1.1, VC ID: 100, VC status: down
Output interface: Se2/0, imposed label stack {23}
Preferred path: not configured
Default path: active
Next hop: point2point
Create time: 00:03:02, last status change time: 00:01:41
Signaling protocol: LDP, peer 10.1.1.1:0 up
Targeted Hello: 10.1.1.4(LDP Id) -> 10.1.1.1, LDP is UP
Status TLV support (local/remote) : enabled/supported
LDP route watch : enabled
Label/status state machine : established, LruRrd
Last local dataplane status rcvd: No fault
Last local SSS circuit status rcvd: No fault
Last local SSS circuit status sent: DOWN(PW-tx-fault)
Last local LDP TLV status sent: No fault
Last remote LDP TLV status rcvd: DOWN(PW-tx-fault)
PW Switching Point: Fault type Vcid local IP addr remote IP addr Description PW-tx-fault 101 10.1.1.1 10.1.1.1 S-PE2
Last remote LDP ADJ status rcvd: No fault
MPLS VC labels: local 19, remote 23
Group ID: local 0, remote 0
MTU: local 1500, remote 1500
Remote interface description:
Sequencing: receive disabled, send disabled
VC statistics:
packet totals: receive 16, send 27
byte totals: receive 2506, send 3098
packet drops: receive 0, seq error 0, send 0
Performing ping mpls and trace mpls Operations on the L2VPN Multisegment Pseudowires
You can use the
pingmpls andtracemplscommands to verify that all the segments of the MPLS multisegment pseudowire are operating.
You can use thepingmpls command to verify connectivity at the following pseudowire points:
From one end of the pseudowire to the other
From one of the pseudowires to a specific segment
The segment between two adjacent S-PE routers
You can use the
tracemplscommand to verify connectivity at the following pseudowire points:
vc-id is the VC ID of the segment from which the
trace command is issued.
segment-number indicates the segment upon which the trace operation will act. If you enter two segment numbers, the traceroute operation will perform a trace on that range of routers.
The following examples use the topology shown in the second figure above :
To perform a trace operation from T-PE1 to segment 2 of the multisegment pseudowire, enter the following command:
No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
--
Technical Assistance
Description
Link
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.
Feature Information for L2VPN Multisegment Pseudowires
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1 Feature Information for L2VPN Multisegment Pseudowires
Feature Name
Releases
Feature Information
MPLS OAM Support for Multisegment Pseudowires
Cisco IOS XE Release 2.3
Cisco IOS XE Release 3.5S
The L2VPN Multisegment Pseudowires feature enables you to configure two or more Layer 2 pseudowire segments that function as a single pseudowire. The L2VPN Multisegment Pseudowires feature span multiple cores or autonomous systems of the same or different carrier networks.
In isco IOS XE Release 2.3, this feature was introduced and implemented on the Cisco ASR 1000 Series Routers.
In Cisco IOS XE Release 3.5S, support was added for the Cisco ASR 903 Router.
The following commands were introduced or modified:
description (l2 vfi),
pingmpls,
showmplsl2transportbinding,
showmplsl2transportvc,
switchingtlv,
tracempls.