The display bgp ipv6 routing-table peer command displays the routing information of the specified BGP4+ community attribute in the public routing table.
display bgp ipv6 routing-table peer { remoteIpv4Addr | remoteIpv6Addr } advertised-routes
display bgp ipv6 routing-table peer { remoteIpv4Addr | remoteIpv6Addr } { accepted-routes | not-accepted-routes }
display bgp ipv6 routing-table peer { remoteIpv4Addr | remoteIpv6Addr } received-routes
display bgp ipv6 routing-table peer { remoteIpv4Addr | remoteIpv6Addr } received-routes active
display bgp ipv6 routing-table peer { remoteIpv4Addr | remoteIpv6Addr } advertised-routes networkIpv6 [ mask-length ]
display bgp ipv6 routing-table peer { remoteIpv4Addr | remoteIpv6Addr } received-routes networkIpv6 [ mask-length [ original-attributes ] ]
| Parameter | Description | Value |
|---|---|---|
| remoteIpv4Addr |
Specifies an IPv4 peer address. |
The value is in dotted decimal notation. |
| advertised-routes networkIpv6 |
Displays the BGP4+ public network routes advertised to a specified peer. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
| peer remoteIpv6Addr |
Specifies an IPv6 peer address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
| accepted-routes |
Displays routes accepted by routing policy. |
- |
| not-accepted-routes |
Displays routes not accepted by routing policy. Information about the routes that fail to match the route-policy can be displayed only after the keep-all-routes or peer keep-all-routes command is configured. |
- |
| received-routes networkIpv6 |
Displays the BGP4+ public network routes received from the specified peer. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
| active |
Displays information about the active routes received from a specified peer. |
- |
| mask-length |
Specifies a network prefix length. |
The value is an integer ranging from 0 to 128. |
| original-attributes |
Displays original attributes of specified routes. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp ipv6 routing-table peer 2001:DB8:9:3::1 accepted-routes
BGP Local router ID is 3.3.3.3
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: 2
*>i Network : 2001:DB8:9:1:: PrefixLen : 64
NextHop : 2001:db8:9:3::1 LocPrf : 100
MED : 0 PrefVal : 0
Label :
Path/Ogn : i
i Network : 2001:DB8:9:3:: PrefixLen : 64
NextHop : 2001:db8:9:3::1 LocPrf : 100
MED : 0 PrefVal : 0
Label :
Path/Ogn : i
| Item | Description |
|---|---|
| Total Number of Routes | Number of routes in the routing table. |
| Network | Network address in the BGP4+ routing table. |
| NextHop | Next-hop address of packets. |
| LocPrf | Local preference. |
| MED | Metric of the route. |
| PrefVal | Preferred value (PrefVal) of a protocol. |
| Label | Label value. |
| Path/Ogn | AS_Path and the Origin. |