display bgp l2vpn-ad routing-table vpls (RD)

Function

The display bgp l2vpn-ad routing-table vpls command displays VPLS route information in the L2VPN-AD address family.

Format

display bgp l2vpn-ad routing-table vpls route-distinguisher route-distinguisher site-id site-id label-offset label-offset

display bgp l2vpn-ad routing-table peer ipv4-address advertised-routes vpls route-distinguisher route-distinguisher site-id site-id label-offset label-offset

display bgp l2vpn-ad routing-table peer ipv4-address received-routes vpls route-distinguisher route-distinguisher site-id site-id label-offset label-offset

Parameters

Parameter Description Value
route-distinguisher route-distinguisher

Displays BGP L2VPN-AD routes of the specified Route Distinguisher (RD).

The RD formats are divided into the following types:

  • 2-byte AS number:4-byte 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 the user-defined number cannot be 0s at the same time. 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.
  • 4-byte AS number in dotted notation is in the format of x.y, wherex and y are integers that range from 0 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:0.
  • IPv4-address:2-byte 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.
site-id site-id
  • This parameter specifies the site ID of a VSI when VPLS routes are displayed.
  • This parameter specifies a multi-homing site ID when VPLS multi-homing routes are displayed.

The value is a decimal integer ranging from 0 to 65535.

label-offset label-offset

Specifies the offset of a label.

The value is a decimal integer ranging from 0 to 65535.

peer ipv4-address

Displays information about BFD sessions of a peer.

It is in dotted decimal notation.

advertised-routes

Displays the routes advertised to a specified peer.

-

received-routes

Displays the routes received from the specified peer.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To view VPLS routes in the L2VPN-AD address family, run the display bgp l2vpn-ad routing-table vpls command. You can specify different parameters to view the specific routing information.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display detailed routing information of a specified VPLS route.
<HUAWEI> display bgp l2vpn-ad routing-table vpls route-distinguisher 2:2 site-id 2 label-offset 0
 BGP local router ID : 10.0.0.3
 Local AS number : 100
 Paths:   1 available, 1 best, 1 select
 BGP routing table entry information of 2:2/2/0:
 From: 2.2.2.2 (10.0.0.2) 
 Route Duration: 0d00h00m31s
 Relay IP Nexthop: 10.0.0.2
 Original nexthop: 2.2.2.2
 Qos information : 0x0            
 Ext-Community:RT <1 : 1>, Layer2 Info <Encaps Type: 19, Control Flags: 0, Layer-2 MTU: 1500, VPLS Preference: 0>
 LabelBase(Received/Applied): NULL/294928, Range: 8
 AS-path Nil, origin incomplete, localpref 100, pref-val 0, valid, internal, best, select, pre 255
 Not advertised to any peer yet
Table 1 Description of the display bgp l2vpn-ad routing-table vpls (RD) command output
Item Description
BGP local router ID

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

BGP routing table entry information

The following information is about the specified BGP routes.

BGP routing table entry information of

The following information is about a specified BGP route.

Local AS number

Local AS number.

select

Selected route.

Route Duration

Duration of routes.

Relay IP Nexthop

The relay next hop address.

Original nexthop

The original next hop address.

Qos information

QoS information.

Layer2 Info

Information of the link layer.

Control Flags

Flags for control.

Layer-2 MTU

The MTU value of Layer 2.

VPLS Preference

The preference level of VPLS.

LabelBase(Received/Applied):

The base label value.

AS-path Nil

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

origin incomplete

Origin attribute:

  • IGP: The origin of the routes that are added to the BGP routing table using the network (BGP) command is IGP.
  • EGP: The origin of the routes imported from EGP is EGP.
  • Incomplete: The value indicates the origin of a route is unknown. The origin of the routes that are added to the BGP routing table using the import-route (BGP) command is Incomplete.
localpref

Local_Pref.

pref-val

PrefVal.

pre 255

The priority of the BGP route is 255.

Not advertised to any peer yet

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

Paths

Information about paths.

From

IP address of the device that advertises the route.

Ext-Community

Extended community attribute.

Range

The range of label value.

valid

Valid route.

internal

Internal route.

best

Optimal route.

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