show ldp lsp
Use this command to display LDP LSP and, optionally, advertise-label information.
Command Syntax
show ldp lsp
show ldp lsp prefix detail
show ldp lsp (prefix|detail)
Parameter
prefix
Displays advertise-label information in addition to LDP LSP information.
detail
Displays advertise-label information in addition to LDP LSP information.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following is a sample output from the show ldp lsp prefix detail command displaying LDP LSP prefix information with advertise-label information.
#show ldp lsp prefix detail
Advertisement spec:
Prefix acl = pfx1; Peer acl = pfx1
Prevent the distribution of any assigned labels
FEC IPV4:1.1.1.0/30 -> 0.0.0.0
Downstream state: Established Label: impl-null RequestID: 0 Peer: 50.50.50.50
Attr:
Advert acl(s): Prevent the distribution of any assigned labels
FEC IPV4:3.3.3.0/30 -> 0.0.0.0
Advert acl(s): Prevent the distribution of any assigned labels
FEC IPV4:10.30.0.0/24 -> 0.0.0.0
Downstream state: Established Label: impl-null RequestID: 0 Peer: 50.50.50.50
Attr:
Advert acl(s): Prevent the distribution of any assigned labels
FEC IPV4:50.50.50.50/32 -> 1.1.1.1
Advert acl(s): Prefix acl = pfx1; Peer acl = pfx1
FEC IPV4:55.55.55.55/32 -> 3.3.3.2
Advert acl(s): Prevent the distribution of any assigned labels
FEC IPV4:169.254.0.0/16 -> 0.0.0.0
Downstream state: Established Label: impl-null RequestID: 0 Peer: 50.50.50.50
Attr:
Advert acl(s): Prevent the distribution of any assigned labels
Table 2-10 explains the show command output fields.
Table 2-10: show ldp lsp output fields details
Field | Description |
---|
Advertisement spec | Details of the advertisement spec. |
Prefix acl | The label is advertised to all peers permitted by the peer acl. |
Peer acl | The prefix acl permits the prefix and there is a peer acl. |
Downstream state | Details of the downstream state. |
Established Label | LSP established by the Downstream on Demand method of label distribution. |
Req.ID | Request identifier for the protocol. |
Peer | Details of the peer. |
Attr | The attribute is used to sent packets to a customer router. |
Last modified date: 07-13-2023