Configuring an S-VLAN Subinterface
To configure an S-VLAN subinterface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet port.host1(config)#interface fastEthernet 4/0
- Specify VLAN as the encapsulation method.host1(config-if)#encapsulation vlan
The VLAN major interface is added.
- Create a VLAN subinterface by adding a subinterface number
to the interface identification command.host1(config-if)#interface fastEthernet 4/1.1
- Assign an S-VLAN ID and a VLAN ID for the subinterface.host1(config-if)#svlan id 4 255
- Assign an S-VLAN Ethertype.host1(config-if)#svlan ethertype 88a8
Hide Navigation Pane
Show Navigation Pane
SHA1