Use the following
show commands to verify the MPLS pseudowire
configuration:
- show
mpls
ldp
discovery
- show
cable
l2-vpn
xconnect
- show
xconnect
- show
mpls
l2transport
vc
To verify the LDP router ID and the status of the LDP discovery
process, use the
show
mpls
ldp
discovery
command
as
shown
in
the
following
example:
Router# show mpls ldp discovery
Local LDP Identifier:
10.10.1.1:0
Discovery Sources:
Targeted Hellos:
10.10.1.1 -> 10.76.1.1 (ldp): active/passive, xmit/recv
LDP Id: 10.76.1.1:0
To verify the mapping between the MPLS pseudowire and virtual circuits
for all cable modems, use the
show
cable
l2-vpn
xconnect
command as
shown
in
the
following
example:
Router# show cable l2-vpn xconnect mpls-vc-map
MAC Address Peer IP Address VCID CktID Cable Intf SID Customer
Name/VPNID
0000.396e.6a68 101.1.0.2 221 Bu254:221 Cable7/0/0 1 customer1
0014.f8c1.fd66 10.76.1.1 2004 Bu254:5121 Cable7/0/0 8
0019.474a.d566 10.76.1.1 2001 Bu254:5122 Cable7/0/0 4 0234560002
0019.474a.d42e 10.76.1.1 2002 Bu254:2003 Cable7/0/0 5 0234560003
To verify the mapping between the MPLS pseudowire and virtual circuits
for all cable modems (when pseudowire redundancy is not configured in Cisco IOS
Release 12.2(33)SCF and later releases), use the
show
cable
l2-vpn
xconnect
mpls-vc-map
command as
shown
in
the
following
example:
Router# show cable l2-vpn xconnect mpls-vc-map
MAC Address Peer IP Address VCID Type Prio CktID Cable Intf SID Customer
Name/VPNID
0025.2e2d.7252 10.76.2.1 400 Prim* Bu254:400 Cable8/0/3 1
0014.f8c1.fd46 10.2.3.4 1000 Prim* Bu254:1000 Cable8/0/0 1 2020
0014.f8c1.fd46 10.76.2.1 1800 Prim* Bu254:1800 Cable8/0/0 1 2021
To verify the mapping between the MPLS pseudowire and virtual circuits
for all cable modems (when pseudowire redundancy is configured in Cisco IOS
Release 12.2(33)SCF and later releases), use the
show
cable
l2-vpn
xconnect
mpls-vc-map
command as
shown
in
the
following
example:
Router# show cable l2-vpn xconnect mpls-vc-map
MAC Address Peer IP Address VCID Type Prio CktID Cable Intf SID Customer
Name/VPNID
0025.2e2d.7252 10.76.2.1 400 Prim* Bu254:400 Cable8/0/3 1
10.76.2.1 600 Bkup 4 Bu254:600
0014.f8c1.fd46 10.2.3.4 1000 Prim* Bu254:1000 Cable8/0/0 1 2020
10.76.2.1 45454 Bkup 1 Bu254:45454
0014.f8c1.fd46 10.76.2.1 1800 Prim* Bu254:1800 Cable8/0/0 1 2021
10.2.3.4 55 Bkup 1 Bu254:55
To
obtain
the state of all virtual circuits associated with an MPLS
pseudowire, use the show cable l2-vpn xconnect command as
shown
in
the
following
example:
Router# show cable l2-vpn xconnect mpls-vc-map state
Peer IP Address VCID STATE MAC Address Customer Name/VPNID STATE
101.1.0.2 22 DOWN 0000.396e.6a68 customer1 UP
10.76.1.1 2004 UP 0014.f8c1.fd66 UP
10.76.1.1 2001 UP 0019.474a.d566 0234560002 UP
10.76.1.1 2002 UP 0019.474a.d42e 0234560003 UP
To
obtain
the state of all virtual circuits associated with an MPLS
pseudowire (when pseudowire redundancy is not configured in Cisco IOS Release
12.2(33)SCF and later releases), use the
show
cable
l2-vpn
xconnect
mpls-vc-map
state
command as
shown
in
the
following
example:
Router# show cable l2-vpn xconnect mpls-vc-map state
MAC Address Peer IP Address VCID Type Prio State Customer Name/VPNID State
0025.2e2d.7252 10.76.2.1 400 Prim* UP UP
0014.f8c1.fd46 10.2.3.4 1000 Prim* UP 2020 UP
0014.f8c1.fd46 10.76.2.1 1800 Prim* UP 2021 UP
To
obtain
the state of all virtual circuits associated with an MPLS
pseudowire (when pseudowire redundancy is configured in Cisco IOS Release
12.2(33)SCF and later releases), use the
show
cable
l2-vpn
xconnect
mpls-vc-map
state
command as
shown
in
the
following
example:
Router# show cable l2-vpn xconnect mpls-vc-map state
MAC Address Peer IP Address VCID Type Prio State Customer Name/VPNID State
0025.2e2d.7252 10.76.2.1 400 Prim* UP UP
10.76.2.1 600 Bkup 4 UP STDBY
0014.f8c1.fd46 10.2.3.4 1000 Prim* UP 2020 UP
10.76.2.1 45454 Bkup 1 UP 2020 STDBY
0014.f8c1.fd46 10.76.2.1 1800 Prim* UP 2021 UP
10.2.3.4 55 Bkup 1 DOWN 2021 STDBY
To verify information about the MPLS pseudowire mapping for a particular
MAC address of a CM (when pseudowire redundancy is configured in Cisco IOS
Release 12.2(33)SCF and later releases), use the
show
cable
l2-vpn
xconnect
mpls-vc-map
command as
shown
in
the
following
example:
Router# show cable l2-vpn xconnect mpls-vc-map
0025.2e2d.7252
MAC Address Peer IP Address VCID Type Prio CktID Cable Intf SID Customer
Name/VPNID
0025.2e2d.7252 10.76.2.1 400 Prim* Bu254:400 Cable8/0/3 1
10.76.2.1 600 Bkup 4 Bu254:600
To verify the detailed information about the MPLS pseudowire mapping for
a CM (when pseudowire redundancy is configured in Cisco IOS Release 12.2(33)SCF
and later releases), use the
show
mpls
l2-vpn
xconnect
mpls-vc-map
verbose
command as
shown
in
the
following
examples.
The following example shows the information for a modem for which
pseudowires were configured using backup peer command:
Router# show cable l2-vpn xconnect mpls-vc-map
0025.2e2d.7252 verbose
MAC Address : 0025.2e2d.7252
Customer Name :
Prim Sid : 1
Cable Interface : Cable8/0/3
MPLS-EXP : 0
PW TYPE : Ethernet
Backup enable delay : 0 seconds
Backup disable delay : 0 seconds
Primary peer
Peer IP Address (Active) : 10.76.2.1
XConnect VCID : 400
Circuit ID : Bu254:400
Local State : UP
Remote State : UP
Backup peers
Peer IP Address : 10.76.2.1
XConnect VCID : 600
Circuit ID : Bu254:600
Local State : STDBY
Remote State : UP
Priority : 4
Total US pkts : 0
Total US bytes : 0
Total US pkts discards : 0
Total US bytes discards : 0
Total DS pkts : 0
Total DS bytes : 0
Total DS pkts discards : 0
Total DS bytes discards : 0
The
following
example
shows
the
information
for
a
modem
for
which
pseudowires
were
created
using
the
modem
configuration
file:
Router# show cable l2-vpn xconnect mpls-vc-map
0014.f8c1.fd46 verbose
MAC Address : 0014.f8c1.fd46
Prim Sid : 3
Cable Interface : Cable8/0/0
L2VPNs provisioned : 1
DUT Control/CMIM : Disable/0x8000FFFF
VPN ID : 2020
L2VPN SAID : 12289
Upstream SFID Summary : 15
Downstream CFRID[SFID] Summary : Primary SF
CMIM : 0x60
PW TYPE : Ethernet
MPLS-EXP : 0
Backup enable delay : 3 seconds
Backup disable delay : 1 seconds
Primary peer
Peer IP Address (Active) : 10.2.3.4
XConnect VCID : 1000
Circuit ID : Bu254:1000
Local State : UP
Remote State : UP
Backup peers
Peer IP Address : 10.2.3.4
XConnect VCID : 21
Circuit ID : Bu254:21
Local State : STDBY
Remote State : DOWN
Priority : 2
Peer IP Address : 10.76.2.1
XConnect VCID : 1800
Circuit ID : Bu254:1800
Local State : STDBY
Remote State : DOWN
Priority : 5
Peer IP Address : 10.76.2.1
XConnect VCID : 45454
Circuit ID : Bu254:45454
Local State : STDBY
Remote State : DOWN
To verify information about all attachment circuits and pseudowires,
use the
show
xconnect command as
shown
in
the
following
example:
Router# show xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP ac Bu254:2001(DOCSIS) UP mpls 10.76.1.1:2001 UP
UP ac Bu254:2002(DOCSIS) UP mpls 10.76.1.1:2002 UP
UP ac Bu254:2004(DOCSIS) UP mpls 10.76.1.1:2004 UP
DN ac Bu254:22(DOCSIS) UP mpls 101.1.0.2:22 DN
To verify information about MPLS virtual circuits and static
pseudowires that have been enabled to route Layer 2 packets on a Cisco CMTS
router, use the
show
mpls
l2transport
vc
command as
shown
in
the
following
example:
Router# show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
Bu254 DOCSIS 2002 10.76.1.1 2002 UP
Bu254 DOCSIS 2003 10.76.1.1 2003 UP
Bu254 DOCSIS 2004 10.76.1.1 2004 DOWN
Bu254 DOCSIS 2017 10.76.1.1 2017 UP
Bu254 DOCSIS 2018 10.76.1.1 2018 UP
Bu254 DOCSIS 2019 10.76.1.1 2019 UP