show ldp inter-area-fecs prefix

Use this command to show all LDP inter-area FECs by prefix.

Use parameter count to show FEC count for each prefix.

Command Syntax

Copy
show ldp inter-area-fecs prefix (A.B.C.D/M|X:X::X:X/M) count

Parameter

A.B.C.D/M

IP prefix <network>/<length>, e.g., 35.0.0.0/8

X:X::X:X/M

IPv6 prefix <network>/<length>, e.g., 3ffe::/16

count

Count of FECs

Command Mode

Exec mode and Privileged Exec mode

Applicability

This command was introduced in OcNOS version 4.1.

Examples

Copy
#show ldp inter-area-fecs prefix 4.4.4.0/30
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       ELC     Nexthop Addr
Matching RIB prefix - 4.4.4.0/30
4.4.4.1/32              NL>     1.1.1.1         24970           No      12.1.1.1
                        NL>     3.3.3.3         24329           No      23.1.1.2
4.4.4.2/32              NL>     1.1.1.1         24971           No      12.1.1.1
                        NL>     3.3.3.3         24330           No      23.1.1.2
4.4.4.3/32              NL>     1.1.1.1         24972           No      12.1.1.1
                        NL>     3.3.3.3         24331           No      23.1.1.2
 
#show ldp inter-area-fecs prefix 4.4.4.0/30 count
Matching RIB prefix - 4.4.4.0/30
------------------------
Num. IPv4 FEC(s): 3
------------------------
 
#show ldp inter-area-fecs prefix 3ffe::/16
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       ELC     Nexthop Addr
 
#show ldp inter-area-fecs prefix 3ffe::/16 count