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,readwrite.
Usage
Thiscommandclearsaddressesmanuallyconfiguredwiththesetipv6addresscommand.Usethe
clearipv6gatewaycommandtocleartheIPv6gatewayaddress.
Example
ThisexampleillustratesthatthiscommandclearsonlythoseIPv6addressesconfiguredwiththe
setipv6addresscommand.Thelinklocaladdressforthehostinterfaceandthegatewayaddress
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
ipv6addr TheIPv6addresstobecleared.Thisparametermustbeintheform
documentedinRFC4291,withtheaddressspecifiedinhexadecimalusing
16bitvaluesbetweencolons.
prefixlength ThelengthoftheIPv6prefixfor thisaddress.Thevalueofprefixlengthisa
decimalnumberindicating
thenumberofhighordercontiguousbitsofthe
addressthatcomprisethenetworkportionoftheaddress.
all DeletesallIPv6globaladdresses.