34
eth0
ip ipv6-address
AAAA:BBBB:CCCC:DDDD:E
EEE:FFFF:GGGG:HHHH/M
This command configures a global scope of
IPv6 address and subnet mask for the system.
eth0
ip ipv6-addressdefault-gateway
AAAA:BBBB:CCCC:DDDD:E
EEE:FFFF:GGGG:HHHH
This command configures a default gateway for
the system.
eth0
ip ipv6-dhcp client
(disable|enable|renew|
next_restart)
This command configures a DHCPv6 client
function for the system.
disable
: Use a static IP address on the switch.
enable & renew
: Use DHCPv6 client to get an
IP address from DHCPv6 server.
next_restart
: The settings will take effect on
next system restart.
Example
: The procedures to configure an IP address for the Switch.
To enter the configure node.
L2SWITCH#configure terminal
L2SWITCH(config)#
To enter the ETH0 interface node.
L2SWITCH(config)#interface eth0
L2SWITCH(config-if)#
To get an IP address from a DHCP server.
L2SWITCH(config-if)#ip dhcp client enable
To configure a static IP address and a gateway for the Switch.
L2SWITCH(config-if)#ip address 192.168.202.111/24
L2SWITCH(config-if)#ip address default-gateway 192.168.202.1
To configure a static global IPv6 address and a gateway for the Switch.
Please set the static global IPv6 address first.
L2SWITCH(config-if)#ip ipv6-address 3ffe::1235/64
And the set the IPv6 default gateway address.
L2SWITCH(config-if)#ip ipv6-address default-gateway 3ffe::1234
Summary of Contents for NGI-M08C4POE8-2
Page 1: ......
Page 197: ...197 Clear Clear the statistics of the valn ...
Page 298: ...298 9 2 2 Web Configurations ...