cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2980
Views
0
Helpful
1
Replies

show ipv6 route X::X/X command

In IPv4 if I type show ip route x.x.x.x I get a detailed view of the information of that route.

However I am finidng that in IPv6, when I type show ipv6 route X::X I simply get the ipv6 routing table printed out with just that one route in it.

For example:

IP version 4

R5#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

S    192.168.1.0/24 is directly connected, Null0


R5#show ip route 192.168.1.0
Routing entry for 192.168.1.0/24
  Known via "static", distance 1, metric 0 (connected)
  Routing Descriptor Blocks:
  * directly connected, via Null0
      Route metric is 0, traffic share count is 1

IP version 6

R5#show ipv6 route
IPv6 Routing Table - 10 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route, M - MIPv6
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       D - EIGRP, EX - EIGRP external
R   2004::4/128 [120/5]
     via FE80::C003:14FF:FE08:0, Serial0/0
C   2005::/64 [0/0]
     via ::, Loopback1
L   2005::5/128 [0/0]
     via ::, Loopback1
R   2012::/64 [120/5]
     via FE80::C003:14FF:FE08:0, Serial0/0
R   2013::/64 [120/5]
     via FE80::C003:14FF:FE08:0, Serial0/0
R   2023::/64 [120/5]
     via FE80::C003:14FF:FE08:0, Serial0/0
R   2024::/64 [120/5]
     via FE80::C003:14FF:FE08:0, Serial0/0
C   2035::/64 [0/0]
     via ::, Serial0/0
L   2035::5/128 [0/0]
     via ::, Serial0/0
L   FF00::/8 [0/0]
     via ::, Null0


R5#show ipv6 route 2013::/64
IPv6 Routing Table - 10 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route, M - MIPv6
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       D - EIGRP, EX - EIGRP external
R   2013::/64 [120/5]
     via FE80::C003:14FF:FE08:0, Serial0/0  <<<I'm just getting the routing table with the specified route in it
R5#

Can anyone help with this. Is it an IOS problem or am I typing in the wrong command. My Cisco book tells me that command should work.

Thanks in advance.

1 Reply 1

fabios
Level 1
Level 1

It should work. This is mine

router#sh ipv6 route 2001:x:1F0A:192::/64

Routing entry for 2001:x:1F0A:192::/64

  Known via "connected", distance 0, metric 0, type connected

  Redistributing via rip home

  Route count is 1/1, share count 0

  Routing paths:

    directly connected via Tunnel6

      Last updated 2w4d ago

What routig protocol are you running in IPv6? And what IOS?

Fabio

Review Cisco Networking for a $25 gift card