Associating VLANs with Ethernet Interfaces
After creating a VLAN, you can associate it with an Ethernet interface that either does not have anything stacked on it or has a VLAN major interface stacked on it. When a VLAN is associated with an Ethernet port, a VLAN major interface (if one does not already exist) and VLAN subinterface are created on that port.
To associate a VLAN with an Ethernet interface:
- In the Instance Explorer, select the interface you want to associate with the VLAN.
- Right-click, and click Associate VLANs.
If Associate VLANs does not appear in the pop-up menu, there is probably an object other than a VLAN already created on the interface you selected. Double-click the interface to display any objects created on it. Also, if the object is not a VLAN major interface, then no VLANs can be associated.
The VLAN Association - Insert/Remove VLANs dialog box appears.
![]()
- Available VLANs—VLANs that are available for association with the Ethernet port
- Selected VLANs—VLANs already associated with the Ethernet port
- To associate one or more VLANs with the interface, select the VLAN(s) from the Available VLANs list, and click Add. The VLAN(s) are added to the Selected VLANs list.
You can select multiple VLANs simultaneously.
If you want to associate the interface with a VLAN that is not listed in the Available VLANs list, you must create the VLAN first. See Creating VLANs.
- To disassociate one or more VLANs from the interface, select the VLAN(s) from the Selected VLANs list, and click Remove. The VLAN(s) are moved to the Available VLANs list.
VLANs are associated with or disassociated from the Ethernet port. If you remove all associations, the VLAN major interface is removed.
Creating VLAN Interfaces
You can create a VLAN major interface manually. If you do this, when you associate a VLAN with the Ethernet interface, no major interface is created. Instead, the VLAN subinterfaces are stacked on the manually created VLAN major interface.
To create a VLAN major interface manually:
The Create VLAN Interface dialog box appears.
![]()