set ipv6 address
SecureStack C2 Configuration Guide 21-3
set ipv6 address
UsethiscommandtoconfigureIPv6globaladdressinginformation.
Syntax
set ipv6 address ipv6-addr/prefix-length [eui64]
Parameters
Defaults
NoglobalunicastIPv6addressisdefinedbydefault.
Mode
Switchmode,read‐write.
Usage
UsethiscommandtomanuallyconfigureaglobalunicastIPv6addressforIPv6management.You
canspecifytheaddresscompletely,oryoucanusetheoptionaleui64parametertoallowthe
switchtogeneratethelowerorder64bits oftheaddress.
Whenusingtheeui64parameter,youspecifyonlythe
networkprefixandlength.
Examples
ThisexampleshowshowtocompletelyspecifyanIPv6addressbyenteringall128bitsandthe
prefix:
C2(su)->set ipv6 address 2001:0db8:1234:5555::9876:2/64
C2(su)->show ipv6 address
Name IPv6 Address
------------ ----------------------------------------
host FE80::201:F4FF:FE5C:2880/64
host 2001:DB8:1234:5555::9876:2/64
Thisexampleshowshowtousetheeui64parametertoconfigurethelowerorder64bits:
C2(su)->set ipv6 address 2001:0db8:1234:5555::/64 eui64
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
ipv6‐addr TheIPv6addressorprefixtobeconfigured.Thisparametermustbeinthe
formdocumentedinRFC4291,withtheaddressspecifiedinhexadecimal
using16‐bitvaluesbetweencolons.
prefix‐length ThelengthoftheIPv6prefixforthisaddress.Thevalueofprefix‐lengthisa
decimal
numberindicatingthenumberofhigh‐ordercontiguousbitsofthe
addressthatcomprisethenetworkportionoftheaddress.
eui64 (Optional)FormulatetheIPv6addressusinganEUI‐64IDinthelower
order64bitsoftheaddress.