Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Creating a VLAN Major Interface

    To use VLANs, you must first configure the Ethernet interface for VLAN encapsulation. This creates the VLAN major interface.

    To configure the Ethernet interface for VLAN encapsulation:

    1. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
      host1(config)#interface fastEthernet 4/0
    2. Specify VLAN as the encapsulation method.
      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 Configuring VLAN Subinterfaces, next.

    Published: 2014-08-14