Command Guide of WGSW-28040
80
4.4.18 ipv6 address
Command:
ipv6 address
X:X::X:X
prefix
<0-128>
Parameter:
address
X:X::X:X
Specify IPv6 address for switch
prefix
<0-128>
Specify IPv6 prefix length for switch
Mode:
Global Configuration
Usage Guide:
Use “
ipv6 address
” command to specify static IPv6 address.
Example:
This example shows how to add static ipv6 address of the switch.
Switch(config)#
ipv6 address fe80::20e:2eff:fef1:4b3c prefix 128
This example shows how to show current ipv6 address of the switch.
Switch#
show ipv6
IPv6 DHCP Configuration : Disabled
IPv6 DHCP DUID :
IPv6 Auto Configuration : Enabled
IPv6 Link Local Address : fe80::dcad:beff:feef:102/64
IPv6 static Address : fe80::20e:2eff:fef1:4b3c/128
IPv6 static Gateway Address : ::
IPv6 in use Address : fe80::dcad:beff:feef:102/64
IPv6 in use Gateway Address : ::
4.4.19 ipv6 default-gateway
Command:
ipv6 default-gateway
X:X::X:X