Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Class of Service Configuration

 
Note

This section applies only to the J-Web Application package.

J-Web does not support Class of Service configuration for EX4600 switches.

Defining CoS Drop Profiles (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) on EX4600 switches.

You can use the J-Web interface to define CoS drop profiles on EX4500 and EX8200 switches.

To configure CoS drop profiles:

  1. Select Configure > Class of Service > Drop Profile. Note

    After you make changes to the configuration on this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

  2. Select one of the following options:
    • Add—Adds a drop profile. Enter information into the drop profiles page as described in Table 29.

    • Edit—Modifies an existing drop file. Enter information into the drop profiles page as described in Table 29.

    • Delete—Deletes an existing drop profile.

Table 29: Drop Profiles Configuration parameters

Field

Function

Your Action

Drop Profile Name

Specifies the name for a drop profile.

Type the name.

Drop profile graph

Specifies the drop profile graph type

Select one: Segmented or Interpolated.

Drop profile values

Specifies values for the following two parameters of the drop profile: the queue fill level and the drop probability.

The queue fill level represents a percentage of the memory used to store packets in relation to the total amount that has been allocated for that specific queue.

The drop probability is a percentage value that correlates to the likelihood that an individual packet is dropped from the network.

To add new values:

  1. Click Add.
  2. Enter the fill level.
  3. Enter the drop probability.
  4. Click OK.

To edit an existing value, click Edit and modify the fill level and drop probability.

To delete a value, select it and click Delete.

Defining CoS Classifiers (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

J-Web Application package Release 14.1X53-A2 does not support Class of Service on EX4600 switches.

You can use the J-Web interface to define CoS classifiers on an EX Series switch. Classifiers examine the CoS value or alias of an incoming packet and assign the packet a level of service by setting its forwarding class and loss priority.

To define CoS classifiers:

  1. Select Configure > Class of Service > Classifiers.Note

    After you make changes to the configuration on this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

  2. Click one of the following options:
    • Add—Adds a classifier. Enter information into the classifier page as described in Table 30.

    • Edit—Modifies an existing classifier. Enter information into the classifier page as described in Table 30.

    • Delete—Deletes an existing classifier.

Table 30: Classifiers Configuration Fields

Field

Function

Your Action

Classifier Name

Specifies the name for a classifier.

To name a classifier, type the name—for example, ba-classifier.

Classifier Type

Specifies the type of classifier: dscp, ieee-802.1, or inet-precedence.

Select a value from the list.

Code Point Mapping

Sets the forwarding classes and the packet loss priorities (PLPs) for specific CoS values and aliases.

To add a code point mapping:

  1. Click Add.
  2. Select the code point.
  3. Select a forwarding class from the following list:
    • expedited-forwarding—Provides low loss, low delay, low jitter, assured bandwidth, and end-to-end service. Packets can be forwarded out of sequence or dropped.

    • best-effort—Provides no special CoS handling of packets. Typically, RED drop profile is aggressive and no loss priority is defined.

    • assured-forwarding—Provides high assurance for packets within the specified service profile. Excess packets are dropped.

    • network-control—Packets can be delayed but not dropped.

  4. Select the loss priority.

    To assign a loss priority, select one:

    • high—Packet has a high loss priority.

    • low—Packet has a low loss priority.

Defining CoS Code-Point Aliases (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) on EX4600 switches.

You can use the J-Web interface to define CoS code-point aliases on an EX Series switch. By defining aliases, you can assign meaningful names to a particular set of bit values and refer to them when configuring CoS components.

To define CoS code-point aliases:

  1. Select Configure > Class of Service > CoS Value Aliases.Note

    After you make changes to the configuration on this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

  2. Click one of the following options:
    • Add—Adds a code-point alias. Enter information into the code point alias page as described in Table 31.

    • Edit—Modifies an existing code-point alias. Enter information into the code point alias page as described in Table 31.

    • Delete—Deletes an existing code-point alias.

Table 31 describes the related fields.

Table 31: CoS Value Aliases Configuration Fields

Field

Function

Your Action

Code point name

Specifies the name for a code-point—for example, af11 or be.

Enter a name.

Code point type

Specifies a code-point type. The code-point type can be DSCP or IP precedence.

Select a value.

Code point value bits

Specifies the CoS value for which an alias is defined.

Changing this value alters the behavior of all classifiers that refer to this alias.

To specify a CoS value, type it in the appropriate format:

  • For DSCP CoS values, use the format xxxxxx, where x is 1 or 0—for example, 101110.

  • For IP precedence CoS values, use the format xxx, where x is 1 or 0—for example, 111.

Assigning CoS Components to Interfaces (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) on EX4600 switches.

After you have defined CoS components on an EX Series switch, you must assign them to logical or physical interfaces. You can use the J-Web interface to assign scheduler maps to physical or logical interfaces and to assign forwarding classes or classifiers to logical interfaces.

To assign CoS components to interfaces:

  1. Select Configure > Class of Service > Assign to Interface. Note

    After you make changes to the configuration on this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

  2. To configure an interface association, select an interface from the list and click Edit. For an EX8200 Virtual Chassis configuration, select the member, the FPC, and the interface from the list, and click Edit.
  3. Select one of the following:
    • Associate system default scheduler map—Associates the interface with the default scheduler map.

    • Select the scheduler map—Associates the interface with a configured scheduler map. Select the scheduler map from the list.

    Note

    On the 40-port SFP+ line card for EX8200 switches, you cannot commit your changes using the J-Web interface unless you assign the same scheduler map or the default scheduler map to all interfaces in a port group.

  4. Click OK.
  5. To manage a CoS assignment on a logical interface, Click one of the following options:
    • Add—Adds a CoS service to a logical interface on a specified physical interface. Enter information as described in Table 32.

    • Edit—Modifies a CoS service assignment to a logical interface. Enter information as described in Table 32.

    • Delete—Deletes the CoS service assignment to a logical interface.

Table 32: Assigning CoS Components to Logical Interfaces

Field

Function

Your Action

Unit

Specifies the name of a logical interface. Enables you to assign CoS components when you configure a logical interface on a physical interface.

Type the interface name.

To assign CoS to all logical interfaces configured on this physical interface, type the wildcard character (*).

Forwarding Class

Assigns a predefined forwarding class to incoming packets on a logical interface.

To assign a forwarding class to an interface, select the forwarding class.

Classifiers

Enables you to apply classification maps to a logical interface. Classifiers assign a forwarding class and loss priority to an incoming packet based on its CoS value.

To assign a classification map to an interface, select an appropriate classifier for each CoS value type used on the interface.

Rewrite Rules

Enables you to alter the CoS values in outgoing packets to meet the requirements of the targeted peer. A rewrite rule examines the forwarding class and loss priority of a packet and sets its bits to a corresponding value specified in the rule.

Note: In EX4300 switches, this option is available only when you click Edit button in the Configure Interface Association table.

To assign rewrite rules to the interface, select the appropriate rewrite rule for each CoS value type used on the interface.

Defining CoS Forwarding Classes (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) on EX4600 switches.

You can define CoS forwarding classes on an EX Series switch using the J-Web interface. Assigning a forwarding class to a queue number affects the scheduling and marking of a packet as it transits a switch.

To define forwarding classes:

  1. Select Configure > Class of Service > Forwarding Classes. Note

    After you make changes to the configuration on this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

  2. Select one of the following options:
    • Add—Adds a forwarding class. Enter information into the forwarding class page as described in Table 33.

    • Edit—Modifies an existing forwarding class. Enter information into the forwarding class page as described in Table 33.

    • Delete—Deletes an existing forwarding class.

Table 33: Forwarding Classes Configuration Fields

Field

Function

Your Action

Forwarding Class Summary

Queue #

Specifies the internal queue numbers to which forwarding classes are assigned.

By default, if a packet is not classified, it is assigned to the class associated with queue 0. You can have more than one forwarding class to a queue number.

To specify an internal queue number, select an integer from 0 through 11, appropriate for your platform as follows:

Note: For EX3400 and EX4300 switches, to specify an internal queue number, select an integer from 0 through 11.

Note: For EX2300 and EX2300-C switches, a maximum of eight egress queues are supported per port. To specify an internal queue number select an integer from 0 through 7.

Forwarding Class Name

Specifies the forwarding class names assigned to specific internal queue numbers.

By default, four forwarding classes are assigned to queue numbers 0 (best-effort), 1 (assured-forwarding), 5 (expedited-forwarding), and 7 (network-connect).

Note: For EX4300 switches, by default the forwarding classes are assigned to queue numbers 0 (best-effort), 1(expedited -forwarding), 2 (assured-forwarding), 3 (network-connect), 8 (mcast-be), 9 (mcast-ef), 10 (mcast-af), and 11 (mcast-nc).

Type the name—for example, be-class.

Defining CoS Rewrite Rules (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) on EX4600 switches.

You can use the J-Web interface to define CoS rewrite rules. Use the rewrite rules to alter the CoS values in outgoing packets to meet the requirements of the targeted peer. A rewrite rule examines the forwarding class and loss priority of a packet and sets its bits to a corresponding value specified in the rule.

To define rewrite rules:

  1. Select Configure > Class of Service > Rewrite Rules. Note

    After you make changes to the configuration on this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

  2. Select one of the following options:
    • Add—Adds a rewrite rule. Enter information into the rewrite rule page as described in Table 34.

    • Edit—Modifies an existing rewrite rule. Enter information into the rewrite rule page as described in Table 34.

    • Delete—Deletes an existing rewrite rule.

Table 34: Rewrite Rules Configuration Page Summary

Field

Function

Your Action

Rewrite Rule Name

Specifies the name for the rewrite rule.

To name a rule, type the name—for example, rewrite-dscps.

Rewrite rule type

Specifies the type of rewrite rule: dscp, ieee-802.1, or inet-precedence.

Select a value from the list.

Code Point Mapping

Rewrites outgoing CoS values of a packet based on the forwarding class and loss priority.

Allows you to remove a code point mapping entry.

To configure a CoS value assignment, follow these steps:

To add a code point mapping:

  1. Click Add.
  2. Select the code point.
  3. Select a forwarding class from the following list:
    • expedited-forwarding—Provides low loss, low delay, low jitter, assured bandwidth, and end-to-end service. Packets can be forwarded out of sequence or dropped.

    • best-effort—Provides no special CoS handling of packets. Typically, RED drop profile is aggressive and no loss priority is defined.

    • assured-forwarding—Provides high assurance for packets within the specified service profile. Excess packets are dropped.

    • network-control—Packets can be delayed but not dropped.

  4. Select the loss priority.

    To assign a loss priority, select one:

    • high—Packet has a high loss priority.

    • low—Packet has a low loss priority.

To edit an existing code point mapping, select it and click Edit.

To remove a code point mapping entry, select it and click Remove.

Defining CoS Schedulers (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) on EX4600 switches.

You can use the J-Web interface to define CoS schedulers on an EX Series switch. Using schedulers, you can assign attributes to queues and thereby provide congestion control for a particular class of traffic. These attributes include the amount of interface bandwidth, memory buffer size, transmit rate, and schedule priority.

To configure schedulers:

  1. Select Configure > Class of Service > Schedulers. Note

    After you make changes to the configuration on this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

  2. Select one of the following options:
    • Add—Adds a scheduler. Enter information into the Schedulers page as described in Table 35.

    • Edit—Modifies an existing scheduler. Enter information into the Schedulers page as described in Table 35.

    • Delete—Deletes an existing scheduler.

Table 35: Schedulers Configuration Page

Field

Function

Your Action

Scheduler name

Specifies the name for a scheduler.

To name a scheduler, type the name—for example, be-scheduler.

Scheduling priority

Sets the transmission priority of the scheduler, which determines the order in which an output interface transmits traffic from the queues.

You can set the scheduling priority at different levels in the order of increasing priority from low to high.

A high-priority queue with a high transmission rate might lock out lower-priority traffic.

To set a priority, select one:

  • low—Packets in this queue are transmitted last.

  • strict-high—Packets in this queue are transmitted first.

To specify no scheduling priority, select the blank check box.

Buffer size

Defines the size of the delay buffer.

By default, queues 0 through 11 are allotted the following percentages of the total available buffer space:

  • Queue 0—75 percent

  • Queue 1—0 percent

  • Queue 2—0 percent

  • Queue 3—5 percent

  • Queue 4—0 percent

  • Queue 5—0 percent

  • Queue 6—0 percent

  • Queue 7—0 percent

  • Queue 8—15 percent

  • Queue 9—0 percent

  • Queue 10—0 percent

  • Queue 11—5 percent

Note: A large buffer size value correlates with a greater possibility of packet delays. Such a value might not be practical for sensitive traffic such as voice or video.

To define a delay buffer size for a scheduler, select the appropriate option:

  • To specify no buffer size, select the blank check box.

  • To specify buffer size as a percentage of the total buffer, select Percent and type an integer from 1 through 100.

  • To specify buffer size as the remaining available buffer, select Remainder.

Note: On EX8200 and EX4300 switches, you can specify the buffer size as a temporal value. The queuing algorithm then drop packets after it has queued a computed number of bytes. This number is the product of the logical interface speed and the configured temporal value.

Shaping rate

Specifies the rate at which queues transmit packets.

  • To specify shaping rate as a percentage, select Percent and type an integer from 1 through 100.

  • To specify shaping rate as a number, select Rate and enter a value.

  • To specify no shaping rate, select the blank check box.

Transmit rate

Defines the transmission rate of a scheduler.

The transmit rate determines the traffic bandwidth from each forwarding class you configure.

By default, queues 0 through 11 are allotted the following percentages of the transmission capacity:

  • Queue 0—75 percent

  • Queue 1—0 percent

  • Queue 2—0 percent

  • Queue 3—5 percent

  • Queue 4—0 percent

  • Queue 5—0 percent

  • Queue 6—0 percent

  • Queue 7—0 percent

  • Queue 8—15 percent

  • Queue 9—0 percent

  • Queue 10—0 percent

  • Queue 11—5 percent

To define a transmit rate, select the appropriate option:

  • To enforce the exact transmission rate, select Rate and enter a value.

  • To specify the remaining transmission capacity, select Remainder Available.

  • To specify a percentage of transmission capacity, select Percent and type an integer from 1 through 100.

  • To specify no transmit rate, select the blank check box.

Excess rate

Note: This option is supported only on EX4300 switches.

Defines the excess rate of a scheduler.

To define the excess rate, select the appropriate option:

  • To specify a percentage of the excess rate, select Percent and type an integer from 1 through 100.

  • To specify no excess rate, select the blank check box.

Defining CoS Scheduler Maps (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) for EX4600 switches.

You can use the J-Web interface to configure CoS scheduler maps on an EX Series switch.

Note

On EX Series switches, you cannot configure a scheduler map on an individual interface that is a member of a link aggregation group (LAG). Instead, you must configure the scheduler map on the LAG itself—that is, on the aggregated Ethernet (ae) interface.

To configure scheduler maps:

  1. Select Configure > Class of Service > Scheduler Maps. Note

    After you make changes to the configuration on this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes (J-Web Procedure) for details about all commit options.

  2. Select one of the following options:
    • Add—Adds a scheduler map. Enter information into the scheduler map page as described in Table 36.

    • Edit—Modifies an existing scheduler map. Enter information into the scheduler map page as described in Table 36.

    • Delete—Deletes an existing scheduler map.

Table 36: Scheduler Maps Configuration Fields

Field

Function

Your Action

Scheduler Map Name

Specifies the name for a scheduler map.

To name a map, type the name—for example, be-scheduler-map.

Scheduler Mapping

Enables you to associate a preconfigured scheduler with a forwarding class.

After scheduler maps have been applied to an interface, they affect the hardware queues and packet schedulers.

To associate a scheduler with a forwarding class, locate the forwarding class and select the scheduler in the box next to it.

For example, for the best-effort forwarding class, select the configured scheduler from the list.

Release History Table
Release
Description
J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) on EX4600 switches.
J-Web Application package Release 14.1X53-A2 does not support Class of Service (CoS) on EX4600 switches.