display bgp l2vpn-ad routing-table vpls

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

display bgp l2vpn-ad routing-table vpls route-distinguisher route-distinguisher [ site-id site-id ]

display bgp l2vpn-ad routing-table peer ipv4-address received-routes vpls

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.

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

peer ipv4-address

Displays the routes of the specified BGP peer.

The value is in dotted decimal notation.

received-routes

Displays the routes received from a 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 VPLS route information in the L2VPN-AD address family.
<HUAWEI> display bgp l2vpn-ad routing-table vpls
 BGP Local router ID is 10.0.0.3
 Status codes: * - valid, > - best, d - damped,
               h - history,  i - internal, s - suppressed, S - Stale
 Total Number of Routes: 2
      Network(RD/Site-ID/LabelOffset)        NextHop
 *>i   2:2/2/0                               2.2.2.2         
 *>    3:3/3/0                               0.0.0.0
Table 1 Description of the display bgp l2vpn-ad routing-table vpls command output
Item Description
BGP Local router ID

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

Total Number of Routes

Total numbers of vpls routes.

NextHop

The next hop of a route.

Network

Network ID of routes.

RD

RD of routes.

Site-ID

Site ID of the VSI.

LabelOffset

The offset of a label.

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