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 > Junos OS > Example Step: Configuring Interfaces and VLAN Tags
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

  • MX Series
  • Layer 2 Features for a Bridging Environment
  • Example Roadmap: Configuring a Basic Bridge Domain Environment
  • Example Step: Configuring Bridge Domains
  • Example Step: Configuring Spanning Tree Protocols
  • Example Step: Configuring Integrated Bridging and Routing
  • Additional Information
  • Ethernet Networking
 

Example Step: Configuring Interfaces and VLAN Tags

Configure the Ethernet interfaces and VLAN tags on all three routers.

Note: The configurations in this chapter are only partial examples of complete and functional router configurations. Do not copy these configurations and use them directly on an actual system.

To configure the Ethernet interfaces and VLAN tags on all three routers:

  1. Configure the Ethernet interfaces and VLAN tags on Router 1:

    [edit]chassis {aggregated-devices {ethernet {device-count 2; # Number of AE interfaces on router}}}interfaces ge-2/1/0 {gigether-options {802.3ad ae2;}}interfaces ge-2/1/1 {gigether-options {802.3ad ae2;}}interfaces ge-2/1/2 {gigether-options {802.3ad ae2;}}interfaces ge-2/1/3 {gigether-options {802.3ad ae1;}}interfaces ge-2/1/4 {gigether-options {802.3ad ae1;}}interfaces ge-2/1/5 {gigether-options {802.3ad ae1;}}interfaces ge-2/2/1 {encapsulation flexible-ethernet-services;vlan-tagging; # Customer interface uses singly-tagged framesunit 100 {encapsulation vlan-bridge;vlan-id 100;}unit 200 {encapsulation vlan-bridge;vlan-id 200;}}interfaces ge-2/2/2 {unit 0 {family bridge {interface-mode access;vlan-id 205;}}}interfaces ge-2/2/4 {native-vlan-id 200; # Untagged packets get vlan 200 tagunit 0 {family bridge {interface-mode trunk;vlan-id-list 200-205; # This trunk port is part of VLAN range 200–205}}}interfaces ge-2/2/6 {encapsulation flexible-ethernet-services;vlan-tagging; # Customer interface uses singly-tagged framesunit 200 {encapsulation vlan-bridge;vlan-id 200;}}interfaces ae1 {encapsulation extended-vlan-bridge;vlan-tagging;unit 100 {vlan-id 100;}unit 200 {vlan-id 200;}}interfaces ae2 {unit 0 {family bridge {interface-mode trunk;vlan-id-list 100, 200–205;}}}
  2. Configure the Ethernet interfaces and VLAN tags on Router 2:

    [edit]chassis {aggregated-devices {ethernet {device-count 2; # Number of AE interfaces on the router}}}interfaces ge-2/2/2 {encapsulation flexible-ethernet-services;vlan-tagging; # Customer interface uses singly-tagged framesunit 100 {encapsulation vlan-bridge;vlan-id 100;}}interfaces ge-3/3/3 {encapsulation flexible-ethernet-services;vlan-tagging; # Customer interface uses singly-tagged framesunit 200 {encapsulation vlan-bridge;vlan-id 200;}}interfaces ge-5/1/0 {gigether-options {802.3ad ae3;}}interfaces ge-5/1/1 {gigether-options {802.3ad ae3;}}interfaces ge-5/1/2 {gigether-options {802.3ad ae3;}}interfaces ge-5/1/3 {gigether-options {802.3ad ae1;}}interfaces ge-5/1/4 {gigether-options {802.3ad ae1;}}interfaces ge-5/1/5 {gigether-options {802.3ad ae1;}}interfaces ae1 {encapsulation extended-vlan-bridge;vlan-tagging;unit 100 {vlan-id 100;}unit 200 {vlan-id 200;}}interfaces ae3 {encapsulation extended-vlan-bridge;vlan-tagging;unit 100 {vlan-id 100;}unit 200 {vlan-id 200;}}
  3. Configure the Ethernet interfaces and VLAN tags on Router 3:

    [edit]chassis {aggregated-devices {ethernet {device-count 2; # Number of AE interfaces on router}}}interfaces ge-2/2/2 {encapsulation flexible-ethernet-services;vlan-tagging; # Customer interface uses singly-tagged framesunit 100 {encapsulation vlan-bridge;vlan-id 100;}}interfaces ge-2/2/4 {unit 0 {family bridge {interface-mode trunk;vlan-id-list 200-205; # This trunk port is part of VLAN range 200–205}}}interfaces ge-2/2/6 {unit 0 {family bridge {interface-mode access;vlan-id 200;}}}interfaces ge-3/3/3 {encapsulation flexible-ethernet-services;vlan-tagging; # Customer interface uses singly-tagged framesunit 200 {encapsulation vlan-bridge;vlan-id 200;}}interfaces ge-11/1/0 {gigether-options {802.3ad ae3;}}interfaces ge-11/1/1 {gigether-options {802.3ad ae3;}}interfaces ge-11/1/2 {gigether-options {802.3ad ae3;}}interfaces ge-11/1/3 {gigether-options {802.3ad ae2;}}interfaces ge-11/1/4 {gigether-options {802.3ad ae2;}}interfaces ge-11/1/5 {gigether-options {802.3ad ae2;}}interfaces ae2 {unit 0 {family bridge {interface-mode trunk;vlan-id-list 100, 200–205;}}}interfaces ae3 {encapsulation extended-vlan-bridge;vlan-tagging;unit 100 {vlan-id 100;}unit 200 {vlan-id 200;}}
 

Related Documentation

  • MX Series
  • Layer 2 Features for a Bridging Environment
  • Example Roadmap: Configuring a Basic Bridge Domain Environment
  • Example Step: Configuring Bridge Domains
  • Example Step: Configuring Spanning Tree Protocols
  • Example Step: Configuring Integrated Bridging and Routing
  • Additional Information
  • Ethernet Networking
 

Published: 2011-11-01

 
  • 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