show ipv6 route

Displays the IPv6 route table information.
Syntax
show ipv6 route [ vrf vrf-nam ] [ ipv6-address | ipv6-prefix/prefix-length | bgp | connect | ospf | rip | static | summary ]
Parameters
vrf vrf-name
Displays the IPv6 route table information for the specified Virtual Routing and Forwarding (VRF) instance.
ipv6-address
Restricts the display to the entries for the specified IPv6 address. Specify this parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373.
ipv6-prefix/prefix-length
Restricts the display to the entries for the specified IPv6 prefix. Specify the ipv6-prefix parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. Specify the prefix-length parameter as a decimal value. A slash mark (/) must follow the ipv6-prefix parameter and precede the prefix-length parameter.
bgp
Displays Border Gateway Protocol (BGP) routes.
connect
Displays directly attached routes.
ospf
Displays Open Shortest Path First (OSPF) routes.
rip
Displays Routing Information Protocol (RIP) routes.
static
Displays static IPv6 routes.
summary
Displays a summary of the prefixes and different route types.
Modes

Privileged EXEC mode

The show ipv6 route command displays the following information:

Output field Description
Number of entries The number of entries in the IPv6 route table.
Type The route type, which can be one of the following entries:
  • C - The destination is directly connected to the router.
  • S - The route is a static route.
  • Sv - The route is an inter-VRF static route.
  • R - The route is learned from RIPng.
  • O - The route is learned from OSPFv3.
  • B - The route is learned from BGP4.
IPv6 Prefix The destination network of the route.
Next Hop Router The next-hop router.
Interface The interface through which this router sends packets to reach the route's destination.
Dis/Metric The route’s administrative distance and metric value.

The show ipv6 route summary command displays the following information:

Output field Description
Number of entries The number of entries in the IPv6 route table.
Number of route types The number of entries for each route type.
Number of prefixes A summary of prefixes in the IPv6 route table, sorted by prefix length.
Examples

The following example displays IPv6 route information.

device# show ipv6 route
IPv6 Routing Table - 2 entries:
Type Codes - B:BGP C:Connected L:Local O:OSPF R:RIP S:Static
BGP  Codes - i:iBGP e:eBGP
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
STATIC Codes - d:DHCPv6 v:Inter-VRF
Type IPv6 Prefix           Next Hop Router    Interface     Dis/Metric     Uptime
Sv   22::22/128            100:1:1::10        ve 100        1/1            0m3s
C    200:1:1::/48          ::                 ve 200        0/0            11d13h

The following example displays summary information about IPv6 routes.

device# show ipv6 route summary
IPv6 Routing Table - 2 entries:
  1 connected, 1 static, 0 RIP, 0 OSPF, 0 BGP
  Number of prefixes:
  /48:1 /128:1
History
Release version Command history
08.0.95 This command was modified to display the details of static inter-VRF routing.