[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Configuring a S-VLAN Subinterface

Tasks to configure a S-VLAN subinterface include:

Configuring an S-VLAN Subinterface

To configure an S-VLAN subinterface:

  1. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
  2. host1(config)#interface fastEthernet 4/0
    
    
    
  3. Specify VLAN as the encapsulation method.
  4. host1(config-if)#encapsulation vlan
    
    
    

The VLAN major interface is added.

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

Configuring PPPoE over an S-VLAN

To configure PPPoE over an S-VLAN over an Ethernet interface:

  1. Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet port.
  2. host1(config)#interface fastEthernet 4/0
    
    
    
  3. Specify VLAN as the encapsulation method.
  4. host1(config-if)#encapsulation vlan
    
    
    

The VLAN major interface is added.

  1. Create a VLAN subinterface by adding a subinterface number to the interface identification command.
  2. host1(config-if)#interface fastEthernet 4/1.1
    
    
    
  3. Assign an S-VLAN ID and a VLAN ID for the subinterface.
  4. host1(config-if)#svlan id 4 255
    
    
    
  5. Assign an S-VLAN Ethertype.
  6. host1(config-if)#svlan ethertype 88a8 
    
    
    
  7. Specify PPPoE as the encapsulation method on the interface.
  8. host1(config-if)#pppoe
    
    
    
  9. Create a PPPoE subinterface.
  10. host1(config-if)#pppoe subinterface fastEthernet 4/1.1.1
    
    
    
  11. Specify PPP as the encapsulation method on the interface.
  12. host1(config-if)#encapsulation ppp
    
    
    
  13. Assign an IP address and mask.
  14. host1(config-if)#ip address 164.10.6.61 255.255.255.0
    
    
    
  15. (Optional) Configure additional PPPoE subinterfaces by completing Steps 7 through 9 using unique numbering.

Figure 18 shows one S-VLAN subinterface with multiple PPPoE subinterface stacks.

NOTE: Before you can remove an S-VLAN/VLAN subinterface, you must remove the upper-layer interface stack.



Figure 18: Example of PPPoE over S-VLAN Stacking Configuration Steps

encapsulation ppp

encapsulation vlan

ip address

pppoe

pppoe subinterface fastEthernet

pppoe subinterface gigabitEthernet

    pppoe subinterface tenGigabitEthernet

svlan ethertype

svlan id


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]