Configuring an S-VLAN Subinterface
To configure an S-VLAN subinterface:
1.
2.
3.
4.
5.
Configuring PPPoE over an S-VLAN
To configure PPPoE over an S-VLAN over an Ethernet interface:
1.
2.
3.
4.
5.
"Configuring PPPoE over an S-VLAN" on page 181
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
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
Chapter 5: Configuring VLAN and S-VLAN Subinterfaces
Configuring an S-VLAN Subinterface
181