IPv6 Configuration Guide K/KA/KB.15.15

show run
show ip ospf
(if OSPFv2 is enabled)
show ipv6 ospf3
(if OSPFv3 is enabled)
Configuring the IPv6 hop limit
Syntax:
[no] ipv6 hop-limit 1 - 255
Global config operation
This global config command sets the maximum number of routers (hops) through
which packets originating on the routing switch can pass before being discarded
(global hop limit).
Each router decrements a packet's hop limit by 1 before forwarding the packet.
If decrementing the hop limit causes it to go to 0 (zero), the decrementing router
drops the packet instead of forwarding it.
Effect on the Hop Limit Included in Per Router Advertisements (RAs)
If the routing switch is enabled to send RAs on a given IP routing interface, and
that interface’s RA configuration does not include a hop limit entry, then the
global hop limit configured by this command is inserted in the RAs sent from
the routing switch on that interface.
But if the interface’s RA configuration does include a local hop limit entry, then the
global config hop limit is replaced by the local hop limit entry configured for
inclusion in RAs sent by the routing switch on that interface. For information on
configuring a hop limit included in RAs sent on an IP routing interface, see “Setting
or changing the hop-limit for host-generated packets” (page 188).
Default: 64; Range: 1 - 255
The no form of the command resets the global hop-limit to the default 64.
If hop-limit is set to a non-default value, you can view the current setting by using the show run
command. (When set to the default value, hop-limit does not appear in the show [ run |
config ] command output.
Configuring the IPv6 default route
The IPv6 default route (::/0) is a static route used for all traffic that has a destination network not
reachable through any other IPv6 route in the routing table. For more information on static routes,
see “IPv6 Static Routing” (page 180).
Syntax:
ipv6 route ::/0 ipv6-gateway-addr distance 1 - 255
ipv6 route ::/0 ipv6-addr
Used in the global config context to configure the default route and gateway to use
for traffic sent to the default route.
::/0
Specifies the default IPv6 route.
ipv6-gateway-addr
Specifies the next-hop router for traffic sent to the default route.
Configuring the IPv6 hop limit 169