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:
- To perform an end-to-end ping operation from T-PE1 to T-PE2, enter the following command.
destination-address is S-PE1 and
vc-idis the VC between T-PE1 and S-PE1.
ping
mpls
pseudowire
destination-address
vc-id
- To perform a ping operation from T-PE1 to segment 2, enter the following command. destination-address is S-PE1 and
vc-idis the VC between T-PE1 and S-PE1.
ping
mpls
pseudowire
destination-address
vc-id
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
origin
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:
- To perform a trace operation from T-PE1 to segment 2 of the multisegment pseudowire, enter the following command.
destination-address is S-PE1 and
vc-idis the VC between T-PE1 and S-PE1.
trace
mpls
pseudowire
destination-address
vc-id
segment
2
This example performs a trace from T-PE1 to S-PE2.
- To perform a trace operation on a range of segments, enter the following command. This example performs a trace from S-PE2 to T-PE2.
destination-address is S-PE1 and
vc-id
is the VC between T-PE1 and S-PE1.
trace
mpls
pseudowire
destination-address
vc-id
segment
2
4
The following commands perform trace operations on S-PE router 10.10.10.9, first on segment 1, then on segment 2.
Segment 1 trace:
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
Segment 2 trace:
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
|