display bgp l2vpn-ad routing-table peer advertised-routes

Function

The display bgp l2vpn-ad routing-table peer advertised-routes command displays the BGP L2VPN-AD routes advertised to the specified peer.

The display bgp l2vpn-ad routing-table peer advertised-routes vpls command displays statistics about VPLS routes advertised to the specified peer.

The display bgp l2vpn-ad routing-table peer advertised-routes vpws command displays statistics about VPWS routes advertised to the specified peer.

Format

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

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

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

Parameters

Parameter Description Value
advertised-routes

Displays statistics about VPWS routes advertised to the specified peer.

-

vpls-ad

Displays VPLS-AD route information.

-

peer ipv4-address

Specifies the IPv4 address of a peer.

The value is in dotted decimal notation.

vpls

Displays Virtual Private LAN Service (VPLS) route information.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

The display bgp l2vpn-ad routing-table peer advertised-routes command displays the BGP L2VPN-AD routes advertised to the specified peer.

The display bgp l2vpn-ad routing-table peer advertised-routes vpls command displays statistics about VPLS routes advertised to the specified peer.

The display bgp l2vpn-ad routing-table peer advertised-routes vpws command displays statistics about VPWS routes advertised to the specified peer.

Example

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

# Display information about routes advertised to the peer with VPLS address 1.1.1.1 in the BGP-L2VPN-AD address family.
[~HUAWEI] display  bgp  l2vpn-ad  routing-table peer  1.1.1.1 advertised-routes vpls

 Total Number of Routes: 6400

 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/Site-ID/LabelOffset)        NextHop

 *>    1:1/65534/0                           2.2.2.2         
 *>    1:1/65534/952                         2.2.2.2         
 *>    1:1/65534/956                         2.2.2.2         
 *>    1:1/65534/960                         2.2.2.2         
 *>    1:1/65534/964                         2.2.2.2         
 *>    1:1/65534/968                         2.2.2.2         
 *>    1:1/65534/972                         2.2.2.2         
 *>    1:1/65534/976                         2.2.2.2         
 *>    1:1/65534/980                         2.2.2.2         
 *>    1:1/65534/984                         2.2.2.2         
 *>    1:1/65534/988                         2.2.2.2         
 *>    1:1/65534/992                         2.2.2.2         
 *>    1:1/65534/996                         2.2.2.2         
 *>    1:1/65534/1000                        2.2.2.2         
 *>    1:1/65534/1004                        2.2.2.2         
 *>    1:1/65534/1008                        2.2.2.2         
 *>    1:1/65534/1012                        2.2.2.2
# Display information about routes advertised to the peer with VPLS-AD address 1.1.1.1 in the BGP-L2VPN-AD address family.
[~HUAWEI] display  bgp  l2vpn-ad  routing-table peer  1.1.1.1 advertised-routes

 Total Number of Routes: 2048

 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


 Route Distinguisher: 1:1


       Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>    2.2.2.2/32         2.2.2.2                               0      200?
 *>i   4.4.4.4/32         2.2.2.2                               0      200?

 Route Distinguisher: 1:2


       Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>    2.2.2.2/32         2.2.2.2                               0      200?
 *>i   4.4.4.4/32         2.2.2.2                               0      200?
Table 1 Description of the display bgp l2vpn-ad routing-table peer advertised-routes command output
Item Description
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/Site-ID/LabelOffset)

Filter criterion for VPLS route display:

  • RD.
  • Site-ID.
  • LabelOffset.
NextHop

Next hop address of a packet.

Route Distinguisher

Route distinguisher.

Network

Network address in the BGP routing table.

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 >