show ldp routes
Use this command to display LDP routes.
Command Syntax
show ldp routes
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
When LDP LFA FRR in not enabled:
#show ldp routes
Prefix Addr Nexthop Addr Intf
10.0.1.0/31 0.0.0.0 eth2
10.0.2.0/31 10.0.1.1 eth2
10.0.4.1 eth1
10.0.3.0/31 10.0.4.1 eth1
10.0.1.1 eth2
10.0.4.0/31 0.0.0.0 eth1
11.1.1.1/32 0.0.0.0 lo
22.1.1.1/32 10.0.1.1 eth2
33.1.1.1/32 10.0.1.1 eth2
10.0.4.1 eth1
44.1.1.1/32 10.0.4.1 eth1
192.168.254.0/24 0.0.0.0 eth0
When LDP LFA FRR in enabled:
#show ldp routes
Prefix Addr Nexthop Addr Intf Backup Addr Backup Intf
10.0.1.0/31 0.0.0.0 eth2 - -
10.0.2.0/31 10.0.1.1 eth2 10.0.4.1 eth1
10.0.3.0/31 10.0.4.1 eth1 10.0.1.1 eth2
10.0.4.0/31 0.0.0.0 eth1 - -
11.1.1.1/32 0.0.0.0 lo - -
22.1.1.1/32 10.0.1.1 eth2 - -
33.1.1.1/32 10.0.1.1 eth2 10.0.4.1 eth1
10.0.4.1 eth1 10.0.1.1 eth2
44.1.1.1/32 10.0.4.1 eth1 - -
192.168.254.0/24 0.0.0.0 eth0 - -
Table 2-44 explains the show command output fields.
Table 2-44: show ldp routes output fields details
Prefix Addr | Details of the network address prefix. |
Nexthop Addr | Displays the IP address of the next hop. |
Intf | Displays an interface name. |
Backup Addr | Displays the IP address of the backup next hop. |
Backup Intf | Displays a backup interface name. |
Last modified date: 10/17/2023