display bgp l2vpn-ad routing-table statistics

Function

The display bgp l2vpn-ad routing-table statistics command displays BGP L2VPN-AD routes.

Format

display bgp l2vpn-ad routing-table [ vpls-ad ] statistics

display bgp l2vpn-ad routing-table peer ipv4-address advertised-routes [ vpls-ad ] statistics

display bgp l2vpn-ad routing-table peer ipv4-address received-routes [ vpls-ad | active ] statistics

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

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

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

display bgp l2vpn-ad routing-table peer ipv4-address advertised-routes vpws statistics

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

Parameters

Parameter Description Value
vpls-ad

Displays VPLS-AD route information.

-

statistics

Displays VPWS route statistics.

-

peer ipv4-address

Displays the routes of the specified BGP peer.

The value is in dotted decimal notation.

advertised-routes

Displays the routes advertised to a specified peer.

-

received-routes

Displays statistics about VPWS routes received from the specified peer.

-

active

Displays the active routes received from the specified peer.

-

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.
vpls

Displays Virtual Private LAN Service (VPLS) route information.

-

vpws

Displays VPWS route statistics.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To view BGP L2VPN-AD routes, run the display bgp l2vpn-ad routing-table 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 the statistics about the BGP L2VPN-AD routes.
<HUAWEI> display bgp l2vpn-ad routing-table statistics

Total Number of Routes: 4
Table 1 Description of the display bgp l2vpn-ad routing-table statistics command output
Item Description
Total Number of Routes

Total number of routes.

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