Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Download Software
Research a Problem Login required
Case Management Login required
Contract & Product Management Login required
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Home > Support > Technical Documentation > Configuring S-VLAN Subinterfaces
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • S-VLAN Overview
  • encapsulation ppp
  • encapsulation vlan
  • interface fastEthernet
  • ip address
  • pppoe
  • pppoe subinterface
  • svlan ethertype
  • svlan id
 

Configuring S-VLAN Subinterfaces

Tasks to configure an S-VLAN subinterface include:

  • Configuring an S-VLAN Subinterface
  • Configuring PPPoE over an S-VLAN

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

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.
    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
  6. Specify PPPoE as the encapsulation method on the interface.
    host1(config-if)#pppoe
  7. Create a PPPoE subinterface.
    host1(config-if)#pppoe subinterface fastEthernet 4/1.1.1
  8. Specify PPP as the encapsulation method on the interface.
    host1(config-if)#encapsulation ppp
  9. Assign an IP address and mask.
    host1(config-if)#ip address 164.10.6.61 255.255.255.0
  10. (Optional) Configure additional PPPoE subinterfaces by completing Steps 7 through 9 using unique numbering.

Figure 1 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 1: Example of PPPoE over S-VLAN Stacking Configuration Procedure

Example of PPPoE over S-VLAN Stacking
Configuration Procedure
 

Related Documentation

  • S-VLAN Overview
  • encapsulation ppp
  • encapsulation vlan
  • interface fastEthernet
  • ip address
  • pppoe
  • pppoe subinterface
  • svlan ethertype
  • svlan id
 

Published: 2012-01-12

 
  • About Juniper
  • The New Network
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out