2 interface ethernet 0, 3 ip address, 4 ipv6 address – PLANET XGS3-24040 User Manual
Page 66
XGS3 Command Guide
1-66
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#
1.3.2 interface ethernet 0
This command is not supported by the switch.
1.3.3 ip address
Command:
ip address
no ip address [<ip-address> <mask>] [secondary]
Function:
Set the IP address and mask for the specified VLAN interface; the “no ip address
[secondary]” command deletes the specified IP address setting.
Parameter:
[secondary] indicates the IP configured is a secondary IP address.
Default:
No IP address is configured upon switch shipment.
Command mode:
VLAN Interface Mode
Usage Guide:
A VLAN interface must be created first before the user can assign an IP address to the switch.
Example:
Set 10.1.128.1/24 as the IP address of VLAN1 interface.
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip address 10.1.128.1 255.255.255.0
Switch(Config-if-Vlan1)#exit
Switch(config)#
Relative Command:
ip bootp-client enable, ip dhcp-client enable
1.3.4 ipv6 address
Command:
ipv6 address <ipv6address | prefix-length> [eui-64]
no ipv6 address <ipv6address | prefix-length> [eui-64]
Function:
Configure aggregatable global unicast address, site-local address and link-local address for the interface.
Parameters:
ranging from 3 to 128; eui-64 means that the eui64 interface id of the interface will automatically create an IPV6
address.