show ldp downstream
Use this command to display the status of all downstream sessions and the label information exchanged.
Command Syntax
show ldp downstream
Parameter
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3 and was updated in OcNOS version 5.1.
Example
The following is an output from the show ldp downstream command showing the status of all downstream sessions.
When LDP LFA FRR in not enabled:
#show ldp downstream
Session peer 44.1.1.1:
FEC Nexthop Addr State Label Req.ID Attr
192.168.254.0/24 connected Established impl-null 0
33.1.1.1/32 10.0.4.1 Established 24323 0
10.0.4.0/31 connected Established impl-null 0
10.0.2.0/31 connected Established 24322 0
44.1.1.1/32 10.0.4.1 Established impl-null 0
10.0.3.0/31 10.0.4.1 Established impl-null 0
Session peer 22.1.1.1:
FEC Nexthop Addr State Label Req.ID Attr
192.168.254.0/24 connected Established impl-null 0
10.0.3.0/31 connected Established 24323 0
10.0.1.0/31 connected Established impl-null 0
33.1.1.1/32 10.0.1.1 Established 24324 0
22.1.1.1/32 10.0.1.1 Established impl-null 0
10.0.2.0/31 10.0.1.1 Established impl-null 0
When LDP LFA FRR in enabled:
#show ldp downstream
Codes: P - Primary route, B - Backup route
Session peer 44.1.1.1:
FEC Nexthop Addr State Label Req.ID Attr Code
192.168.254.0/24 connected Established impl-null 0
33.1.1.1/32 10.0.4.1 Established 24323 0 P
33.1.1.1/32 10.0.4.1 Established 24323 0 B
10.0.4.0/31 connected Established impl-null 0
10.0.2.0/31 connected Established 24322 0
10.0.2.0/31 10.0.4.1 Established 24322 0 B
44.1.1.1/32 10.0.4.1 Established impl-null 0 P
10.0.3.0/31 10.0.4.1 Established impl-null 0 P
Codes: P - Primary route, B - Backup route
Session peer 22.1.1.1:
FEC Nexthop Addr State Label Req.ID Attr Code
192.168.254.0/24 connected Established impl-null 0
10.0.3.0/31 connected Established 24323 0
10.0.3.0/31 10.0.1.1 Established 24323 0 B
10.0.1.0/31 connected Established impl-null 0
33.1.1.1/32 10.0.1.1 Established 24324 0 P
33.1.1.1/32 10.0.1.1 Established 24324 0 B
22.1.1.1/32 10.0.1.1 Established impl-null 0 P
10.0.2.0/31 10.0.1.1 Established impl-null 0 P
Table 2-37 explains the show command output fields.
Table 2-37: show ldp downstream output fields details
Field | Description |
Session peer | Used to group and apply the configuration of general session commands to groups of neighbors that share common session configuration elements. |
FEC | Displays the Forward Equivalency Class (FEC) for this entry. |
Nexthop addr | Displays the IP address of the next hop. |
State | Displays the current status of the ldp. |
Label | Details of the ldp downstream labels. |
Req.ID | Request identifier for the protocol. |
Attr | The attribute is used to sent to a customer router. |
Code | Show if an entry is principal or backup. |
Last modified date: 10/17/2023