display bgp vpn-target routing-table peer advertised-routes

Function

The display bgp vpn-target routing-table peer advertised-routes command displays information about routes in the BGP-VPN-Target address family.

Format

display bgp vpn-target routing-table peer ipv4-address advertised-routes

Parameters

Parameter Description Value
ipv4-address

Specifies an IPv4 address.

The value is in dotted decimal notation.

advertised-routes

Displays information about 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

The display bgp vpn-target routing-table peer advertised-routes command displays information about routes in the BGP-VPN-Target address family.

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 IP address 1.1.1.1 in the BGP-VPN-Target address family.
<HUAWEI> display bgp vpn-target routing-table peer 1.1.1.1 advertised-routes
 Advertised routes total: 3

 BGP Local router ID is 10.1.1.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


 Origin AS: 100


        Network            NextHop        MED        LocPrf    PrefVal Path/Ogn
 *>i    RT<1:1>            2.2.2.2        0          100        0        ?
 *>i    RT<4:5>            2.2.2.2        0          100        0        ?
 *>     RT<20:1>           2.2.2.2        0          100        0        ?
Table 1 Description of the display bgp vpn-target routing-table peer advertised-routes command output
Item Description
BGP Local router ID is

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

Origin AS

Origin AS number of the route.

MED

Multi-exit discriminator (MED), which is used to determine the optimal route when traffic enters an AS. During route selection, the route with the smallest MED value is selected as the optimal route if all other attributes are the same.

LocPrf

Local_Pref of the BGP route.

PrefVal

PrefVal of the route.

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