Step 1 |
enable
Enables
privileged EXEC mode.
|
Step 2 |
show mpls ldp
bindings [ip-address |
mask] [detail ]
Displays the
total counts of advertised-to and remote-binding peers in IP address sort
order, with remote bindings in tabular format.
Device# show mpls ldp bindings 172.16.0.0/32 detail
lib entry: 172.16.0.0/32, rev 59, chkpt: none, elc
local binding: label: 20001 (owner LDP)
Advertised to:
1.1.1.1:0 3.3.3.3:0
remote binding: lsr: 1.1.1.1:0, label: 10003 checkpointed, elc
remote binding: lsr: 3.3.3.3:0, label: 30004 checkpointed, elc
|
Step 3 |
show mpls infrastructure
lfd lte [label-value]
Displays
information about the Label Forwarding Database (LFD).
Device# show mpls infrastructure lfd lte 7
7 [table 0]
ldm: No LDM, LTE Broker
flags: nsf (0x1)
plist: NONIP (0x7F45AAD23120) entropy
output chain:
label implicit-null()
entropy label indicator
|
Step 4 |
show mpls
forwarding-table
[label-value]
Displays the
MPLS packets that are forwarded with an entropy label indicator label (value of
7).
Device# show mpls forwarding-table 7
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched Interface
7 Pop Label entropy 7468 Exception
|
Step 5 |
ping mpls
ipv4 [ip-address |
mask]
entropy-label [label-value]
Displays the
MPLS label switched path (LSP) connectivity.
Device# ping mpls ipv4 172.16.0.0/32 entropy-label
Sending 5, 72-byte MPLS Echos to 172.16.0.0/32,
timeout is 2 seconds, send interval is 0 msec,
over default entropy label:
Type escape sequence to abort.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Total Time Elapsed 4 ms
Device# ping mpls ipv4 172.16.0.0/32 entropy-label 20
Sending 5, 72-byte MPLS Echos to 172.16.0.0/32,
timeout is 2 seconds, send interval is 0 msec,
over entropy label 20:
Type escape sequence to abort.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Total Time Elapsed 4 ms
|
Step 6 |
traceroute
mpls [ip-address |
mask]
entropy-label [label-value] [verbose ]
Displays MPLS
label switched path (LSP) routes that the packets actually take when traveling
to their destinations.
Device# traceroute mpls ipv4 172.16.0.0/32 entropy-label verbose
Tracing MPLS Label Switched Path to 172.16.0.0/32, timeout is 2 seconds
over entropy, default start label
Type escape sequence to abort.
0 192.168.2.20 192.168.2.30 MRU 1500 [Labels: 20001/7/524288 Exp: 0/0/0]
L 1 192.168.2.20 192.168.22.30 MRU 1500 [Labels: 30004/7/524288 Exp: 0/0/0] 1 ms, ret
code 8
L 2 192.168.2.20 192.168.33.30 MRU 1500 [Labels: implicit-null/7/524288 Exp: 0/0/0] 2
ms, ret code 8
! 3 192.168.43.2 1 ms, ret code 3
Device# traceroute mpls ipv4 172.16.0.0/32 entropy-label 20 verbose
Tracing MPLS Label Switched Path to 172.16.0.0/32, timeout is 2 seconds
over entropy, start label 20
Type escape sequence to abort.
0 192.168.12.1 192.168.12.2 MRU 1500 [Labels: 20001/7/20 Exp: 0/0/0]
L 1 192.168.12.2 192.168.22.2 MRU 1500 [Labels: 30004/7/20 Exp: 0/0/0] 1 ms, ret code
8
L 2 192.168.23.2 192.168.42.2 MRU 1500 [Labels: implicit-null/7/20 Exp: 0/0/0] 1 ms,
ret code 8
! 3 192.168.43.2 1 ms, ret code 3
|
Step 7 |
traceroute mpls multipath [ip-address |
mask]
entropy-label [label-value] [verbose ]
Displays
multiple MPLS label switched path (LSP) routes from an egress device to an
ingress device.
Device#traceroute mpls multipath ipv4 172.16.0.0/32 entropy-label verbose
Starting LSP Multipath Traceroute for 172.16.0.0/32
over entropy, default start label
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,
'l' - Label switched with FEC change, 'd' - see DDMAP for return code,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
LL!
Path 0 found,
output interface Et0/0 nexthop 10.10.1.2
source 10.10.1.1 destination 127.0.0.0
0 10.10.1.1 10.10.1.2 MRU 1500 [Labels: 19/7/524288 Exp: 0/0/0] multipaths 0
L 1 10.10.1.2 10.10.2.2 MRU 1500 [Labels: 23/7/524289 Exp: 0/0/0] ret code 8 multipaths 2
L 2 10.10.2.2 10.10.5.2 MRU 1500 [Labels: implicit-null/7/524289 Exp: 0/0/0] ret code 8 multipaths 1
! 3 10.10.5.2, ret code 3 multipaths 0
L!
Path 1 found,
output interface Et0/0 nexthop 10.10.1.2
source 10.10.1.1 destination 127.0.0.0
0 10.10.1.1 10.10.1.2 MRU 1500 [Labels: 19/7/524288 Exp: 0/0/0] multipaths 0
L 1 10.10.1.2 10.10.3.2 MRU 1500 [Labels: 16/7/524288 Exp: 0/0/0] ret code 8 multipaths 2
L 2 10.10.3.2 10.10.8.2 MRU 1500 [Labels: implicit-null/7/524288 Exp: 0/0/0] ret code 8 multipaths 1
! 3 10.10.8.2, ret code 3 multipaths 0
Paths (found/broken/unexplored) (2/0/0)
Echo Request (sent/fail) (5/0)
Echo Reply (received/timeout) (5/0)
Echo Reply (received/timeout) (5/0)
Total Time Elapsed 18 ms
Device#traceroute mpls multipath ipv4 172.16.0.0/0 entropy-label 700 verbose
Starting LSP Multipath Traceroute for 172.16.0.0/32
over entropy, start label 700
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,
'l' - Label switched with FEC change, 'd' - see DDMAP for return code,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
LL!
Path 0 found,
output interface Et0/0 nexthop 10.10.1.2
source 10.10.1.1 destination 127.0.0.0
0 10.10.1.1 10.10.1.2 MRU 1500 [Labels: 19/7/700 Exp: 0/0/0] multipaths 0
L 1 10.10.1.2 10.10.2.2 MRU 1500 [Labels: 23/7/701 Exp: 0/0/0] ret code 8 multipaths 2
L 2 10.10.2.2 10.10.5.2 MRU 1500 [Labels: implicit-null/7/701 Exp: 0/0/0] ret code 8 multipaths 1
! 3 10.10.5.2, ret code 3 multipaths 0
L!
Path 1 found,
output interface Et0/0 nexthop 10.10.1.2
source 10.10.1.1 destination 127.0.0.0
0 10.10.1.1 10.10.1.2 MRU 1500 [Labels: 19/7/700 Exp: 0/0/0] multipaths 0
L 1 10.10.1.2 10.10.3.2 MRU 1500 [Labels: 16/7/700 Exp: 0/0/0] ret code 8 multipaths 2
L 2 10.10.3.2 10.10.8.2 MRU 1500 [Labels: implicit-null/7/700 Exp: 0/0/0] ret code 8 multipaths 1
! 3 10.10.8.2, ret code 3 multipaths 0
Paths (found/broken/unexplored) (2/0/0)
Echo Request (sent/fail) (5/0)
Echo Reply (received/timeout) (5/0)
Echo Reply (received/timeout) (5/0)
Total Time Elapsed 47 ms
|