To use VLANs, you must first configure the Ethernet interface for VLAN encapsulation. This creates the VLAN major interface. For example:
- host1(config)#interface fastEthernet 4/0
- host1(config-if)#encapsulation vlan
The router creates the VLAN major interface.
You can now create multiple VLAN subinterfaces to carry higher-level protocols. For examples, see Creating a VLAN Subinterface, next.