The display ipv6 routing-table command displays information about an IPv6 routing table.
The display ipv6 routing-table topology command displays information about an IPv6 topology instance.
display ipv6 routing-table ipv6-address1 [ prefix-length1 ] ipv6-address2 prefix-length2 [ verbose ]
display ipv6 routing-table topology topology-name [ [ { ipv6-address [ prefix-length ] | host-name host-name } [ longer-match ] ] | [ time-range min-age max-age ] ] [ verbose ]
display ipv6 routing-table topology topology-name protocol { bgp | direct | isis | ospfv3 | ripng | static | unr } [ time-range min-age max-age ] [ inactive | verbose ]
display ipv6 routing-table topology topology-name ipv6-address [ prefix-length ] ipv6-address prefix-length [ verbose ]
Parameter | Description | Value |
---|---|---|
ipv6-address1 |
Specifies the IPv6 address. ipv6-address1 and ipv6-address2 determine an address range. Only the routes in the address range are displayed. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length1 |
Specifies the length of an IPv6 prefix. |
The value is an integer ranging from 0 to 128. |
ipv6-address2 |
Specifies the IPv6 address. ipv6-address1 and ipv6-address2 determine an address range. Only the routes in the address range are displayed. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length2 |
Specifies the length of an IPv6 prefix. |
The value is an integer ranging from 0 to 128. |
verbose |
Displays detailed information about the active and inactive routes that match the filtering rule. If verbose is not specified, only the summary of the active routes that match the filtering rule is displayed. |
- |
topology topology-name |
Specifies the name of an IPv6 topology instance. |
The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive) and can contain numbers, hyphens (-), or underlines (_). When double quotation marks are used around the string, spaces are allowed in the string. |
ipv6-address |
Specifies the destination IPv6 address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length |
Specifies the length of an IPv6 prefix. |
The value is an integer ranging from 0 to 128. |
host-name host-name |
Specifies the hostname. |
The value is a string of 1 to 255 case-sensitive characters, spaces not supported. |
longer-match |
Displays only the routes that match the specified network or prefix. |
- |
time-range |
Displays routes that are generated within a specified period. |
- |
min-age |
Specifies the start generation time. |
The value is a string of characters, in the format of XXdXXhXXmXXs. |
max-age |
Specifies the end generation time. |
The value is a string of characters, in the format of XXdXXhXXmXXs. |
protocol |
Displays routes of a specified protocol. |
- |
bgp |
displays BGP IPv6 routes. |
- |
direct |
displays direct IPv6 routes. |
- |
isis |
displays IS-IS IPv6 routes. |
- |
ospfv3 |
displays OSPFv3 routes. |
- |
ripng |
displays RIPng routes. |
- |
static |
displays static IPv6 routes. |
- |
unr |
Displays user network routes. |
- |
inactive |
Displays information about inactive routes only. If inactive is not specified, information about active and inactive routes is displayed. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ipv6 routing-table topology topo1 protocol static
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : Static
Summary Count : 1
Static routing table status :<Active>
Summary Count : 1
Destination : 2001:db8:1:: PrefixLength : 23
NextHop : :: Preference : 23
Cost : 0 Protocol : Static
RelayNextHop : :: TunnelID : 0x0
Interface : NULL0 Flags : D
Static routing table status :<Inactive>
Summary Count : 0
Item | Description |
---|---|
Routing Table | Routing table. |
Static routing table status | The state of static routing table. |
Summary Count | Number of summary routes. |
Destination | Address of the destination network or host. |
PrefixLength | Length of the address prefix. |
NextHop | Next hop. |
Preference | Protocol priority. |
Cost | Route cost. |
Protocol | Protocol of imported routes. |
RelayNextHop | Recursive next hop. |
TunnelID | Tunnel ID. The value 0x0 indicates that no tunnel is used or no tunnel has been set up. |
Interface | Outbound interface through which the next hop is reachable. |
Flags | Route flags. |
Route Flags | Route flags.
|