Find answers to your technical questions and learn how to use our products
Search suggestions:
Enters VLAN interface configuration mode. Use no interface vlan to delete the interface.
If the specified interface does not exist, the system creates it and enters its configuration mode.
[no] interface vlan vlan_id[.ip_interface]
Parameter
Description
Possible Values
Default Value
vlan_id
The VLAN ID number of this interface
1-4,090
ip_interface
The IP sub-interface number within this interface. A number of IP interfaces may be bound to a Layer 3 interface.
0-1,024
read-write
general
To create VLAN 2 and enter its configuration context:
Gxxx-001(super)# interface vlan 2
To create a sub interface 1 on VLAN 2:
Gxxx-001(if:Vlan 2)# interface vlan 2.1
Previous Topic
Next Topic