IPv6 Configuration Guide K/KA/KB.15.15

Example 117 Viewing the IPv6 routing table
HP Switch(config)# show ipv6 route
IPv6 Route Entries
Destination : ::/0
Gateway : 2001:db8:e::55:2
Type: static Sub-Type: NA Distance: 130
1
Metric: 1
Destination : ::1/128
Gateway : lo0
Type: connected Sub-Type: NA Distance: 0 Metric: 1
Destination : 2001:db8:1::127/128
Gateway : lo6
Type: connected Sub-Type: NA Distance: 0 Metric: 1
Destination : 2001:db8:a::/64
Gateway : fe80::22:1%vlan22
Type: ospf3 Sub-Type: InterArea
2
Distance: 110 Metric: 2
Destination : 2001:db8:b::/64
Gateway : VLAN22
Type: connected Sub-Type: NA Distance: 0
3
Metric: 1
Destination : 2001:db8:c::/64
Gateway : 2001:db8:e::55:2
Type: static Sub-Type: NA Distance: 120 Metric: 1
1
The Default Route Configured with a Non-Default Distance
2
OSPFv3 Route, with “InterArea”Sub-Type and Default Distance
3
Static Route with Non-Default Distance
Enabling IPv6 routing
1. On each VLAN, configure stateless address autoconfiguration and at least one IPv6 global
unicast address:
vlan n ipv6 address autoconfig
vlan n ipv6 address prefix/prefix-length eui-64
These commands result in a link-local address and a global unicast address having an interface
ID derived from the routing switch's MAC address. For more information on this topic, or to
manually configure link-local and global unicast addressing with a non-EUI interface ID, see
“Statically configuring a link-local unicast address” (page 18).
2. Suppress automatic (default) RAs on VLAN interfaces where you need to make configuration
changes or where you do not currently want these advertisements generated:
To globally suppress RAs on the routing switch, use this command in the global config
context:
ipv6 nd suppress-ra
To suppress RAs on individual VLANs, use this command in the context of each VLAN
where you want the advertisements suppressed:
ipv6 nd ra suppress
The no form of the above two suppress commands disables RA suppression. For more
information on RAs, see “IPv6 Router Advertisements” (page 186).
Enabling IPv6 routing 171