traceroute mpls segment-routing ospf
Syntax
traceroute mpls segment-routing ospf fec algorithm algorithm-id <destination ip-address> <detail> <exp exp> <fanout fanout-number> <logical-system logical-system-name> <no-resolve> <paths maximum-paths> <pipe-mode> <retries retries-number> <routing-instance routing-instance-name> <source ip-address> <ttl value> <update> <wait seconds>
Description
Trace route to a remote host for
a segment routing label-switched path added by the ISIS protocol.
Use traceroute mpls segment-routing isisp
as a debugging
tool to locate MPLS label-switched path forwarding issues in a network.
(Currently supported for IPv4 packets only.)
Options
algorithm algorithm-id | (Optional) Specify the flexible algorithm identifier. The range of values is
0 through 255 . The default value is
0 which means no algorithm is configured. The
algorithm-id in conjunction with the prefix is used to distinguish
labelled SR paths. |
fec |
Specify the IP address and optional prefix of the forwarding equivalence class (FEC). |
destination ip-address |
(Optional) Specify the destination address to use when sending probes.
|
detail |
(Optional) Display detailed output. |
exp exp |
(Optional) Specify the class-of-service to use when sending probes.
|
fanout fanout-number |
(Optional) Specify the maximum number of nexthops to search per node.
|
logical-system |
(Optional) Specify the name of the logical system for the traceroute attempt. |
no-resolve |
(Optional) Specify not to resolve the hostname that corresponds to the IP address. |
paths maximum-paths |
(Optional) Specify the maximum number of paths to search.
|
retries retries-number |
(Optional) Specify the number of times to resend probe values.
|
routing-instance routing-instance-name |
(Optional) Specify the name of the routing instance for the traceroute attempt. |
source source-address |
(Optional) Specify the source address of the outgoing traceroute packets. |
ttl value |
(Optional) Specify the maximum time-to-live value to include in the traceroute request, in seconds.
|
wait seconds |
(Optional) Specify the number of seconds to wait before resending a probe.
|
Required Privilege Level
network
Output Fields
Table 1 describes the output fields for the traceroute mpls segment-routing
isis fec
command and the traceroute
mpls segment-routing isis fec detail
commands.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
Level of Output |
---|---|---|
Probe options |
Probe options specified in the |
all levels |
ttl |
Time to live value of the labeled packet. |
none specified |
Label |
Outgoing label used for forwarding the packet along the label-switched paths. |
none specified |
Protocol |
Signaling protocol used. For this command, it is LDP. |
none specified |
Address |
Address of the next hop. |
none specified |
Previous Hop |
Address of the previous hop. Previous hop address of the first hop is null. |
none specified |
Probe status |
Forwarding status from the first hop to the last-hop label-switching router (egress point in the label-switched paths). |
none specified |
Hop |
Address of the hops in the label-switched path from the first hop to the last hop. Depth indicates the level of the hop. |
detail |
Parent |
Address of the previous hop. Parent value for the first hop is null. |
detail |
Return Code |
Return code for reporting the result of processing the echo request by the receiver. |
detail |
Response time |
Time for the echo request to reach the receiver. |
detail |
Multipath type |
Labels or addresses used by the specified multipath type. If multipaths are not used, the value is none. |
detail |
Label Stack |
Label stack used to forward the packet. |
detail |
Sample Output
- traceroute mpls segment-routing ospf
- traceroute mpls segment-routing ospf (Labelled OSPF flexible-algorithm IPv4 traceroute)
traceroute mpls segment-routing ospf
user@router> traceroute mpls ospf 4.4.4.4
Probe options: ttl 64, retries 3, wait 10, paths 16, exp 7, fanout 16
ttl Label Protocol Address Previous Hop Probe Status
1 402006 OSPF 12.1.1.2 (null) Success
FEC-Stack-Sent: OSP
ttl Label Protocol Address Previous Hop Probe Status
2 402006 OSPF 23.1.1.2 12.1.1.2 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
3 402006 OSPF 34.1.1.2 23.1.1.2 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
4 402006 OSPF 45.1.1.2 34.1.1.2 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
5 3 OSPF 56.1.1.2 45.1.1.2 Egress
FEC-Stack-Sent: OSPF
Path 1 via ge-0/0/0.0 destination 127.0.0.64
ttl Label Protocol Address Previous Hop Probe Status
3 402006 OSPF 34.2.1.2 23.1.1.2 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
4 402006 OSPF 45.1.1.2 34.2.1.2 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
5 3 OSPF 56.1.1.2 45.1.1.2 Egress
FEC-Stack-Sent: OSPF
Path 2 via ge-0/0/0.0 destination 127.0.0.65
ttl Label Protocol Address Previous Hop Probe Status
3 402006 OSPF 34.5.1.2 23.1.1.2 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
4 402006 OSPF 45.2.1.2 34.5.1.2 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
5 3 OSPF 56.1.1.2 45.2.1.2 Egress
FEC-Stack-Sent: OSPF
Path 3 via ge-0/0/0.0 destination 127.0.0.69
traceroute mpls segment-routing ospf (Labelled OSPF flexible-algorithm IPv4 traceroute)
user@router> traceroute mpls segment-routing ospf 10.4.4.4 algorithm 140
Probe options: ttl 64, retries 3, wait 10, paths 16, exp 7, fanout 16
ttl Label Protocol Address Previous Hop Probe Status
1 401306 OSPF 21.0.3.2 (null) Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
2 3 OSPF 20.34.67.6 21.0.3.2 Egress
FEC-Stack-Sent: OSPF
Path 1 via ge-0/0/3.0 destination 127.0.0.64
Release Information
Command introduced in Junos OS Release 19.1R1.
algorithm
option introduced in Junos OS Release 23.1R1 and Junos OS
Evolved Release 23.1R1.