Specifications
set ipv6 gateway
17-6 IPv6 Management
set ipv6 gateway
UsethiscommandtoconfiguretheIPv6gateway(defa ultrouter)address.
Syntax
set ipv6 gateway ipv6-addr
Parameters
Defaults
None.
Mode
Switchmode,read‐write.
Usage
ThiscommandconfigurestheIPv6gatewayaddress.OnlyoneIPv6gatewayaddresscanbe
configuredfortheswitch,soexecutingthiscommandwhenagatewayaddresshasalreadybeen
configuredwilloverwritethepreviouslyconfiguredaddress.
Usetheshowipv6addresscommandtodisplayaconfiguredIPv6gatewayaddress.
Example
ThisexampleshowshowtoconfigureanIPv6gatewayaddressusingalink‐localaddress.
C3(su)->set ipv6 gateway fe80::201:f4ff:fe5d:1234
C3(su)->show ipv6 address
Name IPv6 Address
------------ ----------------------------------------
host FE80::201:F4FF:FE5C:2880/64
gateway FE80::201:F4FF:FE5D:1234
ipv6‐addr TheIPv6addresstobeconfigured.Theaddresscanbeaglobalunicastor
link‐localIPv6address,intheformdocumentedinRFC4291,withthe
addressspecifiedinhexadecimalusing16‐bitvaluesbetweencolons.