The display bgp vpn-target routing-table peer advertised-routes command displays information about routes in the BGP-VPN-Target address family.
The actual command output varies according to the device. The command output here is only an example.
<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 ?
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. |