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: Configuring VPLS Pseudowires with Dynamic Profiles—Basic Solutions
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
  • Dynamic Profiles for VPLS Pseudowires
  • Example: Configuring VPLS Pseudowires with Dynamic Profiles—Complex Solutions
  • Additional Information
  • Dynamic Profiles for Interfaces and Protocols
 

Example: Configuring VPLS Pseudowires with Dynamic Profiles—Basic Solutions

The following limitations apply to dynamic profiles for VPLS on MX Series routers:

  • The native-vlan-id statement is not supported.
  • The native-inner-vlan-id statement is not supported.
  • The interface-mode access statement option is not supported.
  • The vlan-id-range statement is not supported.

In many cases, a configuration using dynamic profiles is more efficient than a static configuration, as shown by the examples in this topic.

  • VPLS Pseudowire Interfaces Without Dynamic Profiles
  • VPLS Pseudowire Interfaces and Dynamic Profiles
  • CE Routers Without Dynamic Profiles
  • CE Routers and Dynamic Profiles

VPLS Pseudowire Interfaces Without Dynamic Profiles

Consider the following configuration, which does not use dynamic profiles to manipulate VLAN identifiers:

[edit routing-instances]green {instance-type vpls;interface ge-0/0/1.1;interface ge-0/0/2.1;interface ge-0/0/3.1;vlan-tags outer 200 inner 100;protocols vpls {vpls-id 10;neighbor 10.1.1.20;}{...more...}}[edit interfaces]ge-0/0/1 {unit 0 {vlan-id 10;}}ge-0/0/2 {unit 0 {vlan-id 20;}}ge-0/0/3 {unit 0 {vlan-id 30;}}

Note: This is not a complete router configuration.

With this configuration, broadcast packets inside frames arriving with VLAN identifier 10 on ge-0/0/1 are normalized to a dual-tagged frame with an outer VLAN value of 200 and an inner VLAN value of 100. The broadcast packet and frames egressing ge-0/0/2 or ge-0/0/3 have the outer VLAN value stripped and the inner VLAN value swapped to 20 and 30 respectively, according to the interface configuration. However, this stripping of the outer VLAN tag and the swapping is extra work, because the frames will still egress the VPLS pseudowire in routing instance green with an outer VLAN tag value of 200 and an inner VLAN tag value of 100, also according to the configuration.

The same configuration can be accomplished more effectively using dynamic profiles.

VPLS Pseudowire Interfaces and Dynamic Profiles

Consider the following configuration, which uses dynamic profiles to manipulate VLAN identifiers:

[edit routing-instances]green {instance-type vpls;interface ge-0/0/1.1;interface ge-0/0/2.1;interface ge-0/0/3.1;vlan-id 100; # Desired inner VLAN tag on the VPLS pseudowireprotocols vpls {vpls-id 10; neighbor 10.1.1.20 {associate-profile green_vpls_pw_1; # The profile}}{...more...}}[edit interfaces]ge-0/0/1 {unit 0 {vlan-id 10;}}ge-0/0/2 {unit 0 {vlan-id 20;}}ge-0/0/3 {unit 0 {vlan-id 30;}}[edit dynamic-profiles]green_vpls_pw_1 interfaces $junos-interface-ifd-name {unit $junos-underlying-unit-number {vlan-tags outer 200 inner 100;}}

Note: This is not a complete router configuration.

With this configuration, broadcast packets inside frames arriving with VLAN identifier 10 on ge-0/0/1 are normalized to a frame with VLAN identifier 100. The broadcast packet and frames egressing ge-0/0/2 or ge-0/0/3 have this VLAN value swapped to 20 and 30 respectively, according to the interface configuration. Frames egress the VPLS pseudowire in routing instance green with an outer VLAN tag value of 200 pushed on top of the normalized value.

CE Routers Without Dynamic Profiles

You can apply a dynamic profile to an entire VPLS configuration, not just a neighbor.

Consider the following configuration, which does not use dynamic profiles to manipulate VLAN identifiers on a customer edge (CE) router with VLAN identifier 100:

[edit routing-instances]green {instance-type vpls;interface ge-0/0/1.1;interface ge-0/0/2.1;interface ge-0/0/3.1;vlan-tags outer 200 inner 100;protocols vpls {vpls-id 10;neighbor 10.1.1.20;}{...more...}}[edit interfaces]ge-0/0/1 {unit 0 {vlan-id 100;}}ge-0/0/2 {unit 0 {vlan-id 100;}}ge-0/0/3 {unit 0 {vlan-id 100;}}

Note: This is not a complete router configuration.

With this configuration, broadcast packets inside frames arriving on ge-0/0/1 are normalized to a dual-tagged frame with an outer VLAN value of 200 and an inner VLAN value of 100. The same configuration can be accomplished using dynamic profiles.

CE Routers and Dynamic Profiles

Consider the following configuration, which uses dynamic profiles at the protocols level:

[edit routing-instances]green {instance-type vpls;interface ge-0/0/1.1;interface ge-0/0/2.1;interface ge-0/0/3.1;vlan-id 100; # Desired inner VLAN tag on the VPLS pseudowireprotocols vpls {associate-profile green_vpls_pw_2; # The profilevpls-id 10; neighbor 10.1.1.20;}{...more...}}[edit interfaces]ge-0/0/1 {unit 0 {vlan-id 100;}}ge-0/0/2 {unit 0 {vlan-id 100;}}ge-0/0/3 {unit 0 {vlan-id 100;}}[edit dynamic-profiles]green_vpls_pw_2 interfaces $junos-interface-ifd-name {unit $junos-underlying-unit-number {vlan-tags outer 200 inner 100;}}

Note: This is not a complete router configuration.

With this configuration, broadcast packets inside frames arriving with VLAN identifier 100 on ge-0/0/1 are normalized to a frame with VLAN identifier 100 (in this case, they are unchanged). The broadcast packet and frames egressing ge-0/0/2 or ge-0/0/3 are unchanged as well, according to the interface configuration. Frames egress the VPLS pseudowire in routing instance green with an outer VLAN tag value of 200 pushed on top of the normalized value.

 

Related Documentation

  • MX Series
  • Dynamic Profiles for VPLS Pseudowires
  • Example: Configuring VPLS Pseudowires with Dynamic Profiles—Complex Solutions
  • Additional Information
  • Dynamic Profiles for Interfaces and Protocols
 

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