1.
Enter VLAN Mode
2.
Configure the IP address for VLAN interface and enables VLAN interface.
1. Enter VLAN Mode
Command
Global Mode
ip
address
{<ip-address>
[secondary] | bootp | dhcp}
no ip address [<ip-address> <mask>]
2. Configure the IP address for VLAN interface and enables VLAN interface.
Command
VLAN Mode
ip address <ip-address> <mask> [secondary]
no ip address [<ip-address> <mask>]
VLAN Mode
shutdown
no shutdown
3.2.2.2 VLAN Interface Configuration Commands
3.2.2.2.1
interface vlan
Command: interface vlan <vlan-id>
no interface vlan <vlan-id>
Function: Enter VLAN Interface Mode; the "no interface vlan <vlan-id>" command
deletes existing VLAN interface. .
Parameter: <vlan-id> is the VLAN ID for the establish VLAN, 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 will exit the VLAN Mode to Global Mode.
Example: Enter the VLAN Interface Mode for VLAN1.
Switch(Config)#interface vlan 1
Explanation
Enter VLAN Interface Mode; the "no
<mask>
interface vlan <vlan-id>" command
deletes specified VLAN interface or
startup client protocol for bootp/dhcp
Explanation
Configure the VLAN interface
IP address;
address
<mask>]" command deletes
VLAN interface IP address.
Enable/Disable VLAN interface
110
the "no ip
[<ip-address>