Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

show mpls label-table [ longer-prefixes ]

Displays the MPLS label table.

show mpls label-table [ x.x.x.x/x ] [ longer-prefixes ]
x.x.x.x/x
The prefix or address parameter. Specify an IPv4 prefix to display any FEC that matches the supplied prefix.

Operational mode

Use this command to display the MPLS label table that is used to forward MPLS-encapsulated traffic.

The following example shows how to display the MPLS label table that is used to forward MPLS-encapsulated traffic.

vyatta@vyatta:~$ show mpls label-table
Codes: > - selected ILM, p - stale ILM, K - CLI ILM, T - MPLS-TP 

Code FEC                 In-Lbl    Out-Lbl   In-Intf          Out-Intf         Nexthop
 >   3.3.3.3/32          52481     3         dp0p1s3          dp0p1s1          192.166.3.2
 >   10.0.0.0/8          52484     N/A       dp0p1s1          dp0s4            192.168.252.253
 >   192.166.4.0/30      52480     3         dp0p1s3          dp0p1s1          192.166.3.2
 >   10.0.0.0/8          52484     N/A       dp0p1s3          dp0s4            192.168.252.253
 >   192.166.8.0/30      52482     3         dp0p1s3          dp0p1s1          192.166.3.2
 >   192.166.2.0/30      52485     3         dp0p1s3          dp0p1s1          192.166.3.2
 

The following example shows how to display the MPLS label table using the longer-prefixes option.

vyatta@vyatta:~$ show mpls label-table 10.10.8.0/22 longer-prefixes 
Codes: > - selected ILM, p - stale ILM, K - CLI ILM, T - MPLS-TP 

Code FEC                 In-Lbl    Out-Lbl   In-Intf          Out-Intf         Nexthop
 >   10.10.9.0/24        53125     53123     dp0p1s11         dp0p1s12         10.10.12.7
 >   10.10.8.0/24        53124     3         dp0p1s11         dp0p1s12         10.10.12.7
 >   10.10.10.0/24       53134     3         dp0p1s12         dp0p1s11         10.10.11.5