SlideShare a Scribd company logo
Network Configuration Example

Configuring VPLS Pseudowires on MX Series
Devices Using Dynamic Profiles




Release

12.1


Published: 2012-07-19




Copyright © 2012, Juniper Networks, Inc.
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
This product includes the Envoy SNMP Engine, developed by Epilogue Technology, an Integrated Systems Company. Copyright © 1986-1997,
Epilogue Technology Corporation. All rights reserved. This program and its documentation were developed at private expense, and no part
of them is in the public domain.

This product includes memory allocation software developed by Mark Moraes, copyright © 1988, 1989, 1993, University of Toronto.

This product includes FreeBSD software developed by the University of California, Berkeley, and its contributors. All of the documentation
and software included in the 4.4BSD and 4.4BSD-Lite Releases is copyrighted by the Regents of the University of California. Copyright ©
1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994. The Regents of the University of California. All rights reserved.

GateD software copyright © 1995, the Regents of the University. All rights reserved. Gate Daemon was originated and developed through
release 3.0 by Cornell University and its collaborators. Gated is based on Kirton’s EGP, UC Berkeley’s routing daemon (routed), and DCN’s
HELLO routing protocol. Development of Gated has been supported in part by the National Science Foundation. Portions of the GateD
software copyright © 1988, Regents of the University of California. All rights reserved. Portions of the GateD software copyright © 1991, D.
L. S. Associates.

This product includes software developed by Maker Communications, Inc., copyright © 1996, 1997, Maker Communications, Inc.

Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the United
States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks of Juniper Networks, Inc. All other
trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.

Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify,
transfer, or otherwise revise this publication without notice.

Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that are
owned by or licensed to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440, 6,192,051, 6,333,650, 6,359,479, 6,406,312,
6,429,706, 6,459,579, 6,493,347, 6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785.



Network Configuration Example Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles
12.1
Copyright © 2012, Juniper Networks, Inc.
All rights reserved.

The information in this document is current as of the date on the title page.

YEAR 2000 NOTICE

Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-related limitations through the
year 2038. However, the NTP application is known to have some difficulty in the year 2036.

END USER LICENSE AGREEMENT

The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networks
software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at
http://www.juniper.net/support/eula.html. By downloading, installing or using such software, you agree to the terms and conditions
of that EULA.




ii                                                                                                  Copyright © 2012, Juniper Networks, Inc.
Table of Contents
                                     Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
                                     Dynamic Profiles Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
                                          Dynamic Profile Interface Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
                                          What Dynamic Profiles Do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
                                          How Dynamic Profiles Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
                                          Dynamic Profile Version Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
                                          Dynamic Profile Semantic Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
                                     Dynamic Profiles for VPLS Pseudowires . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
                                     Use Cases for Dynamic Profiles for VPLS Pseudowires . . . . . . . . . . . . . . . . . . . . . . 4
                                     Example: Configuring the Router to Push an Extra VLAN Tag onto Pseudowire
                                          Traffic Using Dynamic Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
                                     Example: Configuring a VPLS Pseudowire as a Trunk Interface Using Dynamic
                                          Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8




Copyright © 2012, Juniper Networks, Inc.                                                                                                                            iii
Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles




iv                                                                         Copyright © 2012, Juniper Networks, Inc.
Introduction

                                This document describes what dynamic profiles do, how they work, and how to configure
                                virtual private LAN service (VPLS) pseudowires using dynamic profiles.

Dynamic Profiles Overview

                                A dynamic profile is a set of characteristics, defined in a type of template, that you can
                                use to provide dynamic subscriber access and services for broadband applications. These
                                services are assigned dynamically to interfaces. The dynamic-profiles hierarchy appears
                                at the top level of the CLI hierarchy and contains many Juniper Networks configuration
                                statements that you normally define statically.

                                Dynamic profile statements appear in the following subhierarchies within the [edit
                                dynamic-profiles] hierarchy:

                                •   class-of-service

                                •   firewall

                                •   interfaces

                                •   predefined-variable-defaults

                                •   protocols

                                •   routing-instances

                                •   routing-options

                                •   variables

                                This topic covers:

                                •   Dynamic Profile Interface Support on page 1
                                •   What Dynamic Profiles Do on page 1
                                •   How Dynamic Profiles Work on page 2
                                •   Dynamic Profile Version Creation on page 2
                                •   Dynamic Profile Semantic Checking on page 3

Dynamic Profile Interface Support
                                You can identify subscribers statically or dynamically. To identify subscribers statically,
                                you can reference a static VLAN interface in a dynamic profile. To identify subscribers
                                dynamically, you create variables for demux interfaces that are dynamically created
                                when subscribers log in.

What Dynamic Profiles Do
                                A dynamic profile acts as a kind of template that enables you to create, update, or remove
                                a configuration that includes client access (for example, interface or protocol) or service
                                (for example, CoS) attributes. Using these profiles enables you to consolidate all of the




Copyright © 2012, Juniper Networks, Inc.                                                                                      1
Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles




                              common attributes of a client (and eventually a group of clients) and apply the attributes
                              simultaneously.

How Dynamic Profiles Work
                              After they are created, profiles reside on the router in a profile library. These profiles can
                              contain various configurations. For example, you can create a client network access
                              configuration, a services activation configuration, or both. When a router interface receives
                              a join message from a client, the router applies the values configured in the specified
                              dynamic profile to that router interface. The profile can contain interface, class-of-service
                              (CoS), and protocol values that are applied directly to the interface. In addition, the
                              dynamic profile can call input or output firewall filters that reside outside of the dynamic
                              profiles hierarchy.

Dynamic Profile Version Creation
                              You can create new versions of dynamic profiles that are currently in use by subscribers.
                              Dynamic profile version creation is enabled at the [system] hierarchy level. When enabled,
                              you can create multiple versions of any dynamic profiles on the router. Any subscriber
                              that logs in following a dynamic profile modification uses the latest version of the dynamic
                              profile. Subscribers that are already active continue to use the older version of the dynamic
                              profile until they log out or their session terminates.

                              When creating versions of dynamic profiles, keep the following in mind:

                              •   You must enable or disable dynamic profile version creation before creating or using
                                  any dynamic profiles on the router. Enabling or disabling dynamic profile version creation
                                  after dynamic profiles are configured is not supported.


                                             NOTE: Before you can enable or disable dynamic profile version creation
                                             for a router on which any dynamic profiles are configured, you must first
                                             remove all dynamic profiles from the router configuration.


                              •   Each version of a dynamic profile is stored in the profile database as a new profile.

                              •   The name of the new profile version is derived by appending a four-character tag string
                                  to the original base dynamic profile name. This tag string contains two dollar sign ($)
                                  characters to identify the version field of the profile name. These two characters are
                                  followed by two numerical characters that represent the version number of the dynamic
                                  profile (for example, 01).

                              •   The dynamic profile that you modify is always stored as the latest version. You cannot
                                  create a modified dynamic profile and save it as an earlier version. For example, if you
                                  modify version three of a dynamic profile, it is saved as version four.

                              •   You can only modify the latest version of a dynamic profile.

                              •   If the dynamic profile version that you modify is not in use by any subscriber, the profile
                                  is overwritten with committed changes without creating a new version.

                              •   You can create a maximum of 10 versions of each dynamic profile.




2                                                                                         Copyright © 2012, Juniper Networks, Inc.
•   If all 10 versions of a dynamic profile already exists, any modification to the dynamic
                                    profile results in modifying the latest version of that profile (that is, version $$10). If
                                    this version is in use, any modification attempt fails upon commit.

                                •   You can delete a dynamic profile only when it is not in use.

                                •   The dynamic profile version feature supports graceful restart and unified ISSU.


Dynamic Profile Semantic Checking
                                Variables are applied to dynamic profiles dynamically and cannot be checked with existing
                                CLI checks. Semantic checking validates some variables in dynamic profiles to help
                                identify potential configuration errors.

                                Semantic checks are performed during commit and during profile instantiation. Commit
                                time checks ensure that variables appear in the correct location within the dynamic
                                profile. Checks performed before profile instantiation ensure that the values that replace
                                the variables are correct. The checks performed on the values include the following:

                                •   Range validation

                                •   Variable type validation

                                •   Existence of variables where they are mandatory

                                •   Variable matching to regular expressions

                                A commit time check failure results in an error message being displayed and logged in
                                /var/log/messages and the commit not taking place. An instantiation failure results in
                                an error being logged in /var/log/messages and the profile instantiation failing.

              Related           •   Configuring a Basic Dynamic Profile
        Documentation
                                •   Configuring a Dynamic Profile for Client Access

                                •   Configuring a Dynamic Profile for Various Levels of Services

                                •   Enabling Dynamic Profiles to use Multiple Versions

                                •   Dynamic Variables Overview

                                •   Subscriber Interface Overview


Dynamic Profiles for VPLS Pseudowires

                                A router often has two types of interfaces:

                                •   Static interfaces, which are configured before the router is booted

                                •   Dynamic interfaces, which are created after the router is booted and while it is running

                                A virtual private LAN service (VPLS) pseudowire interface (such as lsi.1048576) is
                                dynamically created by the system. Therefore, the logical interface unit number for the
                                VPLS pseudowire is not available in advance to configure characteristics such as VLAN
                                identifiers and other parameters. As a result, certain virtual local area network (VLAN)




Copyright © 2012, Juniper Networks, Inc.                                                                                          3
Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles




                              manipulation features that are easily applied to static interfaces (such as xe-, ge-, and
                              so on) are either not supported on dynamic interfaces or supported in a nonstandard
                              method.

                              However, on MX Series routers, there is another configuration method that dynamic
                              interfaces can use to determine their VLAN parameters when they are created by a
                              running router: dynamic profiles. A dynamic profile is a conceptual container that includes
                              parameters associated with a dynamic entity, parameters whose values are not known
                              at the time the entity is configured.

                              A dynamic profile acts as a kind of template that enables you to create, update, or remove
                              a configuration that includes client access (for example, interface or protocol) or service
                              (for example, CoS) attributes. Using these profiles you can consolidate all of the common
                              attributes of a client (and eventually a group of clients) and apply the attributes
                              simultaneously. The router contains several predefined variables that enable dynamic
                              association of interfaces and logical units to incoming subscriber requests. While
                              configuring dynamic profile, use the variable $junos-interface-ifd-namefor a dynamic
                              physical interface and $junos-underlying-unit-numberfor a dynamic logical interface
                              (unit). When a client accesses the router, the dynamic profile configuration replaces the
                              predefined variable with the actual interface name or unit value for the interface the
                              client is accessing.

                              Dynamic profiles for VPLS are supported only on MX Series routers. For more information
                              about dynamic profiles, see the Junos OS Subscriber Access Configuration Guide

              Related         •   Ethernet Networking
        Documentation
                              •   Example: Configuring VPLS Pseudowires with Dynamic Profiles—Basic Solutions

                              •   Example: Configuring VPLS Pseudowires with Dynamic Profiles—Complex Solutions


Use Cases for Dynamic Profiles for VPLS Pseudowires

                              A dynamic profile is a set of characteristics, defined in a type of template, that you can
                              use to provide dynamic subscriber access and services for broadband applications. These
                              services are assigned dynamically to interfaces. You can use dynamic profiles to configure
                              the VLAN parameters of the dynamic interfaces on MX Series routers.

                              Two use cases for configuring VPLS pseudowires with dynamic profiles are:

                              •   Configuring an extra VLAN tag onto pseudowire traffic — This is a common scenario
                                  where all the traffic received from a customer edge (CE) interface needs an additional
                                  VLAN tag toward the core. In such cases, you can use dynamic profiles at ingress and
                                  egress to control the pseudowire behavior. You can apply dynamic profiles to receive
                                  the desired frames, set the additional VLAN tag for these frames, and send these
                                  tagged frames with the desired VLAN identifier.

                              •   Configuring a VPLS pseudowire as a trunk interface — This is another common
                                  scenario where the requirement is to accept traffic from a particular source and to
                                  route the traffic based on specific criteria. Dynamic profiles can be used to create




4                                                                                      Copyright © 2012, Juniper Networks, Inc.
multiple pseudowire trunk interfaces to accept the traffic based on specific VLAN
                                    identifiers, and to route the accepted traffic to the desired destination.


Example: Configuring the Router to Push an Extra VLAN Tag onto Pseudowire Traffic
Using Dynamic Profiles

                                This example shows how dynamic profiles can be used to add an extra VLAN tag to the
                                traffic received from a customer edge (CE) interface toward the network core.

                                •   Requirements on page 5
                                •   Overview and Topology on page 5
                                •   Configuration on page 6
                                •   Verification on page 7

Requirements
                                This example uses the following hardware and software components:

                                •   MX Series 3D Universal Edge Routers

                                •   Junos OS Release 9.3 or later


Overview and Topology
                                A dynamic profile is a set of characteristics, defined in a type of template, that you can
                                use to provide dynamic subscriber access and services for broadband applications. These
                                services are assigned dynamically to interfaces. You can use dynamic profiles at ingress
                                and egress to control the pseudowire behavior.

                                The topology used in this example for dynamically pushing an extra VLAN tag on to a
                                pseudowire is shown in Figure 1 on page 5. On the ingress, the pseudowire receives
                                dual-tagged frames with an inner VLAN ID 100, and an outer VLAN ID 10. All other frames
                                are dropped. The outer tag is stripped at the interface. On the egress, the dual-tagged
                                frames are transmitted with the outer vlan tag set to 10.

                                Figure 1: Pushing an Extra VLAN Tag on a Pseudowire
                                    CE

                                    MX                               Pseudowire

                                               100
                                                                                                                  CE
                                                            10                          10
                                         ge-0/0/0
                                                          100/200                     100/200             100
                                                     MX                                          MX               MX



                                               200

                                    MX
                                                                                                                        g041260




                                    CE




Copyright © 2012, Juniper Networks, Inc.                                                                                 5
Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles




Configuration
             CLI Quick        To quickly configure this example, copy the following commands, paste them into a text
          Configuration       file, remove any line breaks, change any details necessary to match your network
                              configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy
                              level.

                                   set dynamic-profiles pw-tagged interfaces $junos-interface-ifd-name unit
                                     $junos-underlying-interface-unit vlan-tags inner 100 outer 10
                                   set routing-instances red instance-type vpls vlan-id 100 interface ge-0/0/0
                                   set routing-instances red protocols vpls associate-profile pw-tagged


                              Pushing an Additional VLAN Tag Over the Pseudowire

          Step-by-Step        The following example requires that you navigate various levels in the configuration
             Procedure        hierarchy. For information about navigating the CLI, see Using the CLI Editor in
                              Configuration Mode in the Junos OS CLI User Guide.




                                           NOTE: This is not a complete router configuration.


                              To push an additional VLAN tag over the pseudowire:

                              1.      Create a dynamic profile named pw-tagged.

                                        user@host#set dynamic-profiles pw-tagged

                              2.      Specify the variables $junos-interface-ifd-name and $junos-underlying-interface-unit
                                      to be used by the router to match the interface name and the unit value of the
                                      receiving interface.

                                        [edit dynamic-profiles pw-tagged]
                                        user@host# set interfaces $junos-interface-ifd-name unit
                                          $junos-underlying-interface-unit

                              3.      Specify the VLAN tag to receive dual-tagged frames with an inner VLAN ID 100 and
                                      an outer VLAN ID 10.

                                        [edit dynamic-profiles pw-tagged interfaces "$junos-interface-ifd-name" unit
                                          "$junos-underlying-interface-unit"]
                                        user@host# set vlan-tags inner 100 outer 10

                              4.      Create a routing instance named red.

                                        [edit ]
                                        user@host# set routing-instances red instance-type vpls vlan-id 100 interface
                                          ge-0/0/0

                              5.      Associate the profile with the routing instance.

                                        [edit routing-instances red]
                                        user@host# set protocols vpls associate-profile pw-tagged




6                                                                                        Copyright © 2012, Juniper Networks, Inc.
Verification

                                Verifying the Dynamic Profile Configuration

                 Purpose        Make sure that the dynamic profile is configured correctly.


                    Action      From configuration mode, enter the show dynamic-profiles command.

                                user@host# show dynamic-profiles

                                    pw-tagged {
                                      interfaces {
                                        "$junos-interface-ifd-name" {
                                          unit "$junos-underlying-interface-unit" {
                                             vlan-tags inner 100 outer 10;
                                          }
                                        }
                                      }
                                    }

                                From configuration mode, enter the show routing-instances command.

                                user@host# show routing-instances

                                    red {
                                      instance-type vpls;
                                      interface ge-0/0/0.0;
                                      vlan-id 100;
                                      protocols {
                                        vpls {
                                          associate-profile pw-tagged;
                                        }
                                      }
                                    }

                 Meaning        In the ingress direction, the pseudowire receives dual-tagged frames with an inner VLAN
                                ID 100, and an outer VLAN ID 10. All other frames are dropped and the outer tag is stripped
                                at the interface. In the egress direction, dual-tagged frames are transmitted with an inner
                                VLAN ID 100 and an outer VLAN ID 10.


              Related           •   Dynamic Profiles Overview on page 1
        Documentation
                                •   Dynamic Profiles for VPLS Pseudowires on page 3

                                •   Use Cases for Dynamic Profiles for VPLS Pseudowires on page 4

                                •   Example: Configuring a VPLS Pseudowire as a Trunk Interface Using Dynamic Profiles
                                    on page 8




Copyright © 2012, Juniper Networks, Inc.                                                                                  7
Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles




Example: Configuring a VPLS Pseudowire as a Trunk Interface Using Dynamic Profiles

                              This example shows how dynamic profiles can be used to create multiple pseudowire
                              trunk interfaces to accept the traffic based on specific VLAN identifiers, and to route the
                              accepted traffic to the desired destination.

                              •   Requirements on page 8
                              •   Overview and Topology on page 8
                              •   Configuration on page 9
                              •   Verification on page 11

Requirements
                              This example uses the following hardware and software components:

                              •   MX Series 3D Universal Edge Routers

                              •   Junos OS Release 9.3 or later


Overview and Topology
                              The topology used in this example for configuring VPLS pseudowires as trunk interfaces
                              is shown in Figure 2 on page 8. Three trunk interfaces, pw-trunk-1 with VLAN ID 100–300,
                              pw-trunk-2 with VLAN ID 301–600, and pw-trunk-3 with VLAN ID 601—100, are configured.

                              Figure 2: Using Pseudowires as Trunk Interfaces
                                                                                               10.255.1.4

                                                                                                            601-1000
                                                                                                  MX                   MX
                                  CE

                                  MX
                                                                                       601-1000
                                           100-400
                                                                                               10.255.1.2
                                                                                                            100-200    MX
                                       ge-0/0/0
                                                     MX                                           MX
                                                          100-1000                   100-300
                                                                                                            201-300    MX

                                          500-1000
                                                                                       301-600
                                  MX
                                                                                               10.255.1.3
                                                                                                            501-600    MX
                                  CE

                                                                                                  MX

                                                                                                            301-500    MX
                                                                                                                            g041259




8                                                                                     Copyright © 2012, Juniper Networks, Inc.
Configuration
                                Configuring VPLS pseudowires as trunk interfaces using dynamic profiles involves
                                performing these tasks:

                                •    Creating a Dynamic Profile on page 9
                                •    Creating a Routing Instance with a Bridge Domain on page 11
                                •    Associating Dynamic Profiles with a Routing Instance on page 11

              CLI Quick         To quickly configure this example, copy the following commands, paste them into a text
           Configuration        file, remove any line breaks, change any details necessary to match your network
                                configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy
                                level.

                                     set dynamic-profiles pw-trunk-1 interfaces $junos-interface-ifd-name unit
                                       $junos-underlying-interface-unit family bridge interface-mode trunk vlan-id-list
                                       [100-300]
                                     set dynamic-profiles pw-trunk-2 interfaces $junos-interface-ifd-name unit
                                       $junos-underlying-interface-unit family bridge interface-mode trunk vlan-id-list
                                       [301-600]
                                     set dynamic-profiles pw-trunk-3 interfaces $junos-interface-ifd-name unit
                                       $junos-underlying-interface-unit family bridge interface-mode trunk vlan-id-list
                                       [601-1000]
                                     set routing-instances red instance-type virtual-switch bridge-domains vlan-100 vlan-id
                                       100
                                     set routing-instances red instance-type virtual-switch bridge-domains vlan-200 vlan-id
                                       200
                                     set routing-instances red instance-type virtual-switch bridge-domains vlan-1000 vlan-id
                                       1000
                                     set routing-instances red protocols vpls neighbor 10.255.1.2 associate-profile pw-trunk-1
                                     set routing-instances red protocols vpls neighbor 10.255.1.3 associate-profile pw-trunk-2
                                     set routing-instances red protocols vpls neighbor 10.255.1.4 associate-profile pw-trunk-3


                                Creating a Dynamic Profile

           Step-by-Step         Perform the following steps to create the pw-trunk-1 dynamic profile. This dynamic profile
              Procedure         is then associated with the routing instance to filter the ingress and egress frames.

                                The following example requires that you navigate various levels in the configuration
                                hierarchy. For information about navigating the CLI, see Using the CLI Editor in
                                Configuration Mode in the Junos OS CLI User Guide.




                                              NOTE: This is not a complete router configuration.


                                1.      Create a dynamic profile named pw-trunk-1.

                                           [edit]
                                           user@host# set dynamic-profiles pw-trunk-1




Copyright © 2012, Juniper Networks, Inc.                                                                                    9
Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles




                              2.    Specify the variables $junos-interface-ifd-name and $junos-underlying-interface-unit
                                    to be used by the router to match the interface name and the unit value of the
                                    receiving interface.

                                      [edit dynamic-profiles pw-trunk-1]
                                      user@host# set interfaces $junos-interface-ifd-name unit
                                        $junos-underlying-interface-unit

                              3.    Specify the protocol family, interface mode, and the trunk mode VLAN membership
                                    for the interface.

                                      [edit dynamic-profiles pw-trunk-1 interfaces "$junos-interface-ifd-name" unit
                                        "$junos-underlying-interface-unit"]
                                      user@host# set family bridge family bridge interface-mode trunk vlan-id-list
                                        [100-300]


          Step-by-Step        Perform the following steps to create the pw-trunk-2 dynamic profile. This dynamic profile
             Procedure        is then associated with the routing instance to filter the ingress and egress frames.

                              1.    Create a dynamic profile named pw-trunk-2.

                                      [edit ]
                                      user@host# set dynamic-profiles pw-trunk-2

                              2.    Specify the variables $junos-interface-ifd-name and $junos-underlying-interface-unit
                                    to be used by the router to match the interface name and the unit value of the
                                    receiving interface.

                                      [edit dynamic-profiles pw-trunk-2]
                                      user@host# set interfaces $junos-interface-ifd-name unit
                                        $junos-underlying-interface-unit

                              3.    Specify the protocol family, interface mode, and the trunk mode VLAN membership
                                    for the interface.

                                      [edit dynamic-profiles pw-trunk-2 interfaces "$junos-interface-ifd-name" unit
                                        "$junos-underlying-interface-unit"]
                                      user@host# set family bridge family bridge interface-mode trunk vlan-id-list
                                        [301-600]


          Step-by-Step        Perform the following steps to create the pw-trunk-3 dynamic profile. This dynamic profile
             Procedure        is then associated with the routing instance to filter the ingress and egress frames.

                              1.    Create a dynamic profile named pw-trunk-3.

                                      [edit]
                                      user@host# set dynamic-profiles pw-trunk-3

                              2.    Specify the variables $junos-interface-ifd-name and $junos-underlying-interface-unit
                                    to be used by the router to match the interface name and the unit value of the
                                    receiving interface.

                                      [edit dynamic-profiles pw-trunk-3]
                                      user@host# set interfaces $junos-interface-ifd-name unit
                                        $junos-underlying-interface-unit

                              3.    Specify the protocol family, interface mode, and the trunk mode VLAN membership
                                    for the interface.




10                                                                                    Copyright © 2012, Juniper Networks, Inc.
[edit dynamic-profiles pw-trunk-3 interfaces "$junos-interface-ifd-name" unit
                                             "$junos-underlying-interface-unit"]
                                           user@host# set family bridge family bridge interface-mode trunk vlan-id-list
                                             [601-1000]


                                Creating a Routing Instance with a Bridge Domain

           Step-by-Step         In this example, the routing instance is created with three bridge domains: vlan-100,
              Procedure         vlan-200, vlan-300. Only the packets with VLAN IDs that match the VLAN ID configured
                                for a bridge domain are forwarded within the bridge domain.




                                              NOTE: The VLAN ID configuration supports a range of VLAN IDs but for brevity
                                              the example only shows one VLAN ID configured for each bridge domain.


                                To configure a routing instance with bridge domains:

                                1.      Create a routing instance named red.

                                           [edit ]
                                           user@host# set routing-instances red instance-type virtual-switch

                                2.      Configure the bridge domains on the routing instance.

                                           [edit routing-instances red]
                                           user@host# set bridge-domains vlan-100 vlan-id 100
                                           user@host# set bridge-domains vlan-200 vlan-id 200
                                           user@host# set bridge-domains vlan-1000 vlan-id 1000


                                Associating Dynamic Profiles with a Routing Instance

           Step-by-Step         By associating the dynamic profiles with a routing instance, you can filter the frames on
              Procedure         egress and ingress.

                                To associate dynamic profiles with a routing instance, configure the routing protocol to
                                accept the VLANs. In this example, the dynamic profile pw-trunk-1 is associated with
                                neighbor 10.255.1.2, the dynamic profile pw-trunk-2 is associated with neighbor 10.255.1.3,
                                and the dynamic profile pw-trunk-3 is associated with neighbor 10.255.1.4.

                                     [edit routing-instances red]
                                     user@host# set protocols vpls neighbor 10.255.1.2 associate-profile pw-trunk-1
                                     user@host# set protocols vpls neighbor 10.255.1.3 associate-profile pw-trunk-2
                                     user@host# set protocols vpls neighbor 10.255.1.4 associate-profile pw-trunk-3


Verification

                                Verifying the Trunk Interface

                 Purpose        Make sure that the settings for the trunk interface are correct.


                    Action      From operational mode, enter the following commands:




Copyright © 2012, Juniper Networks, Inc.                                                                                   11
Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles




                              user@host> show dynamic-profiles

                                pw-trunk-1 {
                                  interfaces {
                                    "$junos-interface-ifd-name" {
                                      unit "$junos-underlying-interface-unit" {
                                         family-bridge {
                                         interface-mode trunk;
                                         vlan-id-list 100-300;
                                         }
                                      }
                                    }
                                  }
                                }
                                pw-trunk-2 {
                                  interfaces {
                                    "$junos-interface-ifd-name" {
                                      unit "$junos-underlying-interface-unit" {
                                         family-bridge {
                                         interface-mode trunk;
                                         vlan-id-list 301-600;
                                         }
                                      }
                                    }
                                  }
                                }
                                pw-trunk-3 {
                                  interfaces {
                                    "$junos-interface-ifd-name" {
                                      unit "$junos-underlying-interface-unit" {
                                         family-bridge {
                                         interface-mode trunk;
                                         vlan-id-list 601-1000;
                                         }
                                      }
                                    }
                                  }
                                }

                              user@host> show routing-instances

                                red {
                                  instance-type virtual-switch;
                                    protocols {
                                    vpls {
                                      neighbor 10.255.1.2 {
                                        associate-profile pw-trunk-1;
                                      }
                                      neighbor 10.255.1.3 {
                                        associate-profile pw-trunk-2;
                                      }
                                      neighbor 10.255.1.4 {
                                        associate-profile pw-trunk-3;
                                      }
                                    }
                                  }




12                                                                                Copyright © 2012, Juniper Networks, Inc.
bridge-domains {
                                          vlan-100 {
                                            vlan-id 100;
                                          }
                                          vlan-1000 {
                                            vlan-id 1000;
                                          }
                                          vlan-200 {
                                            vlan-id 200;
                                          }
                                        }
                                    }

                 Meaning        On the ingress, the pseudowire receives frames with the VLAN ID 100 to 1000. All other
                                frames are dropped. On the egress, the pseudowire sends frames with VLAN ID 100-300
                                to a particular neighbor, 301-600 to the second neighbor, and 601-1000 to the third
                                neighbor. All other frames are dropped.


              Related           •   Dynamic Profiles Overview on page 1
        Documentation
                                •   Dynamic Profiles for VPLS Pseudowires on page 3

                                •   Use Cases for Dynamic Profiles for VPLS Pseudowires on page 4

                                •   Example: Configuring the Router to Push an Extra VLAN Tag onto Pseudowire Traffic
                                    Using Dynamic Profiles on page 5




Copyright © 2012, Juniper Networks, Inc.                                                                            13
Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles




14                                                                         Copyright © 2012, Juniper Networks, Inc.

More Related Content

What's hot

Access Network Evolution
Access Network Evolution Access Network Evolution
Access Network Evolution
Cisco Canada
 
Layer-2 VPN
Layer-2 VPNLayer-2 VPN
Layer-2 VPN
rosmida
 
VPLS versus MPLS
VPLS versus MPLSVPLS versus MPLS
Cisco Packet Transport Network – MPLS-TP
Cisco Packet Transport Network – MPLS-TPCisco Packet Transport Network – MPLS-TP
Cisco Packet Transport Network – MPLS-TP
Cisco Canada
 
Cisco MPLS
Cisco MPLSCisco MPLS
Cisco MPLS
webhostingguy
 
The NGN Carrier Ethernet System: Technologies, Architecture and Deployment Mo...
The NGN Carrier Ethernet System: Technologies, Architecture and Deployment Mo...The NGN Carrier Ethernet System: Technologies, Architecture and Deployment Mo...
The NGN Carrier Ethernet System: Technologies, Architecture and Deployment Mo...
Cisco Canada
 
Atomf ov
Atomf ovAtomf ov
MPLS-based Metro Ethernet Networks Tutorial by Khatri
MPLS-based Metro Ethernet Networks Tutorial by KhatriMPLS-based Metro Ethernet Networks Tutorial by Khatri
MPLS-based Metro Ethernet Networks Tutorial by Khatri
Febrian ‎
 
How to implement mpls
How to implement mplsHow to implement mpls
How to implement mpls
Thesis Scientist Private Limited
 
10209
1020910209
10209
ronsito
 
Shortest path bridging 802.1 aq
Shortest path bridging 802.1 aqShortest path bridging 802.1 aq
Shortest path bridging 802.1 aq
Motty Ben Atia
 
Sparton Corp WAN Analysis
Sparton Corp WAN AnalysisSparton Corp WAN Analysis
Sparton Corp WAN Analysis
tcollins3413
 
Wireless LAN Design and Deployment of Rich Media Networks
Wireless LAN Design and Deployment of Rich Media NetworksWireless LAN Design and Deployment of Rich Media Networks
Wireless LAN Design and Deployment of Rich Media Networks
Cisco Mobility
 
Unified MPLS
Unified MPLSUnified MPLS
Waris l2vpn-tutorial
Waris l2vpn-tutorialWaris l2vpn-tutorial
Waris l2vpn-tutorial
rakiva29
 
Trill and Datacenter Alternatives
Trill and Datacenter AlternativesTrill and Datacenter Alternatives
Trill and Datacenter Alternatives
Aricent
 
Mobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLSMobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLS
Cisco Canada
 
(4,5) enlaces wan traduccion
(4,5) enlaces wan traduccion(4,5) enlaces wan traduccion
(4,5) enlaces wan traduccion
iaraujo100301
 
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLANFlexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Cisco Canada
 
10 fn s21
10 fn s2110 fn s21
10 fn s21
Scott Foster
 

What's hot (20)

Access Network Evolution
Access Network Evolution Access Network Evolution
Access Network Evolution
 
Layer-2 VPN
Layer-2 VPNLayer-2 VPN
Layer-2 VPN
 
VPLS versus MPLS
VPLS versus MPLSVPLS versus MPLS
VPLS versus MPLS
 
Cisco Packet Transport Network – MPLS-TP
Cisco Packet Transport Network – MPLS-TPCisco Packet Transport Network – MPLS-TP
Cisco Packet Transport Network – MPLS-TP
 
Cisco MPLS
Cisco MPLSCisco MPLS
Cisco MPLS
 
The NGN Carrier Ethernet System: Technologies, Architecture and Deployment Mo...
The NGN Carrier Ethernet System: Technologies, Architecture and Deployment Mo...The NGN Carrier Ethernet System: Technologies, Architecture and Deployment Mo...
The NGN Carrier Ethernet System: Technologies, Architecture and Deployment Mo...
 
Atomf ov
Atomf ovAtomf ov
Atomf ov
 
MPLS-based Metro Ethernet Networks Tutorial by Khatri
MPLS-based Metro Ethernet Networks Tutorial by KhatriMPLS-based Metro Ethernet Networks Tutorial by Khatri
MPLS-based Metro Ethernet Networks Tutorial by Khatri
 
How to implement mpls
How to implement mplsHow to implement mpls
How to implement mpls
 
10209
1020910209
10209
 
Shortest path bridging 802.1 aq
Shortest path bridging 802.1 aqShortest path bridging 802.1 aq
Shortest path bridging 802.1 aq
 
Sparton Corp WAN Analysis
Sparton Corp WAN AnalysisSparton Corp WAN Analysis
Sparton Corp WAN Analysis
 
Wireless LAN Design and Deployment of Rich Media Networks
Wireless LAN Design and Deployment of Rich Media NetworksWireless LAN Design and Deployment of Rich Media Networks
Wireless LAN Design and Deployment of Rich Media Networks
 
Unified MPLS
Unified MPLSUnified MPLS
Unified MPLS
 
Waris l2vpn-tutorial
Waris l2vpn-tutorialWaris l2vpn-tutorial
Waris l2vpn-tutorial
 
Trill and Datacenter Alternatives
Trill and Datacenter AlternativesTrill and Datacenter Alternatives
Trill and Datacenter Alternatives
 
Mobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLSMobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLS
 
(4,5) enlaces wan traduccion
(4,5) enlaces wan traduccion(4,5) enlaces wan traduccion
(4,5) enlaces wan traduccion
 
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLANFlexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
Flexible Data Centre Fabric - FabricPath/TRILL, OTV, LISP and VXLAN
 
10 fn s21
10 fn s2110 fn s21
10 fn s21
 

Similar to Network Configuration Example: Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles

Network Configuration Example: Deploying Scalable Services on an MX Series Ro...
Network Configuration Example: Deploying Scalable Services on an MX Series Ro...Network Configuration Example: Deploying Scalable Services on an MX Series Ro...
Network Configuration Example: Deploying Scalable Services on an MX Series Ro...
Juniper Networks
 
NSX Reference Design version 3.0
NSX Reference Design version 3.0NSX Reference Design version 3.0
NSX Reference Design version 3.0
Doddi Priyambodo
 
Firewall corewp
Firewall corewpFirewall corewp
Firewall corewp
Jorge Huamán
 
Juniper Networks Solutions for VMware NSX
Juniper Networks Solutions for VMware NSXJuniper Networks Solutions for VMware NSX
Juniper Networks Solutions for VMware NSX
Juniper Networks
 
The Intersection of Identity Management and Cloud Computing
The Intersection of Identity Management and Cloud ComputingThe Intersection of Identity Management and Cloud Computing
The Intersection of Identity Management and Cloud Computing
Hitachi ID Systems, Inc.
 
Integrated-Security-Solution-for-the-virtual-data-center-and-cloud
Integrated-Security-Solution-for-the-virtual-data-center-and-cloudIntegrated-Security-Solution-for-the-virtual-data-center-and-cloud
Integrated-Security-Solution-for-the-virtual-data-center-and-cloud
John Atchison
 
Contrail Enabler for agile cloud services
Contrail Enabler for agile cloud servicesContrail Enabler for agile cloud services
Contrail Enabler for agile cloud services
Juniper Networks (日本)
 
Keynote Address - SDN A path to programmable, elastic and optimized networks
Keynote Address - SDN A path to programmable, elastic and optimized networksKeynote Address - SDN A path to programmable, elastic and optimized networks
Keynote Address - SDN A path to programmable, elastic and optimized networks
Sanjay Kapoor
 
IaaS with Software Defined Networking
IaaS with Software Defined NetworkingIaaS with Software Defined Networking
IaaS with Software Defined Networking
Prasenjit Sarkar
 
Set Up Security and Integration with DataPower XI50z
Set Up Security and Integration with DataPower XI50zSet Up Security and Integration with DataPower XI50z
Set Up Security and Integration with DataPower XI50z
Sarah Duffy
 
V mware service-def-private-cloud-11q1-white-paper
V mware service-def-private-cloud-11q1-white-paperV mware service-def-private-cloud-11q1-white-paper
V mware service-def-private-cloud-11q1-white-paper
Chiến Nguyễn
 
Juniper: Data Center Evolution
Juniper: Data Center EvolutionJuniper: Data Center Evolution
Juniper: Data Center Evolution
TechnologyBIZ
 
Control of Communication and Energy Networks Final Project - Service Function...
Control of Communication and Energy Networks Final Project - Service Function...Control of Communication and Energy Networks Final Project - Service Function...
Control of Communication and Energy Networks Final Project - Service Function...
Biagio Botticelli
 
USING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD BUILDERS
USING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD BUILDERSUSING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD BUILDERS
USING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD BUILDERS
Juniper Networks
 
Cisco open network environment
Cisco open network environmentCisco open network environment
Cisco open network environment
deepers
 
Sqlref
SqlrefSqlref
Sqlref
Enida Zhapa
 
CYB 360 Education Specialist |tutorialrank.com
CYB 360 Education Specialist |tutorialrank.comCYB 360 Education Specialist |tutorialrank.com
CYB 360 Education Specialist |tutorialrank.com
ladworkspaces
 
Cyb 360 academic adviser ....tutorialrank.com
Cyb 360 academic adviser ....tutorialrank.comCyb 360 academic adviser ....tutorialrank.com
Cyb 360 academic adviser ....tutorialrank.com
ladworkspaces
 
Private cloud day session 5 a solution for private cloud security
Private cloud day session 5 a solution for private cloud securityPrivate cloud day session 5 a solution for private cloud security
Private cloud day session 5 a solution for private cloud security
Microsoft TechNet - Belgium and Luxembourg
 
PRIVATE CLOUDS FLOAT WITH IBM SYSTEMS AND SOFTWARE
PRIVATE CLOUDS FLOAT WITH IBM SYSTEMS AND SOFTWAREPRIVATE CLOUDS FLOAT WITH IBM SYSTEMS AND SOFTWARE
PRIVATE CLOUDS FLOAT WITH IBM SYSTEMS AND SOFTWARE
IBM India Smarter Computing
 

Similar to Network Configuration Example: Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles (20)

Network Configuration Example: Deploying Scalable Services on an MX Series Ro...
Network Configuration Example: Deploying Scalable Services on an MX Series Ro...Network Configuration Example: Deploying Scalable Services on an MX Series Ro...
Network Configuration Example: Deploying Scalable Services on an MX Series Ro...
 
NSX Reference Design version 3.0
NSX Reference Design version 3.0NSX Reference Design version 3.0
NSX Reference Design version 3.0
 
Firewall corewp
Firewall corewpFirewall corewp
Firewall corewp
 
Juniper Networks Solutions for VMware NSX
Juniper Networks Solutions for VMware NSXJuniper Networks Solutions for VMware NSX
Juniper Networks Solutions for VMware NSX
 
The Intersection of Identity Management and Cloud Computing
The Intersection of Identity Management and Cloud ComputingThe Intersection of Identity Management and Cloud Computing
The Intersection of Identity Management and Cloud Computing
 
Integrated-Security-Solution-for-the-virtual-data-center-and-cloud
Integrated-Security-Solution-for-the-virtual-data-center-and-cloudIntegrated-Security-Solution-for-the-virtual-data-center-and-cloud
Integrated-Security-Solution-for-the-virtual-data-center-and-cloud
 
Contrail Enabler for agile cloud services
Contrail Enabler for agile cloud servicesContrail Enabler for agile cloud services
Contrail Enabler for agile cloud services
 
Keynote Address - SDN A path to programmable, elastic and optimized networks
Keynote Address - SDN A path to programmable, elastic and optimized networksKeynote Address - SDN A path to programmable, elastic and optimized networks
Keynote Address - SDN A path to programmable, elastic and optimized networks
 
IaaS with Software Defined Networking
IaaS with Software Defined NetworkingIaaS with Software Defined Networking
IaaS with Software Defined Networking
 
Set Up Security and Integration with DataPower XI50z
Set Up Security and Integration with DataPower XI50zSet Up Security and Integration with DataPower XI50z
Set Up Security and Integration with DataPower XI50z
 
V mware service-def-private-cloud-11q1-white-paper
V mware service-def-private-cloud-11q1-white-paperV mware service-def-private-cloud-11q1-white-paper
V mware service-def-private-cloud-11q1-white-paper
 
Juniper: Data Center Evolution
Juniper: Data Center EvolutionJuniper: Data Center Evolution
Juniper: Data Center Evolution
 
Control of Communication and Energy Networks Final Project - Service Function...
Control of Communication and Energy Networks Final Project - Service Function...Control of Communication and Energy Networks Final Project - Service Function...
Control of Communication and Energy Networks Final Project - Service Function...
 
USING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD BUILDERS
USING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD BUILDERSUSING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD BUILDERS
USING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD BUILDERS
 
Cisco open network environment
Cisco open network environmentCisco open network environment
Cisco open network environment
 
Sqlref
SqlrefSqlref
Sqlref
 
CYB 360 Education Specialist |tutorialrank.com
CYB 360 Education Specialist |tutorialrank.comCYB 360 Education Specialist |tutorialrank.com
CYB 360 Education Specialist |tutorialrank.com
 
Cyb 360 academic adviser ....tutorialrank.com
Cyb 360 academic adviser ....tutorialrank.comCyb 360 academic adviser ....tutorialrank.com
Cyb 360 academic adviser ....tutorialrank.com
 
Private cloud day session 5 a solution for private cloud security
Private cloud day session 5 a solution for private cloud securityPrivate cloud day session 5 a solution for private cloud security
Private cloud day session 5 a solution for private cloud security
 
PRIVATE CLOUDS FLOAT WITH IBM SYSTEMS AND SOFTWARE
PRIVATE CLOUDS FLOAT WITH IBM SYSTEMS AND SOFTWAREPRIVATE CLOUDS FLOAT WITH IBM SYSTEMS AND SOFTWARE
PRIVATE CLOUDS FLOAT WITH IBM SYSTEMS AND SOFTWARE
 

More from Juniper Networks

Why Juniper, Driven by Mist AI, Leads the Market
 Why Juniper, Driven by Mist AI, Leads the Market Why Juniper, Driven by Mist AI, Leads the Market
Why Juniper, Driven by Mist AI, Leads the Market
Juniper Networks
 
Experience the AI-Driven Enterprise
Experience the AI-Driven EnterpriseExperience the AI-Driven Enterprise
Experience the AI-Driven Enterprise
Juniper Networks
 
How AI Simplifies Troubleshooting Your WAN
How AI Simplifies Troubleshooting Your WANHow AI Simplifies Troubleshooting Your WAN
How AI Simplifies Troubleshooting Your WAN
Juniper Networks
 
Real AI. Real Results. Mist AI Customer Testimonials.
Real AI. Real Results. Mist AI Customer Testimonials.Real AI. Real Results. Mist AI Customer Testimonials.
Real AI. Real Results. Mist AI Customer Testimonials.
Juniper Networks
 
SD-WAN, Meet MARVIS.
SD-WAN, Meet MARVIS.SD-WAN, Meet MARVIS.
SD-WAN, Meet MARVIS.
Juniper Networks
 
Are you able to deliver reliable experiences for connected devices
Are you able to deliver reliable experiences for connected devicesAre you able to deliver reliable experiences for connected devices
Are you able to deliver reliable experiences for connected devices
Juniper Networks
 
Stop Doing These 5 Things with Your SD-WAN
Stop Doing These 5 Things with Your SD-WANStop Doing These 5 Things with Your SD-WAN
Stop Doing These 5 Things with Your SD-WAN
Juniper Networks
 
Securing IoT at Scale Requires a Holistic Approach
Securing IoT at Scale Requires a Holistic ApproachSecuring IoT at Scale Requires a Holistic Approach
Securing IoT at Scale Requires a Holistic Approach
Juniper Networks
 
Smart Solutions for Smart Communities: What's Next & Who's Responsible?
Smart Solutions for Smart Communities: What's Next & Who's Responsible?Smart Solutions for Smart Communities: What's Next & Who's Responsible?
Smart Solutions for Smart Communities: What's Next & Who's Responsible?
Juniper Networks
 
What's Your IT Alter Ego?
What's Your IT Alter Ego?What's Your IT Alter Ego?
What's Your IT Alter Ego?
Juniper Networks
 
Are You Ready for Digital Cohesion?
Are You Ready for Digital Cohesion?Are You Ready for Digital Cohesion?
Are You Ready for Digital Cohesion?
Juniper Networks
 
Juniper vSRX - Fast Performance, Low TCO
Juniper vSRX - Fast Performance, Low TCOJuniper vSRX - Fast Performance, Low TCO
Juniper vSRX - Fast Performance, Low TCO
Juniper Networks
 
SDN and NFV: Transforming the Service Provider Organization
SDN and NFV: Transforming the Service Provider OrganizationSDN and NFV: Transforming the Service Provider Organization
SDN and NFV: Transforming the Service Provider Organization
Juniper Networks
 
Navigating the Uncertain World Facing Service Providers - Juniper's Perspective
Navigating the Uncertain World Facing Service Providers - Juniper's PerspectiveNavigating the Uncertain World Facing Service Providers - Juniper's Perspective
Navigating the Uncertain World Facing Service Providers - Juniper's Perspective
Juniper Networks
 
vSRX Buyer’s Guide infographic - Juniper Networks
vSRX Buyer’s Guide infographic - Juniper Networks vSRX Buyer’s Guide infographic - Juniper Networks
vSRX Buyer’s Guide infographic - Juniper Networks
Juniper Networks
 
NFV Solutions for the Telco Cloud
NFV Solutions for the Telco Cloud NFV Solutions for the Telco Cloud
NFV Solutions for the Telco Cloud
Juniper Networks
 
Juniper SRX5800 Infographic
Juniper SRX5800 InfographicJuniper SRX5800 Infographic
Juniper SRX5800 Infographic
Juniper Networks
 
Infographic: 90% MetaFabric Customer Satisfaction
Infographic: 90% MetaFabric Customer SatisfactionInfographic: 90% MetaFabric Customer Satisfaction
Infographic: 90% MetaFabric Customer Satisfaction
Juniper Networks
 
Infographic: Whack Hackers Lightning Fast
Infographic: Whack Hackers Lightning FastInfographic: Whack Hackers Lightning Fast
Infographic: Whack Hackers Lightning Fast
Juniper Networks
 
High performance data center computing using manageable distributed computing
High performance data center computing using manageable distributed computingHigh performance data center computing using manageable distributed computing
High performance data center computing using manageable distributed computing
Juniper Networks
 

More from Juniper Networks (20)

Why Juniper, Driven by Mist AI, Leads the Market
 Why Juniper, Driven by Mist AI, Leads the Market Why Juniper, Driven by Mist AI, Leads the Market
Why Juniper, Driven by Mist AI, Leads the Market
 
Experience the AI-Driven Enterprise
Experience the AI-Driven EnterpriseExperience the AI-Driven Enterprise
Experience the AI-Driven Enterprise
 
How AI Simplifies Troubleshooting Your WAN
How AI Simplifies Troubleshooting Your WANHow AI Simplifies Troubleshooting Your WAN
How AI Simplifies Troubleshooting Your WAN
 
Real AI. Real Results. Mist AI Customer Testimonials.
Real AI. Real Results. Mist AI Customer Testimonials.Real AI. Real Results. Mist AI Customer Testimonials.
Real AI. Real Results. Mist AI Customer Testimonials.
 
SD-WAN, Meet MARVIS.
SD-WAN, Meet MARVIS.SD-WAN, Meet MARVIS.
SD-WAN, Meet MARVIS.
 
Are you able to deliver reliable experiences for connected devices
Are you able to deliver reliable experiences for connected devicesAre you able to deliver reliable experiences for connected devices
Are you able to deliver reliable experiences for connected devices
 
Stop Doing These 5 Things with Your SD-WAN
Stop Doing These 5 Things with Your SD-WANStop Doing These 5 Things with Your SD-WAN
Stop Doing These 5 Things with Your SD-WAN
 
Securing IoT at Scale Requires a Holistic Approach
Securing IoT at Scale Requires a Holistic ApproachSecuring IoT at Scale Requires a Holistic Approach
Securing IoT at Scale Requires a Holistic Approach
 
Smart Solutions for Smart Communities: What's Next & Who's Responsible?
Smart Solutions for Smart Communities: What's Next & Who's Responsible?Smart Solutions for Smart Communities: What's Next & Who's Responsible?
Smart Solutions for Smart Communities: What's Next & Who's Responsible?
 
What's Your IT Alter Ego?
What's Your IT Alter Ego?What's Your IT Alter Ego?
What's Your IT Alter Ego?
 
Are You Ready for Digital Cohesion?
Are You Ready for Digital Cohesion?Are You Ready for Digital Cohesion?
Are You Ready for Digital Cohesion?
 
Juniper vSRX - Fast Performance, Low TCO
Juniper vSRX - Fast Performance, Low TCOJuniper vSRX - Fast Performance, Low TCO
Juniper vSRX - Fast Performance, Low TCO
 
SDN and NFV: Transforming the Service Provider Organization
SDN and NFV: Transforming the Service Provider OrganizationSDN and NFV: Transforming the Service Provider Organization
SDN and NFV: Transforming the Service Provider Organization
 
Navigating the Uncertain World Facing Service Providers - Juniper's Perspective
Navigating the Uncertain World Facing Service Providers - Juniper's PerspectiveNavigating the Uncertain World Facing Service Providers - Juniper's Perspective
Navigating the Uncertain World Facing Service Providers - Juniper's Perspective
 
vSRX Buyer’s Guide infographic - Juniper Networks
vSRX Buyer’s Guide infographic - Juniper Networks vSRX Buyer’s Guide infographic - Juniper Networks
vSRX Buyer’s Guide infographic - Juniper Networks
 
NFV Solutions for the Telco Cloud
NFV Solutions for the Telco Cloud NFV Solutions for the Telco Cloud
NFV Solutions for the Telco Cloud
 
Juniper SRX5800 Infographic
Juniper SRX5800 InfographicJuniper SRX5800 Infographic
Juniper SRX5800 Infographic
 
Infographic: 90% MetaFabric Customer Satisfaction
Infographic: 90% MetaFabric Customer SatisfactionInfographic: 90% MetaFabric Customer Satisfaction
Infographic: 90% MetaFabric Customer Satisfaction
 
Infographic: Whack Hackers Lightning Fast
Infographic: Whack Hackers Lightning FastInfographic: Whack Hackers Lightning Fast
Infographic: Whack Hackers Lightning Fast
 
High performance data center computing using manageable distributed computing
High performance data center computing using manageable distributed computingHigh performance data center computing using manageable distributed computing
High performance data center computing using manageable distributed computing
 

Recently uploaded

Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 

Recently uploaded (20)

Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 

Network Configuration Example: Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles

  • 1. Network Configuration Example Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles Release 12.1 Published: 2012-07-19 Copyright © 2012, Juniper Networks, Inc.
  • 2. Juniper Networks, Inc. 1194 North Mathilda Avenue Sunnyvale, California 94089 USA 408-745-2000 www.juniper.net This product includes the Envoy SNMP Engine, developed by Epilogue Technology, an Integrated Systems Company. Copyright © 1986-1997, Epilogue Technology Corporation. All rights reserved. This program and its documentation were developed at private expense, and no part of them is in the public domain. This product includes memory allocation software developed by Mark Moraes, copyright © 1988, 1989, 1993, University of Toronto. This product includes FreeBSD software developed by the University of California, Berkeley, and its contributors. All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite Releases is copyrighted by the Regents of the University of California. Copyright © 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994. The Regents of the University of California. All rights reserved. GateD software copyright © 1995, the Regents of the University. All rights reserved. Gate Daemon was originated and developed through release 3.0 by Cornell University and its collaborators. Gated is based on Kirton’s EGP, UC Berkeley’s routing daemon (routed), and DCN’s HELLO routing protocol. Development of Gated has been supported in part by the National Science Foundation. Portions of the GateD software copyright © 1988, Regents of the University of California. All rights reserved. Portions of the GateD software copyright © 1991, D. L. S. Associates. This product includes software developed by Maker Communications, Inc., copyright © 1996, 1997, Maker Communications, Inc. Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks of Juniper Networks, Inc. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners. Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice. Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that are owned by or licensed to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440, 6,192,051, 6,333,650, 6,359,479, 6,406,312, 6,429,706, 6,459,579, 6,493,347, 6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785. Network Configuration Example Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles 12.1 Copyright © 2012, Juniper Networks, Inc. All rights reserved. The information in this document is current as of the date on the title page. YEAR 2000 NOTICE Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-related limitations through the year 2038. However, the NTP application is known to have some difficulty in the year 2036. END USER LICENSE AGREEMENT The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networks software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at http://www.juniper.net/support/eula.html. By downloading, installing or using such software, you agree to the terms and conditions of that EULA. ii Copyright © 2012, Juniper Networks, Inc.
  • 3. Table of Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Dynamic Profiles Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Dynamic Profile Interface Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 What Dynamic Profiles Do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 How Dynamic Profiles Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Dynamic Profile Version Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Dynamic Profile Semantic Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Dynamic Profiles for VPLS Pseudowires . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Use Cases for Dynamic Profiles for VPLS Pseudowires . . . . . . . . . . . . . . . . . . . . . . 4 Example: Configuring the Router to Push an Extra VLAN Tag onto Pseudowire Traffic Using Dynamic Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Example: Configuring a VPLS Pseudowire as a Trunk Interface Using Dynamic Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Copyright © 2012, Juniper Networks, Inc. iii
  • 4. Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles iv Copyright © 2012, Juniper Networks, Inc.
  • 5. Introduction This document describes what dynamic profiles do, how they work, and how to configure virtual private LAN service (VPLS) pseudowires using dynamic profiles. Dynamic Profiles Overview A dynamic profile is a set of characteristics, defined in a type of template, that you can use to provide dynamic subscriber access and services for broadband applications. These services are assigned dynamically to interfaces. The dynamic-profiles hierarchy appears at the top level of the CLI hierarchy and contains many Juniper Networks configuration statements that you normally define statically. Dynamic profile statements appear in the following subhierarchies within the [edit dynamic-profiles] hierarchy: • class-of-service • firewall • interfaces • predefined-variable-defaults • protocols • routing-instances • routing-options • variables This topic covers: • Dynamic Profile Interface Support on page 1 • What Dynamic Profiles Do on page 1 • How Dynamic Profiles Work on page 2 • Dynamic Profile Version Creation on page 2 • Dynamic Profile Semantic Checking on page 3 Dynamic Profile Interface Support You can identify subscribers statically or dynamically. To identify subscribers statically, you can reference a static VLAN interface in a dynamic profile. To identify subscribers dynamically, you create variables for demux interfaces that are dynamically created when subscribers log in. What Dynamic Profiles Do A dynamic profile acts as a kind of template that enables you to create, update, or remove a configuration that includes client access (for example, interface or protocol) or service (for example, CoS) attributes. Using these profiles enables you to consolidate all of the Copyright © 2012, Juniper Networks, Inc. 1
  • 6. Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles common attributes of a client (and eventually a group of clients) and apply the attributes simultaneously. How Dynamic Profiles Work After they are created, profiles reside on the router in a profile library. These profiles can contain various configurations. For example, you can create a client network access configuration, a services activation configuration, or both. When a router interface receives a join message from a client, the router applies the values configured in the specified dynamic profile to that router interface. The profile can contain interface, class-of-service (CoS), and protocol values that are applied directly to the interface. In addition, the dynamic profile can call input or output firewall filters that reside outside of the dynamic profiles hierarchy. Dynamic Profile Version Creation You can create new versions of dynamic profiles that are currently in use by subscribers. Dynamic profile version creation is enabled at the [system] hierarchy level. When enabled, you can create multiple versions of any dynamic profiles on the router. Any subscriber that logs in following a dynamic profile modification uses the latest version of the dynamic profile. Subscribers that are already active continue to use the older version of the dynamic profile until they log out or their session terminates. When creating versions of dynamic profiles, keep the following in mind: • You must enable or disable dynamic profile version creation before creating or using any dynamic profiles on the router. Enabling or disabling dynamic profile version creation after dynamic profiles are configured is not supported. NOTE: Before you can enable or disable dynamic profile version creation for a router on which any dynamic profiles are configured, you must first remove all dynamic profiles from the router configuration. • Each version of a dynamic profile is stored in the profile database as a new profile. • The name of the new profile version is derived by appending a four-character tag string to the original base dynamic profile name. This tag string contains two dollar sign ($) characters to identify the version field of the profile name. These two characters are followed by two numerical characters that represent the version number of the dynamic profile (for example, 01). • The dynamic profile that you modify is always stored as the latest version. You cannot create a modified dynamic profile and save it as an earlier version. For example, if you modify version three of a dynamic profile, it is saved as version four. • You can only modify the latest version of a dynamic profile. • If the dynamic profile version that you modify is not in use by any subscriber, the profile is overwritten with committed changes without creating a new version. • You can create a maximum of 10 versions of each dynamic profile. 2 Copyright © 2012, Juniper Networks, Inc.
  • 7. If all 10 versions of a dynamic profile already exists, any modification to the dynamic profile results in modifying the latest version of that profile (that is, version $$10). If this version is in use, any modification attempt fails upon commit. • You can delete a dynamic profile only when it is not in use. • The dynamic profile version feature supports graceful restart and unified ISSU. Dynamic Profile Semantic Checking Variables are applied to dynamic profiles dynamically and cannot be checked with existing CLI checks. Semantic checking validates some variables in dynamic profiles to help identify potential configuration errors. Semantic checks are performed during commit and during profile instantiation. Commit time checks ensure that variables appear in the correct location within the dynamic profile. Checks performed before profile instantiation ensure that the values that replace the variables are correct. The checks performed on the values include the following: • Range validation • Variable type validation • Existence of variables where they are mandatory • Variable matching to regular expressions A commit time check failure results in an error message being displayed and logged in /var/log/messages and the commit not taking place. An instantiation failure results in an error being logged in /var/log/messages and the profile instantiation failing. Related • Configuring a Basic Dynamic Profile Documentation • Configuring a Dynamic Profile for Client Access • Configuring a Dynamic Profile for Various Levels of Services • Enabling Dynamic Profiles to use Multiple Versions • Dynamic Variables Overview • Subscriber Interface Overview Dynamic Profiles for VPLS Pseudowires A router often has two types of interfaces: • Static interfaces, which are configured before the router is booted • Dynamic interfaces, which are created after the router is booted and while it is running A virtual private LAN service (VPLS) pseudowire interface (such as lsi.1048576) is dynamically created by the system. Therefore, the logical interface unit number for the VPLS pseudowire is not available in advance to configure characteristics such as VLAN identifiers and other parameters. As a result, certain virtual local area network (VLAN) Copyright © 2012, Juniper Networks, Inc. 3
  • 8. Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles manipulation features that are easily applied to static interfaces (such as xe-, ge-, and so on) are either not supported on dynamic interfaces or supported in a nonstandard method. However, on MX Series routers, there is another configuration method that dynamic interfaces can use to determine their VLAN parameters when they are created by a running router: dynamic profiles. A dynamic profile is a conceptual container that includes parameters associated with a dynamic entity, parameters whose values are not known at the time the entity is configured. A dynamic profile acts as a kind of template that enables you to create, update, or remove a configuration that includes client access (for example, interface or protocol) or service (for example, CoS) attributes. Using these profiles you can consolidate all of the common attributes of a client (and eventually a group of clients) and apply the attributes simultaneously. The router contains several predefined variables that enable dynamic association of interfaces and logical units to incoming subscriber requests. While configuring dynamic profile, use the variable $junos-interface-ifd-namefor a dynamic physical interface and $junos-underlying-unit-numberfor a dynamic logical interface (unit). When a client accesses the router, the dynamic profile configuration replaces the predefined variable with the actual interface name or unit value for the interface the client is accessing. Dynamic profiles for VPLS are supported only on MX Series routers. For more information about dynamic profiles, see the Junos OS Subscriber Access Configuration Guide Related • Ethernet Networking Documentation • Example: Configuring VPLS Pseudowires with Dynamic Profiles—Basic Solutions • Example: Configuring VPLS Pseudowires with Dynamic Profiles—Complex Solutions Use Cases for Dynamic Profiles for VPLS Pseudowires A dynamic profile is a set of characteristics, defined in a type of template, that you can use to provide dynamic subscriber access and services for broadband applications. These services are assigned dynamically to interfaces. You can use dynamic profiles to configure the VLAN parameters of the dynamic interfaces on MX Series routers. Two use cases for configuring VPLS pseudowires with dynamic profiles are: • Configuring an extra VLAN tag onto pseudowire traffic — This is a common scenario where all the traffic received from a customer edge (CE) interface needs an additional VLAN tag toward the core. In such cases, you can use dynamic profiles at ingress and egress to control the pseudowire behavior. You can apply dynamic profiles to receive the desired frames, set the additional VLAN tag for these frames, and send these tagged frames with the desired VLAN identifier. • Configuring a VPLS pseudowire as a trunk interface — This is another common scenario where the requirement is to accept traffic from a particular source and to route the traffic based on specific criteria. Dynamic profiles can be used to create 4 Copyright © 2012, Juniper Networks, Inc.
  • 9. multiple pseudowire trunk interfaces to accept the traffic based on specific VLAN identifiers, and to route the accepted traffic to the desired destination. Example: Configuring the Router to Push an Extra VLAN Tag onto Pseudowire Traffic Using Dynamic Profiles This example shows how dynamic profiles can be used to add an extra VLAN tag to the traffic received from a customer edge (CE) interface toward the network core. • Requirements on page 5 • Overview and Topology on page 5 • Configuration on page 6 • Verification on page 7 Requirements This example uses the following hardware and software components: • MX Series 3D Universal Edge Routers • Junos OS Release 9.3 or later Overview and Topology A dynamic profile is a set of characteristics, defined in a type of template, that you can use to provide dynamic subscriber access and services for broadband applications. These services are assigned dynamically to interfaces. You can use dynamic profiles at ingress and egress to control the pseudowire behavior. The topology used in this example for dynamically pushing an extra VLAN tag on to a pseudowire is shown in Figure 1 on page 5. On the ingress, the pseudowire receives dual-tagged frames with an inner VLAN ID 100, and an outer VLAN ID 10. All other frames are dropped. The outer tag is stripped at the interface. On the egress, the dual-tagged frames are transmitted with the outer vlan tag set to 10. Figure 1: Pushing an Extra VLAN Tag on a Pseudowire CE MX Pseudowire 100 CE 10 10 ge-0/0/0 100/200 100/200 100 MX MX MX 200 MX g041260 CE Copyright © 2012, Juniper Networks, Inc. 5
  • 10. Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles Configuration CLI Quick To quickly configure this example, copy the following commands, paste them into a text Configuration file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level. set dynamic-profiles pw-tagged interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit vlan-tags inner 100 outer 10 set routing-instances red instance-type vpls vlan-id 100 interface ge-0/0/0 set routing-instances red protocols vpls associate-profile pw-tagged Pushing an Additional VLAN Tag Over the Pseudowire Step-by-Step The following example requires that you navigate various levels in the configuration Procedure hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide. NOTE: This is not a complete router configuration. To push an additional VLAN tag over the pseudowire: 1. Create a dynamic profile named pw-tagged. user@host#set dynamic-profiles pw-tagged 2. Specify the variables $junos-interface-ifd-name and $junos-underlying-interface-unit to be used by the router to match the interface name and the unit value of the receiving interface. [edit dynamic-profiles pw-tagged] user@host# set interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit 3. Specify the VLAN tag to receive dual-tagged frames with an inner VLAN ID 100 and an outer VLAN ID 10. [edit dynamic-profiles pw-tagged interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set vlan-tags inner 100 outer 10 4. Create a routing instance named red. [edit ] user@host# set routing-instances red instance-type vpls vlan-id 100 interface ge-0/0/0 5. Associate the profile with the routing instance. [edit routing-instances red] user@host# set protocols vpls associate-profile pw-tagged 6 Copyright © 2012, Juniper Networks, Inc.
  • 11. Verification Verifying the Dynamic Profile Configuration Purpose Make sure that the dynamic profile is configured correctly. Action From configuration mode, enter the show dynamic-profiles command. user@host# show dynamic-profiles pw-tagged { interfaces { "$junos-interface-ifd-name" { unit "$junos-underlying-interface-unit" { vlan-tags inner 100 outer 10; } } } } From configuration mode, enter the show routing-instances command. user@host# show routing-instances red { instance-type vpls; interface ge-0/0/0.0; vlan-id 100; protocols { vpls { associate-profile pw-tagged; } } } Meaning In the ingress direction, the pseudowire receives dual-tagged frames with an inner VLAN ID 100, and an outer VLAN ID 10. All other frames are dropped and the outer tag is stripped at the interface. In the egress direction, dual-tagged frames are transmitted with an inner VLAN ID 100 and an outer VLAN ID 10. Related • Dynamic Profiles Overview on page 1 Documentation • Dynamic Profiles for VPLS Pseudowires on page 3 • Use Cases for Dynamic Profiles for VPLS Pseudowires on page 4 • Example: Configuring a VPLS Pseudowire as a Trunk Interface Using Dynamic Profiles on page 8 Copyright © 2012, Juniper Networks, Inc. 7
  • 12. Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles Example: Configuring a VPLS Pseudowire as a Trunk Interface Using Dynamic Profiles This example shows how dynamic profiles can be used to create multiple pseudowire trunk interfaces to accept the traffic based on specific VLAN identifiers, and to route the accepted traffic to the desired destination. • Requirements on page 8 • Overview and Topology on page 8 • Configuration on page 9 • Verification on page 11 Requirements This example uses the following hardware and software components: • MX Series 3D Universal Edge Routers • Junos OS Release 9.3 or later Overview and Topology The topology used in this example for configuring VPLS pseudowires as trunk interfaces is shown in Figure 2 on page 8. Three trunk interfaces, pw-trunk-1 with VLAN ID 100–300, pw-trunk-2 with VLAN ID 301–600, and pw-trunk-3 with VLAN ID 601—100, are configured. Figure 2: Using Pseudowires as Trunk Interfaces 10.255.1.4 601-1000 MX MX CE MX 601-1000 100-400 10.255.1.2 100-200 MX ge-0/0/0 MX MX 100-1000 100-300 201-300 MX 500-1000 301-600 MX 10.255.1.3 501-600 MX CE MX 301-500 MX g041259 8 Copyright © 2012, Juniper Networks, Inc.
  • 13. Configuration Configuring VPLS pseudowires as trunk interfaces using dynamic profiles involves performing these tasks: • Creating a Dynamic Profile on page 9 • Creating a Routing Instance with a Bridge Domain on page 11 • Associating Dynamic Profiles with a Routing Instance on page 11 CLI Quick To quickly configure this example, copy the following commands, paste them into a text Configuration file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level. set dynamic-profiles pw-trunk-1 interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit family bridge interface-mode trunk vlan-id-list [100-300] set dynamic-profiles pw-trunk-2 interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit family bridge interface-mode trunk vlan-id-list [301-600] set dynamic-profiles pw-trunk-3 interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit family bridge interface-mode trunk vlan-id-list [601-1000] set routing-instances red instance-type virtual-switch bridge-domains vlan-100 vlan-id 100 set routing-instances red instance-type virtual-switch bridge-domains vlan-200 vlan-id 200 set routing-instances red instance-type virtual-switch bridge-domains vlan-1000 vlan-id 1000 set routing-instances red protocols vpls neighbor 10.255.1.2 associate-profile pw-trunk-1 set routing-instances red protocols vpls neighbor 10.255.1.3 associate-profile pw-trunk-2 set routing-instances red protocols vpls neighbor 10.255.1.4 associate-profile pw-trunk-3 Creating a Dynamic Profile Step-by-Step Perform the following steps to create the pw-trunk-1 dynamic profile. This dynamic profile Procedure is then associated with the routing instance to filter the ingress and egress frames. The following example requires that you navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide. NOTE: This is not a complete router configuration. 1. Create a dynamic profile named pw-trunk-1. [edit] user@host# set dynamic-profiles pw-trunk-1 Copyright © 2012, Juniper Networks, Inc. 9
  • 14. Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles 2. Specify the variables $junos-interface-ifd-name and $junos-underlying-interface-unit to be used by the router to match the interface name and the unit value of the receiving interface. [edit dynamic-profiles pw-trunk-1] user@host# set interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit 3. Specify the protocol family, interface mode, and the trunk mode VLAN membership for the interface. [edit dynamic-profiles pw-trunk-1 interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set family bridge family bridge interface-mode trunk vlan-id-list [100-300] Step-by-Step Perform the following steps to create the pw-trunk-2 dynamic profile. This dynamic profile Procedure is then associated with the routing instance to filter the ingress and egress frames. 1. Create a dynamic profile named pw-trunk-2. [edit ] user@host# set dynamic-profiles pw-trunk-2 2. Specify the variables $junos-interface-ifd-name and $junos-underlying-interface-unit to be used by the router to match the interface name and the unit value of the receiving interface. [edit dynamic-profiles pw-trunk-2] user@host# set interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit 3. Specify the protocol family, interface mode, and the trunk mode VLAN membership for the interface. [edit dynamic-profiles pw-trunk-2 interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set family bridge family bridge interface-mode trunk vlan-id-list [301-600] Step-by-Step Perform the following steps to create the pw-trunk-3 dynamic profile. This dynamic profile Procedure is then associated with the routing instance to filter the ingress and egress frames. 1. Create a dynamic profile named pw-trunk-3. [edit] user@host# set dynamic-profiles pw-trunk-3 2. Specify the variables $junos-interface-ifd-name and $junos-underlying-interface-unit to be used by the router to match the interface name and the unit value of the receiving interface. [edit dynamic-profiles pw-trunk-3] user@host# set interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit 3. Specify the protocol family, interface mode, and the trunk mode VLAN membership for the interface. 10 Copyright © 2012, Juniper Networks, Inc.
  • 15. [edit dynamic-profiles pw-trunk-3 interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set family bridge family bridge interface-mode trunk vlan-id-list [601-1000] Creating a Routing Instance with a Bridge Domain Step-by-Step In this example, the routing instance is created with three bridge domains: vlan-100, Procedure vlan-200, vlan-300. Only the packets with VLAN IDs that match the VLAN ID configured for a bridge domain are forwarded within the bridge domain. NOTE: The VLAN ID configuration supports a range of VLAN IDs but for brevity the example only shows one VLAN ID configured for each bridge domain. To configure a routing instance with bridge domains: 1. Create a routing instance named red. [edit ] user@host# set routing-instances red instance-type virtual-switch 2. Configure the bridge domains on the routing instance. [edit routing-instances red] user@host# set bridge-domains vlan-100 vlan-id 100 user@host# set bridge-domains vlan-200 vlan-id 200 user@host# set bridge-domains vlan-1000 vlan-id 1000 Associating Dynamic Profiles with a Routing Instance Step-by-Step By associating the dynamic profiles with a routing instance, you can filter the frames on Procedure egress and ingress. To associate dynamic profiles with a routing instance, configure the routing protocol to accept the VLANs. In this example, the dynamic profile pw-trunk-1 is associated with neighbor 10.255.1.2, the dynamic profile pw-trunk-2 is associated with neighbor 10.255.1.3, and the dynamic profile pw-trunk-3 is associated with neighbor 10.255.1.4. [edit routing-instances red] user@host# set protocols vpls neighbor 10.255.1.2 associate-profile pw-trunk-1 user@host# set protocols vpls neighbor 10.255.1.3 associate-profile pw-trunk-2 user@host# set protocols vpls neighbor 10.255.1.4 associate-profile pw-trunk-3 Verification Verifying the Trunk Interface Purpose Make sure that the settings for the trunk interface are correct. Action From operational mode, enter the following commands: Copyright © 2012, Juniper Networks, Inc. 11
  • 16. Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles user@host> show dynamic-profiles pw-trunk-1 { interfaces { "$junos-interface-ifd-name" { unit "$junos-underlying-interface-unit" { family-bridge { interface-mode trunk; vlan-id-list 100-300; } } } } } pw-trunk-2 { interfaces { "$junos-interface-ifd-name" { unit "$junos-underlying-interface-unit" { family-bridge { interface-mode trunk; vlan-id-list 301-600; } } } } } pw-trunk-3 { interfaces { "$junos-interface-ifd-name" { unit "$junos-underlying-interface-unit" { family-bridge { interface-mode trunk; vlan-id-list 601-1000; } } } } } user@host> show routing-instances red { instance-type virtual-switch; protocols { vpls { neighbor 10.255.1.2 { associate-profile pw-trunk-1; } neighbor 10.255.1.3 { associate-profile pw-trunk-2; } neighbor 10.255.1.4 { associate-profile pw-trunk-3; } } } 12 Copyright © 2012, Juniper Networks, Inc.
  • 17. bridge-domains { vlan-100 { vlan-id 100; } vlan-1000 { vlan-id 1000; } vlan-200 { vlan-id 200; } } } Meaning On the ingress, the pseudowire receives frames with the VLAN ID 100 to 1000. All other frames are dropped. On the egress, the pseudowire sends frames with VLAN ID 100-300 to a particular neighbor, 301-600 to the second neighbor, and 601-1000 to the third neighbor. All other frames are dropped. Related • Dynamic Profiles Overview on page 1 Documentation • Dynamic Profiles for VPLS Pseudowires on page 3 • Use Cases for Dynamic Profiles for VPLS Pseudowires on page 4 • Example: Configuring the Router to Push an Extra VLAN Tag onto Pseudowire Traffic Using Dynamic Profiles on page 5 Copyright © 2012, Juniper Networks, Inc. 13
  • 18. Configuring VPLS Pseudowires on MX Series Devices Using Dynamic Profiles 14 Copyright © 2012, Juniper Networks, Inc.