166
E
ES4710BD 10 Slots L2/L3/L4 Chassis Switch
2. Configure the IP address for VLAN interface and enables VLAN interface.
Command Explanation
VLAN Mode
ip address
<ip-address> <mask>
[secondary]
no ip address [
<ip-address> <mask>
]
Configures the VLAN interface IP
address; the “
no ip address
[
<ip-address> <mask>
]”
command deletes the VLAN
interface IP address.
VLAN Mode
Shutdown
no shutdown
Enables/Disables VLAN interface
7.2.2.2 VLAN Interface Configuration Commands
7.2.2.2.1 interface vlan
Command: interface vlan
<vlan-id>
no interface vlan
<vlan-id>
Function:
Enters VLAN Interface Mode; the “
no interface vlan
<vlan-id>
” command 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 VLAN Interface Mode for VLAN1.
Switch(Config)#interface vlan 1
Switch(Config-If-Vlan1)#
7.2.2.2.2 ip address
Command: ip address
<ip-address> <mask>
[secondary]
no ip address [
<ip-address> <mask>
] [secondary]
Function:
Sets the IP address and mask for the switch; the “
no ip address [
<ip-address> <mask>
]”
command deletes the specified IP address setting.
Command Explanation
Global Mode
interface vlan
<vlan-id>
no interface vlan
<vlan-id>
Enters VLAN Interface Mode; the “
no
interface vlan
<vlan-id>
” command
deletes specified VLAN interface. .