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:
- Create a retail dynamic profile.[edit] user@host# edit dynamic-profiles Subscriber_Profile_Retail1
- Define the dynamic routing instance variable in the dynamic
profile.[edit dynamic-profiles Subscriber_Profile_Retail1]user@host# edit routing-instances $junos-routing-instance
- 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
- Define the dynamic interfaces variable for the dynamic
profile.[edit dynamic-profiles Subscriber_Profile_Retail1]user@host# set interfaces $junos-interface-ifd-name
- 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
- (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.
- 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 - Define the input and output VLAN maps. See Stacking and Rewriting VLAN Tags for the Layer 2 Wholesale Solution for details.
- 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