display mpls te tunnel path [ [ [ tunnel-name ] tunnel-name ] [ lsp-id ingress-lsr-id session-id lsp-id ] | fast-reroute { local-protection-available | local-protection-inuse } | lsr-role { ingress | transit | egress } ]
display mpls te tunnel path expanded tunnel-name tunnel-name [ lsp-id ingress-lsr-id session-id lsp-id ]
display mpls te tunnel path expanded lsp-id ingress-lsr-id session-id lsp-id
Parameter | Description | Value |
---|---|---|
tunnel-name tunnel-name |
Specifies the name of an MPLS TE tunnel. If the mpls te signalled tunnel-name command has been used to configure a tunnel name, this specified name is used. |
The value is an existing tunnel name. |
ingress-lsr-id |
Specifies the LSR ID of the ingress. |
The value is in dotted decimal notation. |
session-id |
Specifies the ID of a session. |
The value is an integer that ranges from 0 to 65535. |
lsp-id |
Specifies the LSP ID. |
The value is an integer that ranges from 0 to 65535. |
fast-reroute local-protection-available |
Specifies the available path for local protection of FRR. |
- |
fast-reroute local-protection-inuse |
Specifies the path in use for local protection of FRR. |
- |
lsr-role { ingress | transit | egress } |
Indicates the role of an LSR.
|
- |
expanded |
Displays the expanded LSP path information by completing the RRO information. |
- |
Usage Scenario
The display mpls te tunnel path command displays information about the path of an MPLS TE tunnel.
If no tunnel name is specified, information about all MPLS TE tunnels' path attributes is displayed.
When a Huawei device is interconnected with a non-Huawei device and the RRO information carried in the packet sent by the non-Huawei device is incomplete, the RRO information can be complemented using the display mpls te tunnel path expanded command on the Huawei device to display the information about the entire LSP path.
Precautions
The system can record and display the paths only after the mpls te record-route command is configured.
# Display information about path attributes of all MPLS TE tunnels.
<HUAWEI> display mpls te tunnel path Tunnel Interface Name : Tunnel1 Lsp ID : 10.1.1.9 :100 :34 Hop Information Hop 0 172.16.1.1 Local-Protection available | node Hop 1 172.16.1.2 Label 1055 Hop 2 10.2.2.9 Label 1055 Hop 3 172.20.1.1 Local-Protection available Hop 4 172.20.1.2 Label 1063 Hop 5 10.3.3.9 Label 1063 Hop 6 172.30.1.1 Hop 7 172.30.1.2 Label 3 Hop 8 10.4.4.9 Label 3
# Display path attributes of the MPLS TE tunnel with the ingress IP address being 10.1.1.9, the session ID being 300, and the LSP ID being 4.
<HUAWEI> display mpls te tunnel path lsp-id 10.1.1.9 300 4 Tunnel Interface Name : Tunnel1 Lsp ID : 10.1.1.9 :300 :4 Hop Information Hop 0 172.16.1.1 Hop 1 172.16.1.2 Label 1043 Hop 2 10.2.2.9 Label 1043 Hop 3 172.20.1.1 Hop 4 172.20.1.2 Label 4 Hop 5 10.3.3.9 Label 4
# Display path attributes of a tunnel named LSRAtoLSRC.
<HUAWEI> display mpls te tunnel path tunnel-name LSRAtoLSRC
Tunnel Interface Name : LSRAtoLSRC
Lsp ID : 10.1.1.9 :1 :2
Hop Information
Hop 0 10.11.1.1 Local-Protection in use
Hop 1 10.11.1.2 Label 3
Hop 2 10.2.2.9
# Display path attributes of a tunnel named A2 using the command which expanded the information about the path.
<HUAWEI> display mpls te tunnel path expanded tunnel-name A2
Tunnel Interface Name : A2
Lsp ID : 10.1.1.9 :300 :4
Hop Information
Hop 0 10.1.1.9 Local-Protection available | bandwidth
Hop 1 172.16.1.1
Hop 2 172.16.1.2 Label 1042
Hop 3 10.2.2.9 Label 1042
Hop 4 172.20.1.1
Hop 5 172.20.1.2 Label 3
Hop 6 10.3.3.9 Label 3
Item |
Description |
---|---|
Tunnel Interface Name |
Name of a tunnel interface. |
Lsp ID |
LSP ID on the ingress. |
Hop Information |
Number, IP address, and label of each hop. |
Local-Protection available |
Link protection provided by the bypass tunnel. |
Local-Protection available | bandwidth |
Bandwidth protection provided by the bypass tunnel. |
Local-Protection available | node |
Node protection provided by the bypass tunnel. |
Local-Protection in use |
The bypass tunnel in use. |