The display mpls lsp protocol static command displays information about LSPs with the protocol type set to "static.".
display mpls lsp protocol static [ { include | exclude } destaddr masklen ] [ incoming-interface { in-if-name | in-port-type in-port-num } ] [ outgoing-interface { out-if-name | out-port-type out-port-num } ] [ in-label in-label-value ] [ out-label out-label-value ] [ nexthop nexthopaddr ] [ lsr-role { ingress | transit | egress } ] [ verbose ]
Parameter | Description | Value |
---|---|---|
include |
Displays LSP information with a destination IP address specified. |
- |
exclude |
Displays LSP information without a destination IP address specified. |
- |
destaddr |
Specifies a destination IP address. |
The value is in dotted decimal notation. |
masklen |
Specifies the mask length of a specified destination IP address. |
The value is an integer ranging from 0 to 32. |
incoming-interface |
Displays information about a specified LSP with a specified inbound interface name. |
- |
in-if-name |
Specifies the name of an inbound interface. |
- |
in-port-type |
Specifies the inbound interface type. |
- |
in-port-num |
Specifies the inbound interface number. |
- |
outgoing-interface |
Displays information about a specified LSP with a specified outbound interface name. |
- |
out-if-name |
Specifies the name of an outbound interface. |
- |
out-port-type |
Specifies the outbound interface type. |
- |
out-port-num |
Specifies the outbound interface number. |
- |
in-label in-label-value |
Displays information about a specified LSP with a specified incoming label value. |
The value is an integer ranging from 0 to 1048575. |
out-label out-label-value |
Displays information about a specified LSP with a specified outgoing label value. |
The value is an integer ranging from 0 to 1048575. |
nexthop nexthopaddr |
Displays information about a specified LSP with a specified next-hop IP address. |
The value is in dotted decimal notation. |
lsr-role |
Displays information about LSPs with the local node functioning as a specified role. |
- |
ingress |
Displays information about LSPs with the local node functioning as the ingress. |
- |
transit |
Displays information about LSPs with the local node functioning as a transit node. |
- |
egress |
Displays information about LSPs with the local node functioning as the egress. |
- |
verbose |
Displays detailed LSP information. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls lsp protocol static verbose ------------------------------------------------------------------------------- LSP Information: STATIC LSP ------------------------------------------------------------------------------- No : 1 Name : xx Fec : 3.3.3.3/32 Nexthop : 1.2.1.2 In-Label : NULL Out-Label : 30 In-Interface : ---------- Out-Interface : GigabitEthernet0/1/0 LspIndex : 9000003 LsrType : Ingress Mpls-Mtu : 1500 TimeStamp : 178749 sec No : 2 Name : yy Fec : 2.2.2.2/32 Nexthop : 1.2.0.2 In-Label : NULL Out-Label : 30 In-Interface : ---------- Out-Interface : GigabitEthernet0/1/1 LspIndex : 9000002 LsrType : Ingress Mpls-Mtu : 1500 TimeStamp : 178749 sec No : 3 Name : a Fec : -------/-- Nexthop : ------- In-Label : 31 Out-Label : NULL In-Interface : GigabitEthernet0/1/2 Out-Interface : ---------- LspIndex : 9000001 LsrType : Egress Mpls-Mtu : ----- TimeStamp : 178749 sec
<HUAWEI> display mpls lsp protocol static ------------------------------------------------------------------------------- LSP Information: STATIC LSP ------------------------------------------------------------------------------- FEC In/Out Label In/Out IF Vrf Name 3.3.3.3/32 NULL/30 -/GigabitEthernet0/1/0 2.2.2.2/32 NULL/30 -/GigabitEthernet0/1/1 -/- 31/NULL GigabitEthernet0/1/2/-
Item | Description |
---|---|
No | Sequence number of a static LSP on a local node. |
Name | Name of a static LSP. |
Nexthop | IP address of the next hop of a static LSP. |
In-Label | Incoming label of a static LSP. |
Out-Label | Outgoing label of a static LSP. |
In-Interface | Name of an inbound interface of a static LSP. |
Out-Interface | Name of an outbound interface of a static LSP. |
LspIndex | Static LSP index. |
LsrType | Role of an LSR on a static LSP:
|
Mpls-Mtu | MTU (in bytes) value of a static LSP. |
TimeStamp | Time elapsed since a static LSP has been established. |
FEC | Destination address of a static LSP. |
In/Out Label | Incoming and outgoing label values of a static LSP. |
In/Out IF | Names of the inbound and outbound interfaces of a static LSP. |
Vrf Name | Name of an instance to which a static LSP belongs. If a public instance is used, this field is empty. |