display bgp l2vpn-ad routing-table (prefix condition)

Function

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

Format

display bgp l2vpn-ad routing-table prefix { as-path | community-list | large-community | ext-community | cluster-list | advertised-peer }

display bgp l2vpn-ad routing-table peer peerIpv4Addr advertised-routes prefix { as-path | community-list | large-community | ext-community | cluster-list | advertised-peer }

Parameters

Parameter Description Value
prefix

Specifies an IPv4 network address.

The value is in dotted decimal notation.

as-path

Displays the AS_Path attribute contained in a BGP L2VPN-AD route.

-

community-list

Displays the community attribute contained in a BGP L2VPN-AD route.

-

large-community

Displays the Large-Community attribute list contained in a BGP L2VPN-AD route.

-

ext-community

Displays the extended community contained in a BGP L2VPN-AD route.

-

cluster-list

Displays the cluster list contained in a BGP L2VPN-AD route.

-

advertised-peer

Displays the list of the peers to which a BGP L2VPN-AD route is advertised.

-

peer peerIpv4Addr

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.

-

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.

# Displays the AS_Path attribute contained in a specified BGP L2VPN-AD route.
<HUAWEI> display bgp l2vpn-ad routing-table 10.1.2.0 as-path

 BGP routing table entry information of 10.1.2.0/24:
 From: 10.1.2.3
 AS-path 100
Table 1 Description of the display bgp l2vpn-ad routing-table (prefix condition) command output
Item Description
BGP routing table entry information of 10.1.2.0/24

The following information is about the route 10.1.2.0/24.

AS-path 100

AS_Path attribute, with Nil indicating that the attribute value is null.

From

IP address of the device that advertises the route.

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