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

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > Configuring a VPWS Instance
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

  • l2vpn control-word
  • l2vpn encapsulation-type
  • l2vpn rd
  • l2vpn route-target
  • l2vpn sequencing
  • l2vpn site-name site-id
  • l2vpn site-range
 

Configuring a VPWS Instance

You must configure a VPWS instance for each L2VPN in which the router participates. From a configuration standpoint, a VPWS instance is simply a new L2VPN that you configure with additional VPWS L2VPN attributes.

Table 1 lists the commands that you use to configure a basic VPWS instance.

Table 1: Commands to Configure Basic VPWS Instances

l2vpn control-word

l2vpn route-target

l2vpn encapsulation-type

l2vpn sequencing

l2vpn local-site-id remote-site-id

l2vpn site-name site-id

l2vpn rd

l2vpn site-range

To configure a basic VPWS instance on the PE router:

  1. Create the VPWS instance by configuring the encapsulation type for all interfaces in the L2VPN.

    You must issue this command before any other l2vpn commands.

    host1(config)#l2vpn exampleco encapsulation-type ethernet
  2. Configure the maximum number of customer sites that can participate in the L2VPN.
    host1(config)#l2vpn exampleco site-range 10
  3. Configure the name and ID number for the customer sites in the L2VPN instance.

    The site ID value must be greater than zero and be unique within the L2VPN for that customer site. This is not true for a multihomed customer site. See Configuring BGP Multihoming for VPWS for more information.

    host1(config)#l2vpn exampleco site-name westford site-id 1
  4. Configure a route distinguisher for the L2VPN.

    In this example, the first number in the route distinguisher (100) is the number of the autonomous system (AS). The second number in the route distinguisher (11) uniquely identifies the L2VPN instance within that AS.

    host1(config)#l2vpn exampleco rd 100:11
  5. Create or add a route target to the import and export lists of the L2VPN’s route-target extended community.

    The PE router uses the lists to determine which routes are imported into the VPWS instance.

    host1(config)#l2vpn exampleco route-target both 100:1
  6. Specify the local preference for use of the control word and sequencing for the layer 2 packets encapsulated in the MPLS packets that are sent to the remote PE router.
    host1(config)#l2vpn exampleco control-word host1(config)#l2vpn exampleco sequencing
 

Related Documentation

  • l2vpn control-word
  • l2vpn encapsulation-type
  • l2vpn rd
  • l2vpn route-target
  • l2vpn sequencing
  • l2vpn site-name site-id
  • l2vpn site-range
 

Published: 2012-07-02

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • 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