The display ipv6 routing-table protocol command displays routing information about a specified IPv6 routing protocol.
display ipv6 routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive | verbose | brief ]
Parameter | Description | Value |
---|---|---|
vpn-instance-name | Specifies the name of a VPN instance of an enabled IPv6 address family. | The value must be an existing VPN instance name. |
protocol | Displays routing information of a specified routing protocol. | The value may be bgp, direct, isis, ospfv3, ripng, static, or unr. The specific value varies depending on the routing protocol supported by the device. |
inactive | Displays information about inactive routes. If this parameter is not specified, information about all active and inactive routes is displayed. | - |
verbose | Displays detailed information about active and inactive routes. If this keyword is not specified, only brief information about active routes is displayed. | - |
brief | Displays brief information about active and inactive routes. | - |
You can run the display ipv6 routing-table protocol command to check routing information about a specified IPv6 routing protocol.
# Display brief information about all IPv6 direct routes.
<HUAWEI> display ipv6 routing-table protocol direct
Public Routing Table : Direct Summary Count : 2 Direct Routing Table's Status : < Active > Summary Count : 2 Destination : ::1 PrefixLength : 128 NextHop : ::1 Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : InLoopBack0 Flags : D Destination : FE80:: PrefixLength : 10 NextHop : :: Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : D Direct Routing Table's Status : < Inactive > Summary Count : 0
Item |
Description |
---|---|
Public Routing Table |
Contents of a public routing table:
|
Summary Count |
Number of prefixes of routes. |
Direct Routing Table's Status |
Status of direct routes:
|
Destination |
IP address of the destination network or host of a route. |
PrefixLength |
Prefix length of a route. |
NextHop |
Next-hop address of a route. |
Preference |
Routing protocol preference of a route. |
Cost |
Cost of a route. |
Protocol |
Routing protocol that learns a route. |
RelayNextHop |
Iterated next-hop address. |
TunnelID |
Tunnel ID. The value 0x0 indicates that no tunnel is used or the tunnel fails to be established. |
Interface |
Outbound interface through which the next hop of a route can be reached. |
Flags |
Flag of a route:
|