2 commands for ipv4 address, 1 ip address, 3 ipv6 configuration – Accton Technology ES4626 User Manual
Page 282

282
Command
Explanation
VLAN Interface Configuration Mode
ip address
no ip address [
Configure IP address of VLAN
interface; the no ip address
[
command cancels IP address
of VLAN interface.
9.2.2.2 Commands for IPv4 address
9.2.2.2.1 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:
is IP address, dotted decimal format;
mask, dotted decimal format; what [secondary] represents means the configured IP
address is slave 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 master IP
address of VLAN interface; if optional parameter secondary is configured, then that
means the IP address is the slave IP address of VLAN. One VLAN interface can only
have one master IP address and more than one slave IP addresses. Master IP and Slave
IP all can be used on SNMP/Web/Telnet management. Furthermore, the switch also
provides BOOTP/DHCP manner to capture 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
9.2.2.3 IPv6 Configuration
The configuration Task List of IPv6 is as follows:
1. IPv6
basic
configuration
(
1) Globally enable IPv6
(
2) Configure interface IPv6 address
(
3) Configure IPv6 static routing
2. IPv6 Neighbor Discovery Configuration
(
1) Configure DAD neighbor query message number