Monitoring the Current State of IPv6 Routing Tables

Purpose

Display the current state of the routing table, including routes not used for forwarding. You can display all routes, a specific route, detailed information about all or a specific route, or summary counters for the routing table.

Note:

  • You must configure an IPv6 license using the license ipv6 command before using the IPv6 routing protocol configuration commands on the E Series router.
  • All IPv6 routing protocol-related configurations are removed from the virtual router when you issue the no ipv6 command.

Action

To display current state of all routes in the routing table:

host1#show ipv6 route
         Prefix/Length            Type   Dst/Met         Intf
-------------------------------- ------- ------- --------------------
1::/16                           Connect 0/0     loopback1
5::/64                           Connect 0/0     ATM4/0.15
6::/64                           Static  1/0     ATM4/0.15
2003::/16                        Static  1/0     ATM4/0.15

To display summary information of all routes in the routing table:

host1#show ipv6 route summary
Unicast routes:
8 total routes, 576 bytes in route entries
0 isis routes
0 rip routes
3 static routes
2 connected routes
1 bgp routes
0 ospf routes
2 other internal routes
0 access routes
0 internally created access host routes
Last route added/deleted: 2::4/128 by BGP
At MON FEB 04 2008 14:18:25 UTC
Unicast routes used only for Multicast RPF check:
0 total routes, 0 bytes in route entries
0 isis routes
0 rip routes
0 staroughtic routes
0 connected routes
0 bgp routes
0 ospf routes
0 other internal routes
0 access routes
0 internally created access host routes
0 mbgp routes 
0 dvmrp routes 
Last route added/deleted: null by Invalid
At MON FEB 04 2008 14:18:04 UTC
MPLS tunnel routes (not used for forwarding):
3 total routes, 216 bytes in route entries
1 bgp tunnel routes
1 ldp tunnel routes
1 rsvp tunnel routes
Last route added/deleted: 2::4/128 by BGP Tunnel
At MON FEB 04 2008 14:18:26 UTC

To display the detailed information about the specific route:

host1#show ipv6 route 5::/64 detail 
5::/64 Type: Static Distance: 1 Metric: 0 Tag: 1234 Class: 0
        NextHop: 1::2  IntfIndex 10007 Intf ATM4/0.15

Meaning

Table 44 lists the show ipv6 route command output fields.

Table 44: show ipv6 route Output Fields

Field Name

Field Description

Prefix

IPv6 address prefix

Length

Prefix length

Type

Protocol type (possible route types include: Bgp, Connect, Idrp, Igrp, Invalid, Isis, Ndisc, Ospf, Other, Rip, Static)

Dst (or Distance)

Administrative distance for the route

Met (or Metric)

Number of hops

Intf

Interface type and interface specifier

Tag

Route tag assigned for the static route

NextHop

The configured next hop address for this interface

IfIndex

An autogenerated value for the next hop interface

Related Documentation