Specifications
clear ipv6 address
SecureStack C3 Configuration Guide 17-5
clear ipv6 address
UsethiscommandtoclearIPv6globaladdresses.
Syntax
clear ipv6 [address {all|ipv6-addr/prefix-length}]
Parameters
Defaults
Ifaddressisnotentered,allmanuallyconfiguredglobalIPv6addressesarecleared.
Mode
Switchmode,read‐write.
Usage
Thiscommandclearsaddressesmanuallyconfiguredwiththesetipv6addresscommand.Usethe
clearipv6gatewaycommandtocleartheIPv6gatewayaddress.
Example
ThisexampleillustratesthatthiscommandclearsonlythoseIPv6addressesconfiguredwiththe
setipv6addresscommand.Thelink‐localaddressforthehostinterfaceandthegatewayaddress
arenotremovedwiththiscommand.
C3(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
C3(su)->clear ipv6 address all
C3(su)->show ipv6 address
Name IPv6 Address
------------ ----------------------------------------
host FE80::201:F4FF:FE5C:2880/64
gateway FE80::201:F4FF:FE5D:1234
ipv6‐addr TheIPv6addresstobecleared.Thisparametermustbeintheform
documentedinRFC4291,withtheaddressspecifiedinhexadecimalusing
16‐bitvaluesbetweencolons.
prefix‐length ThelengthoftheIPv6prefixfor thisaddress.Thevalueofprefix‐lengthisa
decimalnumberindicating
thenumberofhigh‐ordercontiguousbitsofthe
addressthatcomprisethenetworkportionoftheaddress.
all DeletesallIPv6globaladdresses.