traceroute mpls segment-routing static egress-ip
Syntax
traceroute mpls segment-routing static egress-ip <egress-ip ( destination | detail | exp | fanout | logical-system | no-resolve | retries | routing-instance | source | ttl | wait) >
traceroute mpls segment-routing spring-te label-stack <label-stack ( destination | detail | egress | exp | fanout | labels | logical-system | nexthop-address | nexthop-interface | no-resolve | paths | retries | source | ttl | wait) >
Description
Use
traceroute mpls segment-routing static as a debugging tool to locate MPLS
label-switched path forwarding issues for prpd programmed 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.
|
Additional Information
NIL FEC validation is supported. The FEC validation for SWAN ping and traceroute command is not supported.
traceroute mpls segment-routing spring-te command
with label-stack option is supported in operational mode
only. It is not supported in configuration mode.
Traceroute with label-stack option can be executed only once at a time
In case of traceroute mpls segment-routing spring-te, the Packet Forwarding
Engine supports only 16 ECMP paths. If there more than 16 ECMP paths to the LSP, you can
perform traceroute to a maximum of 16 paths.
Traceroute with label-stack option displays FEC stack sent as SPRING-TE.
SPRING-TE implicitly means NIL FEC.
Required Privilege Level
network
Output Fields
The following table describes the output fields for the traceroute mpls segment-routing
static 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 static. |
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 |
Previous Hop |
Address of the previous hop in the label-switched path. |
detail |
FEC-Stack-Sent |
FEC stack used to forward the packet. |
detail |
Sample Output
- traceroute mpls segment-routing static ?
- traceroute mpls segment-routing static (egress-ip)
- traceroute mpls segment-routing spring-te with label-stack, nexthop-address, nexthop-interface as input
- traceroute mpls segment-routing spring-te (label-stack)
traceroute mpls segment-routing static ?
user@host> traceroute mpls segment-routing static ?
Possible completions:
egress-ip To/Install IP address to use when sending probes
traceroute mpls segment-routing static (egress-ip)
user@host> traceroute mpls segment-routing static egress-ip ::100.100.100.4
Probe options: retries 3, exp 7
ttl Label Protocol Address Previous Hop Probe Status
1 600040 Static 21.1.2::2 (null) Success
FEC-Stack-Sent: NIL
ttl Label Protocol Address Previous Hop Probe Status
2 600040 Static 21.2.6::2 21.1.2::2 Success
FEC-Stack-Sent: NIL
ttl Label Protocol Address Previous Hop Probe Status
3 3 Static 21.3.4.::2 21.2.3::2 Egress
FEC-Stack-Sent: NIL
Path 1 via ge-0/0/2.0 destination ::ffff:127.0.0.64
ttl Label Protocol Address Previous Hop Probe Status
1 600040 Static 21.1.5::2 (null) Success
FEC-Stack-Sent: NIL
ttl Label Protocol Address Previous Hop Probe Status
2 600040 Static 21.3.5::1 21.1.5::2 Success
FEC-Stack-Sent: NIL
ttl Label Protocol Address Previous Hop Probe Status
3 3 Static 21.3.4::2 21.3.5::1 Egress
FEC-Stack-Sent: NIL
Path 2 via ge-0/0/7.0 destination ::ffff:127.0.1.64
traceroute mpls segment-routing spring-te with label-stack, nexthop-address, nexthop-interface as input
user@host>traceroute mpls segment-routing spring-te label-stack labels 600040 nexthop-address 21.1.2.2 nexthop-interface ge-0/0/2.0
Warning: License key missing; requires 'sr' license
Probe options: retries 3, exp 7
ttl Label Protocol Address Previous Hop Probe Status
1 600040 Static 21.1.2:2 (null) Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
2 600040 Static 21.2.6:2 21.1.2:2 Success
FEC-Stack-Sent: SPRING-TE
ttl Label Protocol Address Previous Hop Probe Status
3 3 Static 21.4.6:1 21.2.6:2 Egress
FEC-Stack-Sent: SPRING-TE
Path 1 via ge-0/0/2.0 destination 127.0.0.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
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 22.4R1.