9 ip address, 10 ipv6 address – PLANET XGS3-24040 User Manual
Page 253
17-11
Switch(config)#ipv6 proxy enable
17.2.9 ip address
Command:
ip address
no ip address [
Function:
Set IP address and net mask of switch; the “no ip address [
command deletes the IP address configuration.
Parameter:
[secondary] indicates that the IP address is configured as secondary IP address.
Command Mode:
VLAN interface configuration mode
Default:
The system default is no IP address configuration.
Usage Guide:
This command configures IP address on VLAN interface manually. If optional parameter secondary
is not configured, then it is configured as the primary IP address of VLAN interface; if optional
parameter secondary is configured, then that means the IP address is the secondary IP address of
VLAN. One VLAN interface can only have one primary IP address and more than one secondary IP
addresses. Primary IP and Secondary IP all can be used on SNMP/Web/Telnet management.
Furthermore, the switch also provides BOOTP/DHCP manner to get IP address.
Example:
The IP address of switch VLAN1 interface is set to 192.168.1.10/24.
Switch(Config-if-Vlan1)#ip address 192.168.1.10 255.255.255.0
17.2.10 ipv6 address
Command:
ipv6 address
no ipv6 address
Function:
Configure aggregately global unicast address, site-local address and link-local address for the
interface.
Parameter:
Parameter <ipv6-address> is the prefix of IPv6 address, parameter <prefix-length> is the prefix
length of IPv6 address, which is between 3-128, eui-64 means IPv6 address is generated
automatically based on eui64 interface identifier of the interface.
Command Mode:
Interface Configuration Mode.