IPv6 Configuration Guide K/KA/KB.15.15

distance 1 - 255
Specifies the administrative distance to associate with a static route.
Default: 1; Range: 1 - 255
The no form of the command deletes the default route for the specified next-hop
destination from the routing table.
Example 116 Configuring the IPv6 default route
If 2001:db8:c::9f:35 is the IPv6 address of your ISP router, all non-local traffic could be directed
to the ISP by configuring the following default route:
HP Switch(config)# ipv6 route ::/0 2001:db8:c::9f:35
To view the default route in the routing table, use show ipv6 route. See Example 117 (page 171).
Viewing the IPv6 routing table
The routing table automatically includes directly connected networks (loopback interfaces and
destinations on the routing switch itself). Other routes are added when discovered and determined
by the routing switch to be the best route to the given destination.
Syntax:
show ipv6 route
[ ipv6-destination [ connected | static | ospf3 ]]
[ connected ipv6-destination ]
[ static ipv6-destination ]
[ ospf3 ipv6-destination ]
Displays the current IPv6 routing table content for the routing switch.
Where there are multiple routes to the same destination, only the route with the
lowest administrative distance is entered in the routing table and used to forward
traffic to that destination.
The complete IPv6 route table is displayed by entering the CLI command show ipv6 route from
any context level in the console CLI.
170 IPv6 Routing Basics