Implementing Point to Point Layer 2 Services
MPLS Transport Profile: Example
This section provides examples for:
•
•
Configuring Preferred Tunnel Path: Example
This sample configuration shows how to configure preferred tunnel path:
l2vpn
pw-class foo
encapsulation mpls
preferred-path interface tunnel-tp 100 fallback disable
commit
Configuring PW Status OAM: Example
This sample configuration shows how to configure PW status OAM functionality:
l2vpn
pw-oam refresh transmit 100
commit
Viewing Pseudowire Status: Example
show l2vpn xconnect
RP/0/RSP0/CPU0:router#
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
XConnect
Group
------------------------
MS-PW1
--------------------------------------------------------------------------------
show l2vpn xconnect detail
RP/0/RSP0/CPU0:router#
Group MS-PW1, XC ms-pw1, state is up; Interworking none
PW: neighbor 70.70.70.70, PW ID 100, state is up ( established )
Configuring Preferred Tunnel Path: Example
Configuring PW Status OAM: Example
show l2vpn xconnect
LU = Local Up, RU = Remote Up, CO = Connected
Segment 1
Name
ST
Description
-------------------------
ms-pw1
UP
70.70.70.70
show l2vpn xconnect detail
PW class not set
Encapsulation MPLS, protocol LDP
PW type Ethernet VLAN, control word enabled, interworking none
PW backup disable delay 0 sec
Sequencing not set
PW Status TLV in use
MPLS
Local
------------ ------------------------------ -----------------------------
Label
16004
Group ID
0x2000400
Interface
GigabitEthernet0/1/0/2.2
MTU
1500
Control word enabled
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
MPLS Transport Profile: Example
Segment 2
ST
Description
-------------------------
100
UP
90.90.90.90
Remote
16006
0x2000700
GigabitEthernet0/1/0/0.3
1500
enabled
ST
300
UP
189