display bgp routing-table vpnv4 outlabel

Use display bgp routing-table vpnv4 outlabel to display outgoing labels for BGP VPNv4 routes.

Syntax

display bgp [ instance instance-name ] routing-table vpnv4 outlabel

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a BGP instance, this command displays outgoing labels for all BGP VPNv4 routes in the default BGP instance.

Examples

# Display outgoing labels for all BGP VPNv4 routes in the default BGP instance.

<Sysname> display bgp routing-table vpnv4 outlabel

 BGP local router ID is 1.1.1.9
 Status codes: * - valid, > - best, d - dampened, h - history,
               s - suppressed, S - stale, i - internal, e - external
               a – additional-path
               Origin: i - IGP, e - EGP, ? - incomplete

 Total number of routes from all PEs: 4

 Route distinguisher: 100:1(vpn1)
 Total number of routes: 2

     Network            NextHop         OutLabel

* >i 10.3.1.0/24        3.3.3.9         1279
*  i 192.168.1.0        3.3.3.9         1278

 Route distinguisher: 200:1
 Total number of routes: 2

     Network            NextHop         OutLabel

* >i 10.3.1.0/24        3.3.3.9         1279
* >i 192.168.1.0        3.3.3.9         1278

Table 72: Command output

Field

Description

BGP local router ID

Router ID of the local BGP router.

Status codes

Route status codes:

  • * - valid—Valid route.

  • > - best—Common optimal route.

  • d – damped—Route damped for route flap.

  • h - history—History route.

  • i - internal—Internal route.

  • e - external—External route.

  • s - suppressed—Suppressed route.

  • S - Stale—Stale route.

  • a additional-path—Add-Path optimal route.

Origin

Route origin:

  • i - IGP—Originated in the AS. The origin of routes advertised by the network command is IGP.

  • e - EGP—Learned through EGP.

  • ? - incomplete—Redistributed from IGP protocols.

OutLabel

Outgoing label. If the peer PE assigns a null label, this field displays NULL.