Step 1
|
ping
mpls
pseudowire
destination-address
vc-id
[segment
segment-number]
Where:
destination-address
is the address of the S-PE router, which is the end of the segment from the direction of the source.
vc-id
is the VC ID of the segment from the source to the next PE router.
segment
segment-number
is
optional
and
specifies
the
segment
you
want
to
ping.
The following examples use the topology shown in the second figure above :
ping
mpls
pseudowire
<addr-of-S-PE1> <vc-id
between
T-PE1
and
S-PE1>
ping
mpls
pseudowire
<addr-of-S-PE1> <vc-id
between
T-PE1
and
S-PE1>
segment
2
Example:
|
Step 2
|
trace
mpls
pseudowire
destination-address
vc-id
segment
segment-number
segment-number
Where:
destination-address
is
the
address
of
the
next
S-PE
router
from
the
original
of
the
trace.
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 :
trace
mpls
pseudowire
<addr-of-S-PE1> <vc-id
between
T-PE1
and
S-PE1>
segment
2
This example performs a trace from T-PE1 to S-PE2.
trace
mpls
pseudowire
<addr-of-S-PE1> <vc-id
between
T-PE1
and
S-PE1>
segment
2
4
The following command performs a trace operation on S-PE router 10.10.10.9, on segment 1 and then on segment 2:
Example:
router# trace mpls pseudowire 10.10.10.9 220 segment 1
Tracing MS-PW segments within range [1-1] peer address 10.10.10.9 and timeout 2 seconds
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'I' - unknown upstream index,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
L 1 10.10.9.9 0 ms [Labels: 18 Exp: 0]
local 10.10.10.22 remote 10.10.10.9 vc id 220
router# trace mpls pseudowire 10.10.10.9 220 segment 2
Tracing MS-PW segments within range [1-2] peer address 10.10.10.9 and timeout 2 seconds
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'I' - unknown upstream index,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
L 1 10.10.9.9 4 ms [Labels: 18 Exp: 0]
local 10.10.10.22 remote 10.10.10.9 vc id 220
! 2 10.10.3.3 4 ms [Labels: 16 Exp: 0]
local 10.10.10.9 remote 10.10.10.3 vc id 220
|