Parameter | Description | Value |
---|---|---|
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. |
- |
verbose |
Displays detailed information about active and inactive routes in the routing table. |
- |
Usage Scenario
The command output includes the destination address, prefix length, protocol type, priority, cost, next hop, outbound interface, tunnel ID, label value carried by the route, time when the route was generated, and route status.
This command without verbose specified displays preferred routes only.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ipv6 routing-table 111::1 64 Routing Table :_Public_ Summary Count : 1 Destination : 111:: PrefixLength : 64 NextHop : 111::2 Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : GigabitEthernet0/1/0 Flags : D
Item | Description |
---|---|
Routing Table | Routing Table. |
Summary Count | Total number of routes. |
Destination | Address of the destination network or host. |
PrefixLength | Length of the prefix. |
NextHop | IPv6 address of the next hop. |
Preference | Priority of the route. |
Cost | Route cost. |
Protocol | Name of the routing protocol. |
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. |