< Home

display bgp vpnv4 routing-table

Function

The display bgp vpnv4 routing-table command displays BGP Virtual Private Network version 4 (VPNv4) routes.

Format

display bgp vpnv4 { all | route-distinguisher route-distinguisher | vpn-instance vpn-instance-name } routing-table [ as-path-filter { as-path-filter-number | as-path-filter-name } | cidr | different-origin-as ]

display bgp vpnv4 { all | route-distinguisher route-distinguisher | vpn-instance vpn-instance-name } routing-table regular-expression as-regular-expression

display bgp vpnv4 route-distinguisher route-distinguisher routing-table [ verbose | ipv4-address [ mask | mask-length ] ]

display bgp vpnv4 { all | vpn-instance vpn-instance-name } routing-table [ verbose | ipv4-address [ mask [ longer-prefixes ] | mask-length [ longer-prefixes ] ] ]

display bgp vpnv4 { all | vpn-instance vpn-instance-name } routing-table peer ipv4-address [ advertised-routes [ network [ { mask | mask-length } [ longer-prefixes ] ] ] | received-routes [ active ] ]

display bgp vpnv4 { all | vpn-instance vpn-instance-name } routing-table peer ipv4-address received-routes network [ { mask | mask-length } [ longer-prefixes | original-attributes ] ]

display bgp vpnv4 { all | route-distinguisher route-distinguisher | vpn-instance vpn-instance-name } routing-table community-filter { { community-filter-name | basic-community-filter-number } [ whole-match ] | advanced-community-filter-number }

display bgp vpnv4 { all | route-distinguisher route-distinguisher | vpn-instance vpn-instance-name } routing-table community [ community-number | aa:nn ] &<1-29> [ internet | no-advertise | no-export | no-export-subconfed ] * [ whole-match ]

display bgp vpnv4 vpn-instance vpn-instance-name routing-table peer ipv4-address accepted-routes

display bgp vpnv4 { all | vpn-instance vpn-instance-name } routing-table time-range start-time end-time

Parameters

Parameter Description Value
all Displays all the BGP routes of VPNv4. -
route-distinguisher route-distinguisher Displays BGP routing information of the specified Route Distinguisher (RD).

The RD formats are divided into the following types:

  • 2-byte AS number:32-bit user-defined number, for example, 101:3. An AS number ranges from 0 to 65535. A user-defined number ranges from 0 to 4294967295. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.

  • Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.

  • 4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0. A 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers that range from 1 to 65535 and from 0 to 65535, respectively. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.

  • 32-bit IP address:16-bit user-defined number, for example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.

vpn-instance vpn-instance-name Displays the BGP routing information of the specified VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
as-path-filter Displays the routes that match the specified filter. -
as-path-filter-number Specifies the number of the matching AS-Path filter. It is an integer that ranges from 1 to 256.
as-path-filter-name Specifies the name of the matching AS-Path filter. The name is a string of 1 to 51 characters without any space. It is case-sensitive.
NOTE:
When double quotation marks are used around the string, spaces are allowed in the string.
cidr Displays the information about the Classless Inter-Domain Routing (CIDR). -
different-origin-as Displays routes that have the same destination address but different source ASs. -
regular-expression as-regular-expression Specifies the matched AS regular expression. The value is a string of 1 to 80 characters.
verbose Displays detailed information about BGP VPNv4 public network routes. -
ipv4-address Specifies the IPv4 address of the peer. It is in dotted decimal notation.
mask Specifies mask in dotted decimal notation. It is in dotted decimal notation.
mask-length Specifies the mask-length. It is an integer ranging from 0 to 32.
longer-prefixes Matches the destination address according to the mask longer than the specified length. -
advertised-routes Displays the routes advertised to the specified peer. -
network Specifies the IPv4 network address. It is in dotted decimal notation.
received-routes Displays the routes received from the specified peer. -
active Displays the active routes received from the specified peer. -
original-attributes Displays the original attributes of a BGP route from a specified BGP peer before the route is filtered by the local import policy. To display such attributes, the peer keep-all-routes command must have been run. -
community-filter Displays the routes that match the specified BGP community filter. -
community-filter-name Specifies the name of the community filter. The name is a string of 1 to 51 characters. The string cannot be all numbers.
basic-community-filter-number Specifies the number of basic community filter. It is an integer ranging from 1 to 99.
whole-match Indicates the exact matching. -
advanced-community-filter-number Specifies the number of advanced community filter. It is an integer ranging from 100 to 199.
community Displays the routing information of the specified BGP community attribute in the routing table. -
community-number Specifies the community number. It is an integer ranging from 0 to 4294967295.
aa:nn Specifies the community attribute number. You can set a maximum of 29 community numbers. Both aa and nn are integers ranging from 0 to 65535.
internet Displays the BGP routes with Internet community attribute. -
no-advertise Displays the BGP routes with No-Advertise community attribute. -
no-export Displays the BGP routes with the No-Export community attribute. -
no-export-subconfed Displays the BGP routes with the No-Export-Subconfed community attribute. -
peer ipv4-address Displays the routing information for the specified BGP peer. It is in dotted decimal notation.
accepted-routes Displays the routes that are received from the peer and filtered through a routing policy. -
time-range start-time end-time

Displays BGP VPNv4 routes that flap within the specified time period. For example, the value 0d0h5m0s of start-time indicates five minutes before the current time. The value 0d0h10m0s of end-time indicates 10 minutes before the current time. All BGP VPNv4 routes with the Keepalive time in the range of 5 to 10 minutes are displayed.

The formats of start-time and end-time both are xxdxxhxxmxxs.
  • The d indicates days. The value is an integer ranging from 0 to 10000.
  • The h indicates hours. The value is an integer ranging from 0 to 23.
  • The m indicates minutes. The value is an integer ranging from 0 to 59.
  • The s indicates seconds. The value is an integer ranging from 0 to 59.
NOTE:

If the value of the d is 10000, the values of the h, m, and s can be only 0.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can specify different parameters to view the specific routing information.

When BGP routing table is displayed, if the length of the destination address mask of an IPv4 route is the same as that of its natural mask, the mask length is not displayed.

You can run the display bgp vpnv4 { all | vpn-instance vpn-instance-name } routing-table time-range start-time end-time command to view BGP VPNv4 routes that flap within the specified time period. For example, if service traffic is abnormal or CPU usage of the device remains high within a certain time period, you can run this command to check whether route flapping occurs within the specified time period. The faulty route can be viewed in the command output, facilitating fault location.

Example

# Display all the BGP routing information of the VPN instance named vpn1.

<sysname> display bgp vpnv4 vpn-instance vpn1 routing-table

 BGP Local router ID is 1.1.1.9
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete


 VPN-Instance vpn1, Router ID 1.1.1.9:

 Total Number of Routes: 4
      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>   10.1.2.0/24        0.0.0.0         0                     0      ?
 *>   10.1.2.1/32        0.0.0.0         0                     0      ?
 *>   11.11.11.11/32     0.0.0.0         0                     0      ?
 *>i  192.168.0.2/32     3.3.3.9         0          100        0      ?

# Display all the BGP VPNv4 routing information.

<sysname> display bgp vpnv4 all routing-table


 BGP Local router ID is 1.1.1.9
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete



 Total number of routes from all PE: 4
 Route Distinguisher: 100:1


      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>i  192.168.0.2/32     3.3.3.9         0          100        0      ?

 Route Distinguisher: 100:4


      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>   10.1.2.0/24        0.0.0.0         0                     0      ?
 *>   10.1.2.1/32        0.0.0.0         0                     0      ?
 *>   11.11.11.11/32     0.0.0.0         0                     0      ?

 VPN-Instance vpn1, Router ID 1.1.1.9:

 Total Number of Routes: 4
      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>   10.1.2.0/24        0.0.0.0         0                     0      ?
 *>   10.1.2.1/32        0.0.0.0         0                     0      ?
 *>   11.11.11.11/32     0.0.0.0         0                     0      ?
 *>i  192.168.0.2/32     3.3.3.9         0          100        0      ?
# Display the VPNv4 routing information of the specified RD.
<sysname> display bgp vpnv4 route-distinguisher 100:1 routing-table

 BGP Local router ID is 1.1.1.9
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete

 Route Distinguisher: 100:1


 Total Number of Routes: 3
      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>   10.1.1.0/24        0.0.0.0         0                     0      ?
 *                       10.1.1.1        0                     0      65410?
 *>   10.1.1.2/32        0.0.0.0         0                     0      ?

 VPN-Instance vpna, Router ID 1.1.1.9:

 Total Number of Routes: 7
      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>   10.1.1.0/24        0.0.0.0         0                     0      ?
                         10.1.1.1        0                     0      65410?
 *>   10.1.1.2/32        0.0.0.0         0                     0      ?
 *>   10.2.1.0/24        10.2.1.2        0                     0      ?
 * i                     3.3.3.9         0          100        0      ?
 *>   10.2.1.2/32        127.0.0.1       0                     0      ?
 *>i  10.4.1.0/24        3.3.3.9         0          100        0      ?

# Display all BGP VPNv4 routes of community 1000:100.

<sysname> display bgp vpnv4 all routing-table community 1000:100

 BGP Local router ID is 1.1.1.9
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete


 Total number of routes from all PE: 1

 Route Distinguisher: 100:1


      Network            NextHop        MED        LocPrf    PrefVal Community

 *>i  192.168.0.2/32     3.3.3.9         0          100        0      <1000:100>

 VPN-Instance vpn1, Router ID 1.1.1.9:

 Total Number of Routes: 1
      Network            NextHop        MED        LocPrf    PrefVal Community

 *>i  192.168.0.2/32     3.3.3.9         0          100        0      <1000:100>

 VPN-Instance vpn2, Router ID 1.1.1.9:

 Total Number of Routes: 0

# Display BGP VPNv4 routes that flap within the specified time period.

<sysname> display bgp vpnv4 all routing-table time-range 0d5h0m0s 1d5h0m0s
 BGP Local router ID is 192.168.1.250
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete


 Route Distinguisher: 2:2

      Network            NextHop         Peer            Duration        Path/Ogn

 *>i  0.0.0.0            2.2.2.2         2.2.2.2         05h30m11s        i
 *>   1.2.3.4/32         0.0.0.0         0.0.0.0         05h30m42s        ?

 VPN-Instance 1, Router ID 192.168.1.250:
      Network            NextHop         Peer            Duration        Path/Ogn

 *>   1.2.3.4/32         0.0.0.0         0.0.0.0         05h30m42s        ?

 VPN-Instance 2, Router ID 192.168.1.250:
      Network            NextHop         Peer            Duration        Path/Ogn

 *>i  0.0.0.0            2.2.2.2         2.2.2.2         05h30m11s        i
 *>   1.2.3.4/32         0.0.0.0         0.0.0.0         05h30m42s        ?

Table 1 Description of the display bgp vpnv4 routing-table command output

Item

Description

Network

Network address in the BGP routing table

Next Hop

Next Hop address through which the packet has to be sent

MED

Multi-Exit discriminator

LocPrf

Local preference

PrefVal

Value preferred by the protocol

Peer

Peer IP address

Duration

Route duration

Path/Ogn

AS_Path number and the attributes of Origin

Community

Community attributes

# Display all BGP VPNv4 routes of community 1000:100 with the internet community attribute.

<sysname> display bgp vpnv4 all routing-table community 1000:100 internet

 BGP Local router ID is 1.1.1.9
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete


 Total number of routes from all PE: 4

 Route Distinguisher: 100:1


      Network            NextHop        MED        LocPrf    PrefVal Community

 *>i  192.168.0.2/32     3.3.3.9         0          100        0      <1000:100>

 Route Distinguisher: 100:4


      Network            NextHop        MED        LocPrf    PrefVal Community

 *>   10.1.2.0/24        0.0.0.0         0                     0
 *>   10.1.2.1/32        0.0.0.0         0                     0
 *>   11.11.11.11/32     0.0.0.0         0                     0

 VPN-Instance vpn1, Router ID 1.1.1.9:

 Total Number of Routes: 4
      Network            NextHop        MED        LocPrf    PrefVal Community

 *>   10.1.2.0/24        0.0.0.0         0                     0
 *>   10.1.2.1/32        0.0.0.0         0                     0
 *>   11.11.11.11/32     0.0.0.0         0                     0
 *>i  192.168.0.2/32     3.3.3.9         0          100        0      <1000:100>

 VPN-Instance vpn2, Router ID 1.1.1.9:

 Total Number of Routes: 0

# Display all BGP VPNv4 routes with the specified destination IP address of 10.1.6.0.

<sysname> display bgp vpnv4 all routing-table 10.1.6.0

 BGP local router ID : 10.1.1.2
 Local AS number : 2

 Total routes of Route Distinguisher(200:1): 1
 BGP routing table entry information of 10.1.6.0/24:
 Label information (Received/Applied): 1027/NULL
 From: 3.3.3.3 (10.1.3.2)
 Route Duration: 00h11m21s
 Relay IP Nexthop: 10.1.2.2
 Relay IP Out-Interface: GigabitEthernet0/0/1
 Relay Tunnel Out-Interface: GigabitEthernet0/0/1
 Relay token: 0x3
 Original nexthop: 3.3.3.3
 Qos information : 0x0
 Ext-Community:RT <1 : 1>
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255, IGP cost 2
 Not advertised to any peer yet


 VPN-Instance vpn1, Router ID 10.1.1.2:

 Total Number of Routes: 1
 BGP routing table entry information of 10.1.6.0/24:
 Label information (Received/Applied): 1027/NULL
 From: 3.3.3.3 (10.1.3.2)
 Route Duration: 00h11m21s
 Relay Tunnel Out-Interface: GigabitEthernet0/0/1
 Relay token: 0x3
 Original nexthop: 3.3.3.3
 Qos information : 0x0
 Ext-Community:RT <1 : 1>
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, active, pre 255, IGP cost 2
 Not advertised to any peer yet

Table 2 Description of the display bgp vpnv4 all routing-table command output

Item

Description

BGP local router ID

ID of the local BGP device. The format is the same as the IPv4 address.

Local AS number

Local AS number.

Total routes of Route Distinguisher(200:1)

Total number of BGP VPNv4 routes of the specified RD.

BGP routing table entry information of 10.1.6.0/24

The following information is about 10.1.6.0/24 routing entries.

Label information (Received/Applied)

Label information (received or sent).
NOTE:

If the Label information field is not displayed in the command output, labels may have run out. Without a label, the route will not be advertised to any peer. To address this problem, run the apply-label per-instance command in the VPN instance view to configure the device to assign a label to each instance.

From

IP address of the device that sends the route. 3.3.3.3 is the IP address of the source interface of the peer with which the BGP connection is established, and 10.1.3.2 is the Router ID of the peer.

Route Duration

Duration of routes.

Relay IP Nexthop

IP iterated next hop.

Relay IP Out-Interface

IP iterated outbound interface.

Relay Tunnel Out-Interface

Tunnel iterated outbound interface.

Relay token

Iterated token value used for MPLS forwarding that is a part of tunnel ID and is assigned by the system.

NOTE:

If the Relay token field in the command output is 0x0, it indicates that this route cannot be iterated to a tunnel. To address this problem, see step 3 in "BGP Private Network Traffic Is Interrupted" in router Troubleshooting — IP Forwarding and Routing. Otherwise, if the Relay token field in the command output is not 0x0, it indicates that this route can be iterated to a tunnel.

Original nexthop

Original next hop.
NOTE:

If no routes to the BGP original next hop are available in the IP routing table, BGP routes cannot be advertised. In this case, find out why there is no route to the original next hop (this fault is generally associated with IGP or static routes).

Qos information

QoS information.
  • 0x20000000: indicates that the apply behavior command has been run.
  • 0x40000001–0x40000FFF: indicates that the apply qos-local-id qos-local-id command has been run and the qos-local-id varies from 1 to 4095.
  • 0x80000001–0x80000007: indicates that the apply ip-precedence precedence command has been run and the precedence varies from 1 to 7.
  • 0x0: indicates that the preceding QoS configurations are not performed.

Ext-Community

Extended community attribute.

AS-path Nil

AS_Path attribute, with Nil indicating that the attribute value is null.

origin incomplete

Well-known mandatory property. This property defines the origin of a path and records how a route turns to a BGP route. The property has the following three values:
  • IGP: The priority of this value is the highest. The origin property of the routes that are added to the BGP routing table by using the network (BGP) command is IGP.

  • EGP: The priority of this value is second to that of IGP. The origin property of the routes imported from EGP is EGP.

  • Incomplete: The priority of this value is the lowest. The value indicates the origin of a route is unknown. The origin property of the routes that are added to the BGP routing table by using the import-route (BGP) command is Incomplete.

valid

The BGP route is a valid route.

internal

The BGP route is an internal route.

best

The BGP route is an optimal route.

select

The BGP route is a preferred route.

pre 255

The priority of the BGP route is 255.

IGP cost 2

The IGP cost is 2.

Not advertised to any peer yet

The BGP route has not been advertised to any peer yet.

active

The BGP route is an active route.

VPN-Instance vpn1, Router ID 10.1.1.2

The local VPN instance is vpn1, and its router ID is 10.1.1.2.

Total Number of Routes

Total number of BGP VPNv4 routes that match 10.1.6.0 in VPN instance vpn1.

# Display detailed VPN route information (when a bit error event occurs).

<sysname> display bgp vpnv4 vpn-instance vrf1 routing-table 192.168.0.5
                               
 BGP local router ID : 2.2.2.2               
 Local AS number : 100                     

 VPN-Instance vrf1, Router ID 2.2.2.2:    
 Paths:   2 available, 1 best, 1 select     
 BGP routing table entry information of 192.168.0.5/32:       
 Label information (Received/Applied): 1047/NULL          
 From: 4.4.4.4 (4.4.4.4) 
 Route Duration: 00h16m17s       
 Relay Tunnel Out-Interface: GigabitEthernet0/0/2
 Relay token: 0x2  
 Original nexthop: 4.4.4.4  
 Qos information : 0x0 
 Ext-Community:RT <1 : 1> 
 AS-path Nil, origin incomplete, MED 0, localpref 200, pref-val 0, valid, internal, best, select, active, pre 255
 Originator:  5.5.5.5 
 Cluster list: 4.4.4.4   
 Not advertised to any peer yet 
               
 BGP routing table entry information of 192.168.0.5/32:   
 Label information (Received/Applied): 1045/NULL    
 From: 3.3.3.3 (3.3.3.3)           
 Route Duration: 00h02m09s   
 Relay Tunnel Out-Interface: GigabitEthernet0/0/1   
 Relay token: 0x1   
 Original nexthop: 3.3.3.3   
 Qos information : 0x0      
 Ext-Community:RT <1 : 1>    
 AS-path Nil, origin incomplete, MED 0, localpref 300, pref-val 0, valid, internal, pre 255, not preferred for nexthop bit error
 Originator:  5.5.5.5   
 Cluster list: 3.3.3.3       
 Not advertised to any peer yet 
Table 3 Description of the display bgp vpnv4 all routing-table command output

Item

Description

not preferred for nexthop bit error

Reason why the current route is not preferentially selected: The tunnel to which the route is iterated has encountered a bit error event.

# Display detailed VPNv4 route information (when a bit error event occurs).

<sysname> display bgp vpnv4 all routing-table 192.168.0.4
 BGP local router ID : 5.5.5.5
 Local AS number : 100

 Total routes of Route Distinguisher(1:1): 2
 BGP routing table entry information of 192.168.0.4/32:
 Label information (Received/Applied): 1032/NULL
 From: 3.3.3.3 (3.3.3.3)
 Route Duration: 00h06m04s
 Relay IP Nexthop: 192.168.0.1
 Relay IP Out-Interface: GigabitEthernet0/0/0
 Relay Tunnel Out-Interface: GigabitEthernet0/0/0
 Relay token: 0x5
 Original nexthop: 3.3.3.3
 Qos information : 0x0
 Ext-Community:RT <1 : 1>
 AS-path Nil, origin incomplete, MED 100, localpref 300, pref-val 0, valid, internal, best, select, pre 255, IGP cost 10
 Originator:  2.2.2.2
 Cluster list: 3.3.3.3
 Not advertised to any peer yet

 BGP routing table entry information of 192.168.0.4/32:
 Label information (Received/Applied): 1026/NULL
 From: 4.4.4.4 (4.4.4.4)
 Route Duration: 00h06m04s
 Relay IP Nexthop: 192.168.0.3
 Relay IP Out-Interface: GigabitEthernet0/0/2
 Relay Tunnel Out-Interface: GigabitEthernet0/0/2
 Relay token: 0xd
 Original nexthop: 4.4.4.4
 Qos information : 0x0
 Ext-Community:RT <1 : 1>
 AS-path Nil, origin incomplete, MED 150, localpref 200, pref-val 0, valid, internal, pre 255, IGP cost 10, not preferred for Local_Pref(original MED 100,original localpref 350)
 Originator:  2.2.2.2
 Cluster list: 4.4.4.4
 Not advertised to any peer yet
Table 4 Description of the display bgp vpnv4 all routing-table command output

Item

Description

original MED 100

Multi_Exit Discriminator (MED) value of the route before the tunnel to which the route is iterated encountered a bit error event.

original localpref 350

Local preference of the route before the tunnel to which the route is iterated encountered a bit error event.

# Display routes with prefix 10.1.1.0 and mask greater than 25 sent by 2.2.2.2.

<sysname> display bgp vpnv4 all routing-table peer 2.2.2.2 received-routes 10.1.1.0 25 longer-prefixes
BGP Local router ID is 1.1.1.1
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete

 Route Distinguisher: 0.1:1

      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>i  10.1.1.0/25        2.2.2.2         0          100        0      5000?
 *>i  10.1.1.1/32        2.2.2.2         0          100        0      5000?
 *>i  10.1.1.2/32        2.2.2.2         0          100        0      5000?

# Display the original attributes of the route to 10.1.1.0/25 sent by 2.2.2.2.

<sysname> display bgp vpnv4 all routing-table peer 2.2.2.2 received-routes 10.1.1.0 25 original-attributes
 BGP local router ID : 1.1.1.1
 Local AS number : 100
 Route Distinguisher: 0.1:1
 BGP routing table entry information of 10.1.1.0/25:
 Label information (Received/Applied): 1055/NULL
 From: 2.2.2.2 (2.2.2.2)
 Route Duration: 00h00m09s
 Relay IP Nexthop: 192.168.0.6
 Relay IP Out-Interface: GigabitEthernet0/0/1
 Relay Tunnel Out-Interface: GigabitEthernet0/0/1
 Relay token: 0x801
 Original nexthop: 2.2.2.2
 Qos information : 0x0
 Ext-Community:RT <0.1:1>
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255, IGP cost 1
 Not advertised to any peer yet
# Display detailed information about the specified invalid BGP VPNv4 routes.
<sysname> display bgp vpnv4 all routing-table 4.4.4.4
 BGP local router ID : 10.1.1.1
 Local AS number : 100

 Total routes of Route Distinguisher(10:10): 1
 BGP routing table entry information of 4.4.4.4/32:
 Label information (Received/Applied): 1025/NULL
 From: 10.1.1.2 (10.1.1.2)
 Route Duration: 00h12m26s  
 Relay IP Nexthop: 0.0.0.0
 Relay IP Out-Interface: GigabitEthernet0/0/0
 Relay Tunnel Out-Interface: 
 Relay token: 0x0
 Original nexthop: 10.1.1.2
 Qos information : 0x0
 Ext-Community:RT <10 : 10>, RT <20 : 20>
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255
 Not advertised to any peer yet

 VPN-Instance vrf1, Router ID 10.1.1.1:

 Total Number of Routes: 1
 BGP routing table entry information of 4.4.4.4/32:
 Label information (Received/Applied): 1025/NULL
 From: 10.1.1.2 (10.1.1.2)
 Route Duration: 00h12m26s  
 Relay Tunnel Out-Interface: 
 Relay token: 0x0
 Original nexthop: 10.1.1.2
 Qos information : 0x0
 Ext-Community:RT <10 : 10>, RT <20 : 20>
 AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, internal, pre 255, invalid for tunnel unreachable
 Not advertised to any peer yet
Table 5 Description of the display bgp vpnv4 routing-table command output

Item

Description

BGP local router ID

ID of the local BGP device. The format is the same as the IPv4 address.

Local AS number

Local AS number.

Total routes of Route Distinguisher(10:10)

Total number of BGP VPNv4 routes of the specified RD.

BGP routing table entry information of 4.4.4.4/32

The following information is about 4.4.4.4/32 routing entries.

Label information (Received/Applied)

Label information (received or sent).

From

IP address of the device that sends the route. 10.1.1.2 is the IP address of the source interface of the peer with which the BGP connection is established, and 10.1.1.2 is the Router ID of the peer.

Route Duration

Duration of routes.

Relay IP Nexthop

IP iterated next hop.

Relay IP Out-Interface

IP iterated outbound interface.

Relay Tunnel Out-Interface

Tunnel iterated outbound interface.

Relay token

Iterated token value used for MPLS forwarding that is a part of tunnel ID and is assigned by the system.

Original nexthop

Original next hop.

Qos information

QoS information.
  • 0x20000000: indicates that the apply behavior command has been run.
  • 0x40000001–0x40000FFF: indicates that the apply qos-local-id qos-local-id command has been run and the qos-local-id varies from 1 to 4095.
  • 0x80000001–0x80000007: indicates that the apply ip-precedence precedence command has been run and the precedence varies from 1 to 7.
  • 0x0: indicates that the preceding QoS configurations are not performed.

Ext-Community

Extended community attribute.

AS-path Nil

AS_Path attribute, with Nil indicating that the attribute value is null.

origin incomplete

Well-known mandatory property. This property defines the origin of a path and records how a route turns to a BGP route. The property has the following three values:
  • IGP: The priority of this value is the highest. The origin property of the routes that are added to the BGP routing table by using the network (BGP) command is IGP.

  • EGP: The priority of this value is second to that of IGP. The origin property of the routes imported from EGP is EGP.

  • Incomplete: The priority of this value is the lowest. The value indicates the origin of a route is unknown. The origin property of the routes that are added to the BGP routing table by using the import-route (BGP) command is Incomplete.

MED

Multi-Exit discriminator of route.

localpref

Local priority.

pref-val

Value preferred by the protocol.

valid

The BGP route is a valid route.

internal

The BGP route is an internal route.

best

The BGP route is an optimal route.

select

The BGP route is a preferred route.

pre 255

The priority of the BGP route is 255.

invalid for tunnel unreachable

Reason why a route is invalid:

  • invalid for route-policy not pass: The route does not match the route-policy.

  • invalid for supernet route: The route is a supernet route.

  • invalid for IP unreachable: The route fails to be iterated to another route.

  • invalid for supernet route not advertise: No supernet routes are advertised.

  • invalid for supernet label route not advertise: No supernet labeled routes are advertised.

  • invalid for next-hop unreachable: The next-hop IP address is unreachable.

  • invalid for tunnel unreachable: The route fails to be iterated to a tunnel.

Not advertised to any peer yet

The BGP route has not been advertised to any peer yet.

VPN-Instance vrf1, Router ID 10.1.1.1

The local VPN instance is vrf1, and its router ID is 10.1.1.1.

Total Number of Routes

Total number of BGP VPNv4 routes that match 4.4.4.4/32 in VPN instance vrf1.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >