display bgp l2vpn-ad routing-table vpws(all views)

Function

The display bgp l2vpn-ad routing-table vpws command displays statistics about VPWS routes in the BGP L2VPN-AD routing table.

Format

display bgp l2vpn-ad routing-table vpws route-distinguisher route-distinguisher ce-id ce-id label-offset label-offset

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

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

Parameters

Parameter Description Value
route-distinguisher route-distinguisher

Specifies a route distinguisher.

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.
ce-id ce-id

Displays statistics about VPWS routes with the specified CE ID.

The value is an integer ranging from 0 to 65535.

label-offset label-offset

Displays statistics about VPWS routes with the specified label offset.

The value is an 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 statistics about VPWS routes advertised to the specified peer.

-

received-routes

Displays statistics about VPWS 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

In BGP VPWS scenarios, to check statistics about VPWS routes in the BGP L2VPN-AD routing table, run the display bgp l2vpn-ad routing-table vpws command. Statistics about specified routes can be displayed by specifying different parameters.

Example

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

# Display statistics about VPWS routes with the specified RD in the BGP L2VPN-AD routing table.
<HUAWEI> display bgp l2vpn-ad routing-table vpws route-distinguisher 1:1
Route Distinguisher: 1:1

 Total Number of Routes: 3

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

      Network(RD/CE-ID/LabelOffset)        NextHop

 *>    1:1/2/0                               0.0.0.0         
 *>i   1:1/14/0                              1.1.1.1         
 *>i   1:1/15/0                              1.1.1.1
Table 1 Description of the display bgp l2vpn-ad routing-table vpws(all views) command output
Item Description
Route Distinguisher

Route distinguisher.

Total Number of Routes

Total number of routes.

BGP Local router ID is

Router ID of the local device, in the same format as an IPv4 address.

Network(RD/CE-ID/LabelOffset)

Filter criterion for VPWS route display:

  • RD.
  • CE ID.
  • LabelOffset.
NextHop

Next hop address of a route.

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