display bgp routing-table ipv4 unicast inlabel

Use display bgp routing-table ipv4 unicast inlabel to display incoming labels for BGP IPv4 unicast routes.

Syntax

display bgp [ instance instance-name ] routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] inlabel

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 incoming labels for BGP IPv4 unicast routes in the default BGP instance.

vpn-instance vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays incoming labels for BGP IPv4 unicast routes on the public network.

Usage guidelines

This command displays incoming labels for BGP IPv4 unicast routes regardless of whether the unicast keyword is specified or not.

Examples

# Display incoming labels for all BGP IPv4 unicast routes on the public network.

<Sysname> display bgp routing-table ipv4 inlabel

 Total number of routes: 1

 BGP local router ID is 3.3.3.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

     Network            NextHop         OutLabel        InLabel

* >  2.2.2.9/32         1.1.1.2         1151            1279

Table 64: 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.

InLabel

Incoming label.