display bgp routing-table ipv6 unicast
Use display bgp routing-table ipv6 unicast to display BGP IPv6 unicast routing information.
Syntax
display bgp routing-table ipv6 [ unicast ] [ vpn-instance vpn-instance-name ] [ network-address prefix-length | advertise-info ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If no VPN instance is specified, the command displays the BGP IPv6 unicast routing information for the public network.
network-address prefix-length: Specifies the destination network address and prefix length. The value range for the prefix-length argument is 0 to 128. If this argument is not specified, the command displays brief information about all BGP IPv6 unicast routing information.
advertise-info: Displays advertisement information for BGP IPv6 unicast routes. If this keyword is not specified, the command displays the BGP IPv6 unicast routing table.
Usage guidelines
The command with the unicast keyword has the same effect as that without the unicast keyword.
Examples
# Display brief information about all BGP IPv6 unicast routes for the public network.
<Sysname> display bgp routing-table ipv6 Total number of routes: 1 BGP local router ID is 192.168.1.136 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete * >e Network : 3:: PrefixLen : 64 NextHop : 1::2 LocPrf : PrefVal : 0 OutLabel : NULL MED : Path/Ogn: 100i
Table 87: Command output
Field | Description |
---|---|
Status codes | Status codes:
|
Origin | Origin of the route:
|
Network | Destination network address. |
PrefixLen | Prefix length of the destination network address. |
NextHop | Next hop IPv6 address. |
LocPrf | Local preference value. |
PrefVal | Preferred value of the route. |
OutLabel | Outgoing label of the route. |
MED | MULTI_EXIT_DISC attribute. |
Path/Ogn | AS_PATH and ORIGIN attributes of the route:
|
# Display detailed information about BGP IPv6 unicast routes destined to network 2::/64 for the public network.
<Sysname> display bgp routing-table ipv6 2:: 64 BGP local router ID: 192.168.1.135 Local AS number: 200 Paths: 1 available, 1 best From : 1::1 (192.168.1.136) Relay nexthop : 1::1 Original nexthop: 1::1 OutLabel : NULL AS-path : 100 Origin : igp Attribute value : MED 0, pref-val 0 State : valid, external,best,
Table 88: Command output
Field | Description |
---|---|
Paths | Number of routes:
|
Original nexthop | Original next hop of the route. If the route is received from a BGP update message, the original next hop is the next hop IP address in the message. |
OutLabel | Outgoing label of the route. |
AS-path | AS_PATH attribute of the route, which records the ASs the route has passed to avoid routing loops. |
Origin | Origin of the route:
|
Attribute value | BGP path attributes:
|
State | Current state of the route:
|
From | IP address of BGP peer that advertised the route. |
Relay Nexthop | Next hop found by route recursion. If no next hop is found, this field displays not resolved. |
# Display advertisement information about BGP IPv6 unicast routes destined to network 2::/64 for the public network.
<Sysname> display bgp routing-table ipv6 2:: 64 advertise-info BGP local router ID: 192.168.1.136 Local AS number: 100 Paths: 1 best BGP routing table information of 2::/64: Advertised to peers (1 in total): 1::2
Table 89: Command output
Field | Description |
---|---|
Paths | Number of optimal routes destined to the specified network. |
BGP routing table information of 2::/64 | Advertisement information of BGP routes destined to network 2::/64. |
Advertised to peers (1 in total) | Peers to which the route has been advertised, and the number of peers. |