Chapter4ServiceConguration
Syntax
setipv6port<0>vlan<1-4094>
ParameterDescription
ParameterDescription
<0>NumberofanIPv6layer-3port.Thecurrentvalueis0.
<1-4094>VLANID.
4.18.2setipv6portipv6address
Purpose
ThiscommandsetstheIPv6addressforanIPv6layer-3portandtheprexlengthofthe
address.
CommandMode
Layer-3congurationmode
Syntax
setipv6port<0>ipv6address{<ipv6Addr/M>|<ipv6Addr><wildcard>}
ParameterDescription
ParameterDescription
<0>NumberofanIPv6layer-3port.Thecurrentvalueis0.
<ipv6Addr/M>
IPv6address/lengthoftheaddressprex.AnIPv6128-bit
addressisrepresentedasaseriesofeight16-bithexadecimal
eldsseparatedbycolonsintheformatofn:n:n:n:n:n:n:n,for
example,12ab:08CD:0000:0000:0000:0000:0000:0012.Foreasy
implementation,leadingzerosineacheldareoptional.TheIPv6
addressabovealsocanbeexpressedas12ab:8CD:0:0:0:0:0:12.
Youcanalsousetwocolons(::)torepresentsuccessive
hexadecimaleldsofzerossothattheIPv6addressabovealso
canbeexpressedas12ab:8CD::12.Thelengthofanaddress
prexisanumberintherangeof1to128.
<ipv6Addr>IPv6address,suchas12ab:8CD::12.
<wildcard>
LengthofanIPv6addressprex,intherangeof1to128,for
example,64.
4-369
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential