traceroute mpls segment-routing spring-te
Syntax
traceroute mpls segment-routing spring-te <egress-ip ( active | color | detail | exp | logical-system | no-resolve | retries | routing-instance | secondary | segment-list | skip-fec-validation | source | ttl | tunnel-source) > <label-stack ( detail | egress | labels | logical-system | nexthop-address | nexthop-interface | no-resolve) > <source-routing-path ( lsp-name | active | color | detail | egress-ip | exp | logical-system | no-resolve | retries | routing-instance | secondary | segment-list | skip-fec-validation | source | tunnel-source) >
Description
Trace route to a remote host for a segment routing
label-switched path added by segment routing traffic-engineered (SPRING-TE)
tunnel. Use traceroute mpls segment-routing spring-te as
a debugging tool to locate MPLS label-switched path forwarding issues
in a network.
Options
| egress-ip | Specify to trace to or install IP address to use when sending probes.
|
||||||||||||||||||||||||||||
| label-stack | Specify
the label stack for traceroute packets. This option works only if
you do a minimum configuration of
|
||||||||||||||||||||||||||||
| source-routing-path | Specify the trace source path routing to use when sending probes.
|
Additional Information
With segment-list option, valid tunnel-source (source protocol used to create tunnel) is only static.
segment-list option is not present when tunnel-source is BGP-SR-TE since BGP-SR-TE does not have named
segment list.
With source-routing-path name, valid tunnel-source are PCEP and static.
With tunnel-source as PCEP, secondary option is not valid as PCEP always sends one primary LSP.
FEC validation is performed for traceroute mpls segment-routing
spring-te by default.
FEC validation is supported when segment-routing traffic-engineering
(SR-TE) tunnel has IGP labels (OSPF and IS-IS) only. For all the other
labels (for example, static, ldp, rsvp, etc.), you can use skip-fec-validation option.
For a combination of egress-ip and color options, valid tunnel-source are static and BGP-SR-TE.
traceroute mpls segment-routing spring-te command
with label-stack option is supported in operational mode
only. It is not supported in configuration mode.
Parallel SID, binding SID, LDP over SR-TE is not supported.
In case of traceroute mpls segment-routing spring-te, the PFE supports only 16 ECMP paths. If there more than 16 ECMP
paths to the SR-TE LSP, traceroute is done up to a maximum of 16 hops.
Required Privilege Level
network
Output Fields
Table 1 describes the output fields for the traceroute mpls segment-routing
spring-te command. 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 spring-te
- traceroute mpls segment-routing spring-te (source-routing-path) (No FEC validation)
- traceroute mpls segment-routing spring-te (source-routing-path) (FEC validation)
- traceroute mpls segment-routing spring-te (egress-ip) (No FEC Validation)
- traceroute mpls segment-routing spring-te (egress-ip) (FEC Validation)
- traceroute mpls segment-routing spring-te (label-stack)
traceroute mpls segment-routing spring-te
user@host> traceroute mpls segment-routing spring-te Possible completions: source-routing-path Source Path routing to use when sending probes egress-ip To/Install IP address to use when sending probes label-stack Label stack for traceroute packets
traceroute mpls segment-routing spring-te (source-routing-path) (No FEC validation)
user@host> traceroute mpls segment-routing spring-te source-routing-path path_1 active skip-fec-validation
Probe options: retries 3, exp 7
ttl Label Protocol Address Previous Hop Probe Status
1 900041 Static 23.1.1.2 (null) Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
1 3 Static 34.1.1.2 23.1.1.2 Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
2 3 Static 45.1.1.2 34.1.1.2 Egress
FEC-Stack-Sent: SPRING-TE
Path 1 via ge-0/0/1.0 destination 127.0.0.64
ttl Label Protocol Address Previous Hop Probe Status
1 900041 Static 23.2.1.2 (null) Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
1 3 Static 34.4.1.2 23.2.1.2 Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
2 3 Static 45.1.1.2 34.4.1.2 Egress
FEC-Stack-Sent: SPRING-TE
Path 2 via ge-0/0/2.0 destination 127.0.1.64
traceroute mpls segment-routing spring-te (source-routing-path) (FEC validation)
user@host> traceroute mpls segment-routing spring-te source-routing-path path_1 active
Probe options: retries 3, exp 7
ttl Label Protocol Address Previous Hop Probe Status
1 800005 OSPF 82.2.3.3 (null) Success
FEC-Stack-Sent: OSPF,OSPF,OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 OSPF 81.3.5.5 82.2.3.3 Egress
FEC-Stack-Sent: OSPF,OSPF,OSPF FEC-Change-Recieved: POP-OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 OSPF 81.3.5.5 82.2.3.3 Success
FEC-Stack-Sent: OSPF,OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 OSPF 81.5.6.6 81.3.5.5 Egress
FEC-Stack-Sent: OSPF,OSPF FEC-Change-Recieved: POP-OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 OSPF 81.5.6.6 81.3.5.5 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
2 3 OSPF 81.6.7.7 81.5.6.6 Egress
FEC-Stack-Sent: OSPF
Path 1 via ge-0/0/6.0 destination 127.0.0.64
ttl Label Protocol Address Previous Hop Probe Status
1 800005 OSPF 81.2.4.4 (null) Success
FEC-Stack-Sent: OSPF,OSPF,OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 OSPF 81.4.5.5 81.2.4.4 Egress
FEC-Stack-Sent: OSPF,OSPF,OSPF FEC-Change-Recieved: POP-OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 OSPF 81.4.5.5 81.2.4.4 Success
FEC-Stack-Sent: OSPF,OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 OSPF 81.5.6.6 81.4.5.5 Egress
FEC-Stack-Sent: OSPF,OSPF FEC-Change-Recieved: POP-OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 OSPF 81.5.6.6 81.4.5.5 Success
FEC-Stack-Sent: OSPF
ttl Label Protocol Address Previous Hop Probe Status
2 3 OSPF 81.6.7.7 81.5.6.6 Egress
FEC-Stack-Sent: OSPF
Path 2 via ge-0/1/0.0 destination 127.0.1.64
traceroute mpls segment-routing spring-te (egress-ip) (No FEC Validation)
user@host> traceroute mpls segment-routing spring-te egress-ip 5.5.5.5 color 6 skip-fec-validation
Probe options: retries 3, exp 7
ttl Label Protocol Address Previous Hop Probe Status
1 900041 Static 23.1.1.2 (null) Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
1 3 Static 34.1.1.2 23.1.1.2 Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
2 3 Static 45.1.1.2 34.1.1.2 Egress
FEC-Stack-Sent: SPRING-TE
Path 1 via ge-0/0/1.0 destination 127.0.0.64
ttl Label Protocol Address Previous Hop Probe Status
1 900041 Static 23.2.1.2 (null) Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
1 3 Static 34.4.1.2 23.2.1.2 Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
2 3 Static 45.1.1.2 34.4.1.2 Egress
FEC-Stack-Sent: SPRING-TE
Path 2 via ge-0/0/2.0 destination 127.0.1.64
traceroute mpls segment-routing spring-te (egress-ip) (FEC Validation)
user@host> traceroute mpls segment-routing spring-te egress-ip 81.7.7.7 color 5 secondary
Probe options: retries 3, exp 7
ttl Label Protocol Address Previous Hop Probe Status
1 804101 ISIS 82.2.3.3 (null) Success
FEC-Stack-Sent: ISIS,ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 ISIS 81.3.5.5 82.2.3.3 Egress
FEC-Stack-Sent: ISIS,ISIS,OSPF FEC-Change-Recieved: POP-ISIS
ttl Label Protocol Address Previous Hop Probe Status
1 3 ISIS 81.3.5.5 82.2.3.3 Success
FEC-Stack-Sent: ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 ISIS 81.4.5.4 81.3.5.5 Success
FEC-Stack-Sent: ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
2 800007 ISIS 81.4.5.5 81.4.5.4 Success
FEC-Stack-Sent: ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
3 800007 ISIS 81.5.6.6 81.4.5.5 Success
FEC-Stack-Sent: ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
4 3 ISIS 81.6.7.7 81.5.6.6 Egress
FEC-Stack-Sent: ISIS,OSPF FEC-Change-Recieved: POP-ISIS
ttl Label Protocol Address Previous Hop Probe Status
4 3 ISIS 81.6.7.7 81.5.6.6 Egress
FEC-Stack-Sent: OSPF
Path 1 via ge-0/0/6.0 destination 127.0.0.64
ttl Label Protocol Address Previous Hop Probe Status
1 804101 ISIS 81.2.4.4 (null) Success
FEC-Stack-Sent: ISIS,ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 ISIS 81.4.5.5 81.2.4.4 Egress
FEC-Stack-Sent: ISIS,ISIS,OSPF FEC-Change-Recieved: POP-ISIS
ttl Label Protocol Address Previous Hop Probe Status
1 3 ISIS 81.4.5.5 81.2.4.4 Success
FEC-Stack-Sent: ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
1 3 ISIS 81.4.5.4 81.4.5.5 Success
FEC-Stack-Sent: ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
2 800007 ISIS 81.4.5.5 81.4.5.4 Success
FEC-Stack-Sent: ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
3 800007 ISIS 81.5.6.6 81.4.5.5 Success
FEC-Stack-Sent: ISIS,OSPF
ttl Label Protocol Address Previous Hop Probe Status
4 3 ISIS 81.6.7.7 81.5.6.6 Egress
FEC-Stack-Sent: ISIS,OSPF FEC-Change-Recieved: POP-ISIS
ttl Label Protocol Address Previous Hop Probe Status
4 3 ISIS 81.6.7.7 81.5.6.6 Egress
FEC-Stack-Sent: OSPF
Path 2 via ge-0/1/0.0 destination 127.0.1.64
traceroute mpls segment-routing spring-te (label-stack)
user@host> traceroute mpls segment-routing spring-te label-stack labels 900006 labels 900041 nexthop-address 12.1.1.2 nexthop-interface ge-0/0/0.0 egress 6.6.6.6
Probe options: retries 3, exp 7
ttl Label Protocol Address Previous Hop Probe Status
1 900041 Static 12.1.1.2 (null) Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
2 900041 Static 23.1.1.2 12.1.1.2 Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
1 3 Static 34.1.1.2 23.1.1.2 Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
2 900006 Static 45.1.1.2 34.1.1.2 Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
3 3 Static 56.1.1.2 45.1.1.2 Egress
FEC-Stack-Sent: SPRING-TE
Path 1 via ge-0/0/0.0 destination 127.0.0.64
Release Information
Command introduced in Junos OS Release 20.2R1.