2 commands for vlan interface, 1 interface vlan, 2 ip address – Accton Technology ES4626 User Manual
Page 141

141
VLAN Mode
ip address
no ip address [
Configures the VLAN interface
IP address; the “no ip address
[
command deletes the VLAN
interface IP address.
VLAN Mode
Shutdown
no shutdown
Enables/Disables VLAN
interface
3.2.2.2 Commands for Vlan Interface
3.2.2.2.1 interface vlan
Command: interface vlan
no interface vlan
Function:
Enters VLAN Interface Mode; the “no interface vlan
deletes existing VLAN interface.
Parameters: <vlan-id>
is the VLAN ID for the establish VLAN, the valid range is 1 to
4094.
Command mode:
Global Mode
Usage Guide:
Before setting a VLAN interface, the existence of the VLAN must be
verified. Run the exit command to exit the VLAN Mode to Global Mode.
Example:
Entering into the Interface Mode for VLAN1.
Switch(Config)#interface vlan 1
Switch(Config-If-Vlan1)#
3.2.2.2.2 ip address
Command: ip address
no ip address [
Function:
Sets the IP address and mask for the switch; the “no ip address
[
command deletes the specified IP address setting.
Parameters:
mask in decimal format; [secondary] indicates the IP configured is a secondary IP
address.
Command mode:
Interface Mode
Default:
No IP address is configured by default.
Usage Guide:
This command configures the IP address for VLAN interface manually. If
the optional parameter secondary is not present, the IP address will be the primary IP of