Configuring an S-VLAN Subinterface

To configure an S-VLAN subinterface:

  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 VLAN major interface is added.

  3. Create a VLAN subinterface by adding a subinterface number to the interface identification command.
    host1(config-if)#interface fastEthernet 4/1.1
  4. Assign an S-VLAN ID and a VLAN ID for the subinterface.
    host1(config-if)#svlan id 4 255
  5. Assign an S-VLAN Ethertype.
    host1(config-if)#svlan ethertype 88a8

Related Documentation