ipv6 hop-limit

Syntax

ipv6 hop-limit 1 - 255

no ipv6 hop-limit 1 - 255

Description

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.

Options

Default: 64; Range: 1 - 255

The no form of the command resets the global hop-limit to the default 64.