display ipv6 routing-table
Format
display ipv6 routing-table [ verbose | brief ]
display ipv6 routing-table ipv6-address [ prefix-length ] [ longer-match ] [ verbose | brief ]
display ipv6 routing-table ipv6-address1 [ prefix-length1 ] ipv6-address2 prefix-length2 [ verbose | brief ]
display ipv6 routing-table acl { acl6-number | acl6-name } [ verbose | brief ]
display ipv6 routing-table ipv6-prefix ipv6-prefix-name [ verbose | brief ]
Parameters
Parameter | Description | Value |
---|---|---|
verbose | Displays detailed information about all the routes in the current routing table, including active and inactive routes. | - |
brief | Displays brief information about active routes in the current routing table. | - |
ipv6-address | Displays the routes with the specified IPv6 destination address. | The value is a 32-digit hexadecimal number, in the X:X:X:X:X:X:X:X format. |
prefix-length | Specifies the prefix length of an IPv6 destination address. | The value is an integer that ranges from 0 to 128. |
longer-match | Displays the routes with the specified destination address and mask. | - |
ipv6-address1 | Specifies the start IPv6 address in an IP address range. ipv6-address1 and ipv6-address2 determine an IP address range. Only the routes in the IP address range are displayed. | The value is a 32-digit hexadecimal number, in the X:X:X:X:X:X:X:X format. |
ipv6-address2 | Specifies the end IPv6 address in an IP address range. ipv6-address1 and ipv6-address2 determine an IP address range. Only the routes in the IP address range are displayed. | The value is a 32-digit hexadecimal number, in the X:X:X:X:X:X:X:X format. |
prefix-length1 | Specifies the mask length of the start IPv6 address. | The value is an integer that ranges from 0 to 128. |
prefix-length2 | Specifies the mask length of the end IPv6 address. | The value is an integer that ranges from 0 to 128. |
acl acl6-number | Displays the routes that match the ACL6 with the specified ACL number. If the specified ACL6 does not exist, information about all active routes is displayed. | The value is an integer that ranges from 2000 to 2999. |
acl acl6-name | Displays the routes that match the ACL6 with the specified ACL name. If the specified ACL6 does not exist, information about all active routes is displayed. | The value is a string of 1 to 32 case-sensitive characters without spaces. The name starts with a letter and can contain letters, digits, hyphens (-), or underlines (_). |
ipv6-prefix ipv6-prefix-name | Displays the routes that match the specified IPv6 prefix list. If the specified IPv6 prefix list does not exist, information about all active routes is displayed. | The value is a string of 1 to 169 case-sensitive characters without spaces. |
Usage Guidelines
If the verbose keyword is not specified, the command output includes the destination address, prefix length, protocol type, preference, cost, next hop, outbound interface, tunnel ID, flag, and status of a route.
An iterated route is counted as one route regardless of how many outbound interfaces and next hops the route finds.
Example
# Display the summary of the current routing table.
<AC6605> display ipv6 routing-table Routing Table : Public Destinations : 4 Routes : 4 Destination : ::1 PrefixLength : 128 NextHop : ::1 Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : InLoopBack0 Flags : D Destination : FC00:: PrefixLength : 64 NextHop : FC00::2 Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : Vlanif10 Flags : D Destination : FC00::2 PrefixLength : 128 NextHop : ::1 Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : Vlanif10 Flags : D Destination : FC80:: PrefixLength : 10 NextHop : :: Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : D
# Display brief information about routes in the routing table.
<AC6605> display ipv6 routing-table brief
Routing Table : Public
Destinations : 1 Routes : 1
Format :
Destination/Mask Protocol
Nexthop Interface
------------------------------------------------------------------------------
::1/128 Direct
::1 InLoopBack0
Item |
Description |
---|---|
Routing Tables : Public |
The routing table is a public routing table. |
Destinations |
Total number of destination networks or hosts. |
Routes |
Total number of routes. |
Destination |
IP address of the destination network or host of a route. |
PrefixLength |
Prefix length of a route. |
NextHop |
Next-hop IPv6 address of a route. |
Preference |
Preference of a route. |
Cost |
Cost of a route. |
Protocol |
Routing protocol of 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 is reachable. |
Flags |
Flag of a route:
|
# Display detailed information about the IPv6 routing table.
<AC6605> display ipv6 routing-table verbose
Routing Table : Public Destinations : 2 Routes : 2 Destination : ::1 PrefixLength : 128 NextHop : ::1 Preference : 0 Neighbour : :: ProcessID : 0 Label : NULL Protocol : Direct State : Active NoAdv Cost : 0 Entry ID : 1 EntryFlags : 0x80010050 Reference Cnt: 1 Tag : 0 Priority : high Age : 84410sec IndirectID : 0x0 RelayNextHop : :: TunnelID : 0x0 Interface : InLoopBack0 Flags : D Destination : FC01::1 PrefixLength : 128 NextHop : FC02::2 Preference : 60 Neighbour : :: ProcessID : 0 Label : NULL Protocol : Static State : Active Adv Relied Cost : 0 Entry ID : 2 EntryFlags : 0x80020140 Reference Cnt: 1 Tag : 0 Priority : high Age : 79036sec IndirectID : 0x80000001 RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : RD
Item |
Description |
---|---|
Neighbour |
IPv6 address of a neighbor interface. |
ProcessID |
Routing protocol process ID of a route. |
Label |
Label carried in a route. |
State |
Status of a route:
|
Entry ID |
ID of a routing entry in the routing table. |
EntryFlags |
Flag of a routing entry. |
Reference Cnt |
Number of times a route is referenced. |
Tag |
Routing management tag. The value is an integer that ranges from 0 to 4294967295. |
Priority |
Convergence priority of route:
|
IndirectID |
ID of indirect next hop. |
Age |
Time a route is generated. |