Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Configuring a Retail Dynamic Profile for Use in the Layer 2 Wholesale Solution

To configure a dynamic profile for use with retailer access:

  1. Create a retail dynamic profile.
    [edit] user@host# edit dynamic-profiles Subscriber_Profile_Retail1
  2. Define the dynamic routing instance variable in the dynamic profile.
    [edit dynamic-profiles Subscriber_Profile_Retail1]user@host# edit routing-instances $junos-routing-instance
  3. Set the dynamic interface variable for the dynamic routing instance.
    [edit dynamic-profiles Subscriber_Profile_Retail1 routing-instances “$junos-routing-instance”]user@host# set interface $junos-interface-name
  4. Define the dynamic interfaces variable for the dynamic profile.
    [edit dynamic-profiles Subscriber_Profile_Retail1]user@host# set interfaces $junos-interface-ifd-name
  5. Define the dynamic interface unit variable for the dynamic profile.
    [edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”]user@host# set unit $junos-interface-unit
  6. (Optional) Define the VLAN encapsulation for the dynamic interfaces.
    [edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name” unit “$junos-interface-unit”]user@host# set encapsulation vlan-vpls

    Note: If you choose not to specify an encapsulation for the logical interface, you must specify encapsulation for the physical interface.

  7. Define the VLAN tag variables for the dynamic profile:

    Note: This solution example uses stacked VLAN tagging. However, you can also specify single-tag VLANs. For additional information about configuring dynamic VLANs, see the Junos OS Subscriber Management, Release 13.1.

    [edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name” unit “$junos-interface-unit”]user@host# set vlan-tags outer $junos-stacked-vlan-id inner $junos-vlan-id
  8. Define the input and output VLAN maps. See Stacking and Rewriting VLAN Tags for the Layer 2 Wholesale Solution for details.
  9. Specify the unit family as vpls at the [edit dynamic-profiles profile-name interfaces “$junos-interface-ifd-name” unit “$junos-interface-unit” family] hierarchy level.
    [edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name” unit “$junos-interface-unit”]user@host# set family vpls

Published: 2013-02-13

Supported Platforms

Published: 2013-02-13