Switch User Manual
ipv6 route
22-4 IPv6 Configuration
Parameters
Defaults
ThedefaultmaximumnumberofIPv6hopsis64.
Mode
Routerglobalconfiguration:C3(su)‐>router(Config)#
Usage
ThiscommandsetsthevalueofthehoplimitfieldinIPv6packetsoriginatedbythisdevice.This
valueisalsoplacedinthe“CurHopLimit”fieldofrouteradvertisementsgeneratedbythisrouter.
Usethenoformofthiscommandtoresetthelimittothedefaultvalue.
Example
Thisexamplesetsthehoplimitto50.
C3(su)->router(Config)# ipv6 hop-limit 50
ipv6 route
ThiscommandconfiguresstaticIPv6routes.
Syntax
ipv6 route ipv6-prefix/prefix-length interface {tunnel tunnel-id | vlan vlan-id}
next-hop-addr [pref]
no ipv6 route ipv6-prefix/prefix-length interface {tunnel tunnel-id | vlan vlan-
id} next-hop-addr [pref]
Parameters
hops Specifiesthe maximumnumberofIPv6hopsusedinIPv6packetsand
routeradvertisementsgeneratedbythisdevice.Valuecanrangefrom1
to255.Thedefaultvalueis64.
ipv6‐prefix/prefix‐length TheIPv6networkprefixthat isthedestinationofthestaticroute,and
theprefixlength.
TheprefixmustbeintheformdocumentedinRFC4291,withthe
addressspecifiedinhexadecimalusing16‐bitvaluesbetweencolons.
Theprefixlengthisadecimalnumberindicatingthe
numberofhigh‐
ordercontiguousbitsoftheaddressthatcomprisethenetwork
portionoftheaddress.
interface
tunnel
tunnel-id | vlan
vlan-id
SpecifiestheinterfacetypeandIDofdirectstaticroutesfrompoint‐to‐
pointandbroadcastinterfaces.