set ipv6 gateway
SecureStack C2 Configuration Guide 21-5
Mode
Switchmode,read‐write.
Usage
Thiscommandclearsaddressesmanuallyconfiguredwiththesetipv6addresscommand.Usethe
clearipv6gatewaycommandtocleartheIPv6gatewayaddress.
Example
ThisexampleillustratesthatthiscommandclearsonlythoseIPv6addressesconfiguredwiththe
setipv6addresscommand.Thelink‐localaddressforthehostinterfac eand thegatewayaddress
arenotremovedwiththiscommand.
C2(su)->show ipv6 address
Name IPv6 Address
------------ ----------------------------------------
host FE80::201:F4FF:FE5C:2880/64
host 2001:DB8:1234:5555:201:F4FF:FE5C:2880/64
host 2001:DB8:1234:5555::9876:2/64
gateway FE80::201:F4FF:FE5D:1234
C2(su)->clear ipv6 address all
C2(su)->show ipv6 address
Name IPv6 Address
------------ ----------------------------------------
host FE80::201:F4FF:FE5C:2880/64
gateway FE80::201:F4FF:FE5D:1234
set ipv6 gateway
UsethiscommandtoconfiguretheIPv6gateway(defaultrouter)address.
Syntax
set ipv6 gateway ipv6-addr
Parameters
Defaults
None.
Mode
Switchmode,read‐write.
Usage
ThiscommandconfigurestheIPv6gatewayaddress.OnlyoneIPv6gatewayaddresscanbe
configuredfortheswitch,soexecutingthiscommandwhenagatewayaddresshasalreadybeen
configuredwilloverwritethepreviouslyconfiguredaddress.
ipv6‐addr TheIPv6addresstobeconfigured.Theaddresscanbeaglobalunicastor
link‐localIPv6address,intheformdocumentedinRFC4291,withthe
addressspecifiedinhexadecimalusing16‐bitvaluesbetweencolons.