display bgp l2vpn-ad routing-table

Function

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

Format

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

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

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

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

Parameters

Parameter Description Value
vpls-ad

Displays VPLS-AD route information.

-

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.

-

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 as follows:

  • 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, 0:3 or 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and the user-defined number cannot be 0s at the same time. 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. Generally, a 4-byte AS number in dotted notation is in the format of x.y, where x and y are both integers ranging from 0 to 65535. A user-defined number is an integer ranging from 0 to 65535. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 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.

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 information about all the BGP L2VPN-AD routes.
<HUAWEI> display bgp l2vpn-ad routing-table
Local AS number : 100

 BGP Local router ID is 10.11.11.1
 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
 RPKI validation codes: V - valid, I - invalid, N - not-found

 

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


      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>i  10.1.1.1/32        10.11.11.2                 100        0      ?
Table 1 Description of the display bgp l2vpn-ad routing-table command output
Item Description
Local AS number

Local AS number.

BGP Local router ID is

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

Total number of routes from all PE

Number of routes from all Pes.

Route Distinguisher

Route distinguisher (RD).

Network

Network address in the BGP routing table.

NextHop

Next hop address of a packet.

MED

Multi-Exit discriminator, If the MED is null, the route is learned from an IBGP peer.

LocPrf

Local_Pref, If the Local_Pref is null, the route is learned from an EBGP peer.

PrefVal

PrefVal.

Path/Ogn

AS_Path number or Origin.

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