show ldp fec
Use the following command to display all FECs (Forwarding Equivalence Classes) known to this LSR.
Command Syntax
show ldp fec
show ldp fec (prefix)
show mpls ldp fec
show mpls ldp fec (prefix|)
Parameter
prefix
Display prefix FEC information.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ldp fec
LSR codes : E/N - LSR is egress/non-egress for this FEC,
L - LSR received a label for this FEC,
> - LSR will use this route for the FEC
FEC Code Session Out Label Nexthop Addr
1.1.1.1/32 NL> 1.1.1.1 impl-null 20.0.0.1
2.2.2.2/32 E > non-existent none connected
3.3.3.3/32 NL> 3.3.3.3 impl-null 30.0.0.2
4.4.4.4/32 NL> 4.4.4.4 impl-null 40.0.0.2
5.5.5.5/32 NL> 4.4.4.4 impl-null 40.0.0.2
NL> 3.3.3.3 impl-null 30.0.0.2
20.0.0.0/24 NL 1.1.1.1 impl-null invalid
E > non-existent none connected
30.0.0.0/24 NL 3.3.3.3 impl-null invalid
E > non-existent none connected
40.0.0.0/24 NL 4.4.4.4 impl-null invalid
E > non-existent none connected
50.0.0.0/24 NL 4.4.4.4 impl-null invalid
NL> 3.3.3.3 impl-null 30.0.0.2
60.0.0.0/24 NL> 4.4.4.4 impl-null 40.0.0.2
NL 3.3.3.3 impl-null invalid
Table 2-6 shows the codes at the end of each route entry that indicate where the route originated.
Table 2-6: Origin Codes
Origin Code | Description | Comments |
---|
E/N | Egress/Non-egress | LSR is egress/non-egress for this FEC. |
L | LSR | LSR received a label for this FEC. |
> | | LSR will use this route for the FEC. |
Table 2-7 explains the show command output fields.
Table 2-7: show ldp fec output fields details
Field | Description |
---|
FEC | Displays the Forward Equivalency Class (FEC) for this entry. |
Session | Reports the current session state. |
Out Label | Label received from downstream neighbor for route. |
Nexthop addr | Displays the IP address of the next hop. |
Last modified date: 07-13-2023