Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Applying Traffic Shaping and Scheduling to a Subscriber Interface in a Dynamic Profile

    After you configure the traffic shaping and scheduling CoS parameters in a dynamic profile, you apply them to an interface. The output-traffic control profile enables you to provide traffic scheduling to the interface.

    To apply CoS attributes to an interface in a dynamic profile:

    1. Specify that you want to apply CoS attributes to an interface in the dynamic profile.
      user@host# edit dynamic-profiles profile-name class-of-service
    2. Configure the interface name and logical interface using a variable, and apply the output-traffic control profile to the interface.
      [edit dynamic-profiles profile-name class-of-service interfaces]user@host# set interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit output-traffic-control-profile profile-name

      You can use one of the following methods to specify the output-traffic control profile you want to use:

      • Reference the $junos-cos-traffic-control-profile predefined variable. At subscriber login, subscriber management takes one of the following actions, in the order listed:
        1. If RADIUS is being used and it returns a value for the traffic-control profile, subscriber management uses the RADIUS value.
        2. If RADIUS is not being used, subscriber management uses the default traffic-control profile (which is specified by the predefined-variables-default statement at the [edit dynamic-profiles] hierarchy).

          For example:

          user@host# set interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit output-traffic-control-profile $junos-cos-traffic-control-profile
      • Explicitly reference the name of the traffic-control profile.

        For example:

        user@host# set interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit output-traffic-control-profile tcp-sales-2

    Published: 2013-02-11