Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring a Dynamic Service VLAN Interface Set of Subscribers in a Dynamic Profile

Interface sets enable you to provide hierarchical scheduling to a group of subscriber interfaces. In this example, by using the $junos-svlan-interface-set-name internal dynamic variable when specifying the interface set name, you can locally generate an interface set name for use by SVLAN interfaces based on the outer tag of the dual-tagged VLAN. The format of the generated variable is physical_interface_name - outer_VLAN_tag.

Requirements

Before you begin, configure the subscriber interfaces that you intend to include in the interface set. You can find general configuration instructions for the supported dynamic interface configuration in DHCP Subscriber Interface Overviewand in the following:

Overview

Interface sets enable you to provide hierarchical scheduling to a group of subscriber interfaces. By using the $junos-svlan-interface-set-name internal dynamic variable when specifying the interface set name, you can locally generate an interface set name for use by SVLAN interfaces based on the outer tag of the dual-tagged VLAN. The format of the generated variable is physical_interface_name - outer_VLAN_tag.

This example includes the following statements:

  • interface-set—Configures the name of the scheduler for dynamic CoS. In this example, you use the $junos-svlan-interface-set-name variable to obtain the locally generated interface set name for use by SVLAN interfaces based on the outer tag of the dual-tagged VLAN.

  • output-traffic-control-profile—Applies an output traffic scheduling and shaping profile to the interface set.

  • output-traffic-control-profile-remaining—Applies an output traffic scheduling and shaping profile for remaining traffic to the interface set.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text 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.

Procedure

Step-by-Step Procedure

To configure an SVLAN interface set of subscriber interfaces:

  1. Access the dynamic profile you want to modify for interface sets.

  2. Access the dynamic profile interface configuration.

  3. Configure the SVLAN interface set in the dynamic profile.

    The interface set is created dynamically when the subscriber logs in.

  4. Include dynamic IP demux interface creation within the dynamic interface set.

  5. Access the SVLAN interface set name that you expect $junos-svlan-interface-set-name to generate. For example, to specify the expected interface set name for aggregated Ethernet interface ae0 and outer VLAN tag 111, include ae0-111 for the interface-set-name variable.

  6. Apply traffic shaping and queuing parameters to the SVLAN interface set.

    Tip:

    You must configure the interface set in the static [edit class-of-service] hierarchy, not in the [edit dynamic-profiles] hierarchy.

  7. Apply traffic shaping and queuing parameters to any remaining traffic on the SVLAN interface set.

Results

From configuration mode, confirm your configuration by entering the show dynamic-profiles command and the show class-of-service command. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

Verification

To confirm that the configuration is correct, perform these tasks:

Verifying the Interfaces that are Included in the Interface Set

Purpose

Verify the interfaces that are included in the interface set.

Action

Displaying Information for Active Subscribers

Purpose

Display information for active subscribers.

Action