Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Creating and Managing Wired CoS Profiles

CoS profiles enable the grouping of class-of-service (CoS) parameters and apply them to one or more interfaces. Network Director provides you with predefined traffic types for each CoS profile that you create. These traffic types represent the most common types of traffic for the device type. Each of these templates has preconfigured values for all CoS parameters based on the typical application requirements. You can change the preconfigured values of these parameters to suit your requirements.

This topic describes:

Managing Wired CoS Profiles

From the Manage CoS Profiles page, you can:

  • Create a new CoS profile by clicking Add. For details, see Creating a Wired CoS Profile.

  • Modify an existing CoS profile by selecting it and clicking Edit.

  • View information about a profile by selecting the profile and clicking Details.

  • Delete a CoS profile by selecting a profile and clicking Delete.

    Tip:

    You cannot delete profiles that are in use—that is, assigned to objects or used by other profiles. To see the current assignments for a profile, select the profile and click Details.

  • Clone an existing CoS profile by selecting it and clicking Clone.

Table 1 describes the information provided about wired CoS profiles on the Manage CoS Profiles page. This page lists all CoS profiles defined for your network, regardless of the scope you selected in the network view.

Table 1: Managing Wired CoS Profile Fields

Field

Description

Profile Name

Name given to the profile when the profile was created.

Family Type

The device family on which the profile was created: EX Series Switches or Campus Switching ELS.

Description

Description of the profile that was entered when the profile was created. If the profile was created by using the CLI and then discovered by Network Director, the description is Profile created as part of device discovery.

Tip:

To display the entire description, you might need to resize the Description column by clicking the column border in the heading and dragging it.

Creation Time

Date and time when the profile was created.

Update Time

Date and time when the profile was last modified.

User Name

The username of the user who created or modified the profile.

Tip:

All columns might not be displayed. To show or hide fields listed in the Manage Authorization Profiles table, click the down arrow on the field header, select Columns, and select or clear the check box adjacent to the field that you want to show or hide.

Using the Default CoS Profiles for Switches

When you install Network Director, a default CoS profile (juniper_CoS_template) is added to the Manage CoS Profiles page for EX Series switches and another with the same name is added for Campus Switching ELS. Default CoS profiles have most basic settings preconfigured. For example, the forwarding classes in the default CoS profile have already been assigned with default scheduler values. However, you can use the Edit CoS Profile page to optimize your communication with the network by customizing the bandwidth and buffer size assigned to each of the forwarding classes in the default CoS profile.

Using the Default CoS Profiles for Data Center Switching

When you install Network Director, the following default CoS profiles are installed for Data Center Switching:

  • juniper_DC_NonHier_Ethernet_CoS

  • juniper_DC_Hier_Ethernet_CoS

  • juniper_DC_NonHier_CoS

  • juniper_DC_Hier_CoS

  • juniper_DC_Hier_FCoE_CoS

  • Juniper_DC_Hier_CoS_Fusion

To see the settings configured for a default profile, select it on the Manage CoS Profiles page, then click Details.

Creating a Wired CoS Profile

In Network Director, you can create a CoS profile to group a set of Class of Service parameters and apply it to one or more network sessions.

For a CoS profile, you must specify the profile name. You can use defaults for the other values.

To create a wired CoS profile:

  1. Click in the Network Director banner.
  2. Under Select View, select one of the following: Logical View, Location View, Device View or Custom Group View.
    Tip:

    Do not select Dashboard View, Virtual View or Topology View.

  3. From the Tasks pane, expand Wired, expand Profiles, and then select CoS.
  4. Click Add to add a new profile.

    Network Director opens the Device Family Chooser window.

  5. From the Device Family Chooser, select the wired device family for which you want to create a profile. The available device families are Switching (EX) or Campus Switching ELS.
  6. Click OK.
  7. Complete the appropriate settings using the steps mentioned in Specifying Settings for a Switching and Campus Switching ELS CoS Profile, or Specifying Settings for a Data Center Switching CoS Profile.

Specifying Settings for a Switching and Campus Switching ELS CoS Profile

Create a CoS profile for switching by providing a profile name and, optionally, changing any default settings for Traffic Configuration and Shaping.

  1. Enter the CoS switching settings described in Table 2. Required settings are indicated by a red asterisk (*) that appears next to the field label in the user interface.
    Table 2: CoS Profile Settings for EX and Campus Switching ELS

    Field

    Action

    Profile Name

    Type the name of the profile.

    You can use up to 64 characters for profiles created for wired devices. Profile name must not contain special characters or spaces. Note that profiles that are automatically created by Network Director as part of device discovery or out-of-band changes may contain the underscore (_) character.

    Description

    Type a description of the profile.

  2. Network Director includes four predefined traffic types, Data, Voice, Video, and Network Control. You can either modify those traffic types or you can create your own traffic type. Modify and customize any listed traffic type by selecting the traffic type from the list and clicking Edit, then changing any of the settings described in Table 3.
  3. To create your own traffic type, click Add and then configure the settings described in Table 3.
    Table 3: Traffic Configuration and Shaping for EX Switching and Campus Switching ELS

    Field

    Description

    Traffic Type

    If you are editing a Network Director default traffic type, this field cannot be changed. If you are adding a traffic type, indicate the type of traffic—this can be any value, such as a server name or something to do with your business.

    Forwarding Name

    If you are editing a Network Director default traffic type, this field cannot be changed. If you are adding a traffic type, you can use one of the predefined forwarding classes for your switch or you can create your own forwarding class. These forwarding classes are always provided: nd_best-effort, nd_network-control, nd_video-forwarding, and nd_expedited-forwarding. To create your own forwarding class, type a name instead of selecting an option.

    Most switches support the four predefined forwarding classes listed above. The exception is the EX4300 switch, which has eight default forwarding classes, including the standard four classes, plus multicast-network-connect, multicast-assured-forwarding, multicast-expedited-forwarding, and multicast-network-connect.

    Forwarding Queue

    Existing forwarding classes already have associated queues that cannot be altered. If you defined a new forwarding class by specifying your own Forwarding Name, then select an internal queue number to which forwarding classes are assigned. Most switches support queues 0 - 10. The exception is the EX4300 switch, which supports queues 0 - 11.

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

    Scheduler Map

    A note in the Scheduler Map section indicates how much buffer size and bandwidth you have available to configure. For example, the message “You have been left with 0 percent buffer size and 0 percent bandwidth.” means that you have no available buffer or bandwidth, and you must reconfigure existing traffic types to free some bandwidth before configuring additional traffic types.

    Low Priority

    Enable Low Priority if you want the queue to receive low priority.

    Strict High Priority

    Enable Strict High Priority if you want the queue to receive preferential treatment over a low-priority queue. Unlimited bandwidth is assigned to a strict-high priority queue.

    A strict-high priority queue receives preferential treatment over a low-priority queue. Unlimited bandwidth is assigned to a strict-high priority queue. Queues are scheduled according to the queue number, starting with the highest queue, 7, with decreasing priority down through queue 0. Traffic in higher-numbered queues is always scheduled prior to traffic in lower-numbered queues. In other words, in case of two high-priority queues, the queue with the higher queue number is processed first.

    Note:

    You can modify this field in the Traffic Configuration and Shaping table or from the Traffic Configuration and Shaping window.

    Buffer Size (%)

    Buffer Size (%) is the size of the memory buffer allocated for storing packets. Use the slider to specify the scheduler Buffer Size percentage.

    Note:

    You can modify this value by double-clicking this field in the Traffic Configuration and Shaping table or by sliding the bar in the Traffic Configuration and Shaping window.

    Bandwidth Reserved (%)

    Bandwidth Reserved (%) is the amount of interface bandwidth assigned to the queue. Move the slider to specify the Bandwidth Reserved percentage. Defaults are:

    • Data: 30%

    • Voice: Strict High

    • Video: 70%

    • Network control: 0%

    If Strict-High is enabled for this traffic type, you cannot reserve bandwidth.

    Note:

    This field displays the value based on either your input or on the transmit-rate parameter from the switch, if that parameter is configured. While specifying transmit-rate on the EX Series switch, if you choose to specify the value as an exact rate, Network Director converts this value and displays it as a percentage in the Bandwidth Reserved (%) field. You can modify this percentage value from the CoS Profile page.

    Shaping Rate

    Move the Shaping Rate slider to throttle the rate of packet transmission by setting a maximum bandwidth (rate in bits per second) or a maximum percentage of bandwidth for a queue or a forwarding class.

    Traffic Classification

    Behavior aggregate classification classifies packets. The DSCP or DSCP IPv6 precedence bits of the IP header convey the behavior aggregate class information. The information might also be found in the IEEE 802.1ad, or IEEE 802.1p CoS bits.

    Classifier Type

    Select a classifier type—DSCP, DSCP-IPv6, INET-precedence, or IEEE-802.1—and associate the corresponding code-point aliases to loss priorities.

    Note:

    You can specify code-point—loss priority associations for one or more classifier types.

    • DSCP—Differentiated services code point, a field in IPv4 headers, is used to classify traffic.

    • DSCP-IPv6—Differentiated services code point, a field in IPv6 headers, is used to classify traffic.

    • INET precedence—Field that indicates class of service rewrite rules are used to classify traffic.

    • IEEE-802.1—IEEE 802.1ad, or IEEE 802.1p CoS bits are used to classify traffic.

    Classifier Code Points

    Code Points

    The code points list includes all available and unselected code points for the selected classifier type.

    Specify one or more code-point aliases or bit sets to associate with a forwarding class by moving the value to one of the two lists, Loss Priority Low or Loss Priority High.

    Loss Priority Low

    Indicate that packets have low loss priority by selecting code-point aliases from the Code Points table and using the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

    Loss Priority Medium-Low

    Indicate that packets have medium-low loss priority by selecting code-point aliases from the Code Points table and using the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

    Loss Priority Medium-High

    Indicate that packets have medium-high loss priority by selecting code-point aliases from the Code Points table and using the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

    Loss Priority High

    Indicate that packets have high loss priority by selecting code-point aliases from the Code Points table and using the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

  4. Click OK to close the Add Traffic and Classification window and save your configuration.

    Your changes are added to this CoS profile.

    Note:

    If all bandwidth has already been reserved, your changes are not made. Reduce the bandwidth reserved from another Traffic Type, then repeat the configuration.

  5. To configure rewrite rules for a forwarding queue, click Configure Rewrite Rules at the bottom of the screen. The Configure Rewrite Rules window appears. Specify rewrite rule settings as described below to alter CoS values in outgoing packets on the outbound interfaces of an edge switch:
    1. Select the forwarding class for which you want to create or modify rewrite rules. Network Director lists all the forwarding classes that you have used for configuring traffic in the Traffic Configuration and Shaping section.
    2. For each classifier’s loss priority, select a code-point alias for each loss-priority type—Low, Medium-Low, Medium-High, and High.
  6. Click OK to save the rewrite rules and close the Configure Rewrite Rules window.

    The system saves the rewrite rules and returns to the Create CoS Profile page.

  7. Click Done.

After you create a CoS profile for switching devices, associate the CoS profile with a Port profile. For directions, see Creating and Managing Port Profiles.

Specifying Settings for a Data Center Switching CoS Profile

You can create a CoS profile by specifying the profile settings and the traffic configuration and shaping details.

To specify the settings for the CoS profile:

  1. Enter the settings described in Table 4. Required settings are indicated by a red asterisk (*) that appears next to the field label in the user interface.
    Table 4: CoS Profile Basic Settings for Data Center Switching

    Field

    Action

    Profile Name

    Type the name of the profile.

    You can use up to 64 characters for profiles created for wired devices. Profile name must not contain special characters or spaces. Note that profiles that are automatically created by Network Director as part of device discovery or out-of-band changes may contain the underscore (_) character.

    Description

    Type the description of the profile.

  2. In the Traffic Classification and Shaping Settings section, select one of these options:
    • Hierarchical Port Scheduling (ETS)—Hierarchical port scheduling (Enhanced Transmission Selection, or ETS) is a two-tier process that provides better port bandwidth utilization and greater flexibility to allocate resources to queues and to groups of queues (for QFX devices).

    • Non Hierarchical Port Scheduling—Non-hierarchical scheduling is a one-tier process that provides port bandwidth utilization and allocates resources to queues (for EX4600 and EX4650 transit switches).

    • Hierarchical (Fusion)—Select this scheduling type if you plan to assign the CoS profile to QFX10002 and QFX10008 switches

  3. If you selected Hierarchical Port Scheduling (ETS), specify settings in the Priority Group and Traffic Settings section.

    The table lists priority groups and the forwarding classes they contain in an expandable list. Priority groups refer to forwarding class sets in the device. You can perform these tasks on priority groups and forwarding classes:

    • To add a new priority group, click Add Priority Group. The Add Priority Group and Traffic Control Profile Window opens. Enter the settings as described in Table 5.

      Table 5: Add Priority Group and Traffic Control Profile Window

      Field

      Description

      Priority Group Name

      Enter a name for the priority group.

      Traffic Control Profile Settings  

      Transmit Rate (%)

      Select a transmit rate percentage for the priority group.

      Shaping Rate (%)

      Select a shaping rate percentage for the priority group.

    • To edit a priority group or forwarding class’s properties, click the field that you want to edit in the table.

    • To edit a forwarding class’s properties, click its name. The Edit Traffic Classification and Shaping for priority group window opens. Enter the settings as described in Table 6.

      Table 6: Edit and Add Traffic Classification and Shaping for Priority Group Window

      Field

      Description

      Forwarding Class Name

      Select or specify a name for the forwarding class.

      Forwarding Class Queue

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

      No Loss

      Select to make the forwarding class lossless.

      Scheduler Map

      Strict High

      Select if you want the queue to receive preferential treatment over a low-priority queue. Unlimited bandwidth is assigned to a strict-high priority queue.

      Transmit Rate

      Select the percentage of interface bandwidth assigned to the forwarding class.

      If you have enabled Strict-High, you cannot reserve bandwidth for this traffic type.

      Shaping Rate

      Select a shaping rate percentage for the forwarding class.

      Buffer Size (%)

      Select the percentage of the memory buffer allocated for storing packets for the forwarding class.

      Traffic Classification

      Classifier Type

      Select the classifier type that maps packets to a forwarding class and a loss priority.

      Code Points

      Specify one or more code-points for associating with a forwarding class.

      Loss Priority Low

      Indicates that packets have low loss priority. Select code points from the Code Points table and use the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

      Loss Priority Medium High

      Indicates that packets have medium high loss priority. Select code points from the Code Points table and use the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

      Loss Priority High

      Indicates that packets have high loss priority. Select code points from the Code Points table and use the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

    • To add a forwarding class to a priority group, click the Add Forwarding Class link at the end of the priority group’s list of forwarding classes. The Add Traffic Classification and Shaping for priority group window opens. Enter the settings as described in Table 6.

    • To remove a priority group or forwarding class, click the X at the end of its table row.

  4. If you selected Non Hierarchical Port Scheduling, specify settings in the Traffic Configuration and Shaping table.

    The table lists forwarding classes. You can perform these tasks on forwarding classes:

    • To add traffic configuration and shaping details for different types of traffic, click Add in the Traffic Configuration and Shaping box. The Add Traffic Classification and Shaping window opens.

    • To modify the details of an existing traffic configuration, select the traffic configuration from the list and click Edit. The Edit Traffic Classification and Shaping window opens.

      Note:

      You can modify some of the details in the Traffic Configuration and Shaping table without having to open the Edit Traffic Classification and Shaping window—by clicking on the field that you want to modify.

    • To delete a traffic configuration entry, select the traffic configuration from the list and click Remove.

      The system deletes the selected traffic configuration entry.

    To create your own traffic type, click Add and then configure the settings described in Table 7.

    Table 7: Traffic Configuration and Shaping for EX Switching and Campus Switching ELS

    Field

    Description

    Traffic Type

    If you are editing a Network Director default traffic type, this field cannot be changed. If you are adding a traffic type, indicate the type of traffic—this can be any value, such as a server name or something to do with your business.

    Forwarding Name

    If you are editing a Network Director default traffic type, this field cannot be changed. If you are adding a traffic type, you can use one of the predefined forwarding classes for your switch or you can create your own forwarding class. These forwarding classes are always provided: nd_best-effort, nd_network-control, nd_video-forwarding, and nd_expedited-forwarding. To create your own forwarding class, type a name instead of selecting an option.

    Most switches support the four predefined forwarding classes listed above. The exception is the EX4300 switch, which has eight default forwarding classes, including the standard four classes, plus multicast-network-connect, multicast-assured-forwarding, multicast-expedited-forwarding, and multicast-network-connect.

    Forwarding Queue

    Existing forwarding classes already have associated queues that cannot be altered. If you defined a new forwarding class by specifying your own Forwarding Name, then select an internal queue number to which forwarding classes are assigned. Most switches support queues 0 - 10. The exception is the EX4300 switch, which supports queues 0 - 11.

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

    Scheduler Map

    A note in the Scheduler Map section indicates how much buffer size and bandwidth you have available to configure. For example, the message “You have been left with 0 percent buffer size and 0 percent bandwidth.” means that you have no available buffer or bandwidth, and you must reconfigure existing traffic types to free some bandwidth before configuring additional traffic types.

    Low Priority

    Enable Low Priority if you want the queue to receive low priority.

    Strict High Priority

    Enable Strict High Priority if you want the queue to receive preferential treatment over a low-priority queue. Unlimited bandwidth is assigned to a strict-high priority queue.

    A strict-high priority queue receives preferential treatment over a low-priority queue. Unlimited bandwidth is assigned to a strict-high priority queue. Queues are scheduled according to the queue number, starting with the highest queue, 7, with decreasing priority down through queue 0. Traffic in higher-numbered queues is always scheduled prior to traffic in lower-numbered queues. In other words, in case of two high-priority queues, the queue with the higher queue number is processed first.

    Note:

    You can modify this field in the Traffic Configuration and Shaping table or from the Traffic Configuration and Shaping window.

    Buffer Size (%)

    Buffer Size (%) is the size of the memory buffer allocated for storing packets. Use the slider to specify the scheduler Buffer Size percentage.

    Note:

    You can modify this value by double-clicking this field in the Traffic Configuration and Shaping table or by sliding the bar in the Traffic Configuration and Shaping window.

    Bandwidth Reserved (%)

    Bandwidth Reserved (%) is the amount of interface bandwidth assigned to the queue. Move the slider to specify the Bandwidth Reserved percentage. Defaults are:

    • Data: 30%

    • Voice: Strict High

    • Video: 70%

    • Network control: 0%

    If Strict-High is enabled for this traffic type, you cannot reserve bandwidth.

    Note:

    This field displays the value based on either your input or on the transmit-rate parameter from the switch, if that parameter is configured. While specifying transmit-rate on the EX Series switch, if you choose to specify the value as an exact rate, Network Director converts this value and displays it as a percentage in the Bandwidth Reserved (%) field. You can modify this percentage value from the CoS Profile page.

    Shaping Rate

    Move the Shaping Rate slider to throttle the rate of packet transmission by setting a maximum bandwidth (rate in bits per second) or a maximum percentage of bandwidth for a queue or a forwarding class.

    Traffic Classification

    Behavior aggregate classification classifies packets. The DSCP or DSCP IPv6 precedence bits of the IP header convey the behavior aggregate class information. The information might also be found in the IEEE 802.1ad, or IEEE 802.1p CoS bits.

    Classifier Type

    Select a classifier type—DSCP, DSCP-IPv6, INET-precedence, or IEEE-802.1—and associate the corresponding code-point aliases to loss priorities.

    Note:

    You can specify code-point—loss priority associations for one or more classifier types.

    • DSCP—Differentiated services code point, a field in IPv4 headers, is used to classify traffic.

    • DSCP-IPv6—Differentiated services code point, a field in IPv6 headers, is used to classify traffic.

    • INET precedence—Field that indicates class of service rewrite rules are used to classify traffic.

    • IEEE-802.1—IEEE 802.1ad, or IEEE 802.1p CoS bits are used to classify traffic.

    Classifier Code Points

    Code Points

    The code points list includes all available and unselected code points for the selected classifier type.

    Specify one or more code-point aliases or bit sets to associate with a forwarding class by moving the value to one of the two lists, Loss Priority Low or Loss Priority High.

    Loss Priority Low

    Indicate that packets have low loss priority by selecting code-point aliases from the Code Points table and using the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

    Loss Priority Medium-Low

    Indicate that packets have medium-low loss priority by selecting code-point aliases from the Code Points table and using the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

    Loss Priority Medium-High

    Indicate that packets have medium-high loss priority by selecting code-point aliases from the Code Points table and using the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

    Loss Priority High

    Indicate that packets have high loss priority by selecting code-point aliases from the Code Points table and using the LEFT and RIGHT arrows to move them into the appropriate loss priority table.

  5. If you selected Hierarchical Port Scheduling (ETS), specify priority-based flow control (PFC) settings in the PFC Settings section. Enter the settings as described in Table 8.
    Table 8: PFC Settings for Data Center Switching Hierarchical Port Scheduling (ETS) CoS Profile

    Field

    Description

    Input Cable Length (meter)

    Enter the length of the cable attached to the input interface, in meters.

    Input  

    Add

    Click to add an input congestion notification profile (CNP). A new entry appears in the table.

    Remove

    Click to remove the selected input CNP.

    IEEE Code Point

    Select the IEEE code point for the input CNP.

    Maximum Receive Size (bytes)

    Enter the maximum receive unit (MRU) on an interface for traffic that matches the PFC priority, in bytes.

    Output  

    Add

    Click to add an output CNP. A new entry appears in the table.

    Remove

    Click to remove the selected output CNP.

    IEEE Code Point

    Select the IEEE code point for the output CNP.

    Queue List

    Select output queues on which to enable flow control (PFC pause).

  6. If you selected Non-Hierarchical Port Scheduling, specify priority-based flow control (PFC) settings in the PFC Settings section. Enter the settings as described in Table 9.
    Table 9: PFC Settings for Data Center Switching Non-Hierarchical Port Scheduling CoS Profile

    Field

    Description

    Input  

    Add

    Click to add an input congestion notification profile (CNP). A new entry appears in the table.

    Remove

    Click to remove the selected input CNP.

  7. If you selected Hierarchical Port Scheduling (ETS), specify rewrite rule settings in the Rewrite Rule Settings section as described in Table 10.
    Table 10: Rewrite Rule Settings for Data Center Switching CoS Profile

    Field

    Description

    Forwarding Name

    The name of the forwarding class.

    Queue

    The number corresponding to the forwarding queue. You cannot modify this field.

    Rewrite Type

    Select a rewrite-rules mapping for the traffic that passes through the various queues on the interface.

    Egress Code Point - Loss Priority Low

    Specify a code-point for association with a forwarding class for loss priority low.

    Egress Code Point - Loss Priority Medium High

    Specify a code-point for association with a forwarding class for loss priority medium high.

    Egress Code Point - Loss Priority High

    Specify a code-point for association with a forwarding class for loss priority high.

  8. If you selected Non-Hierarchical Port Scheduling, click Configure Rewrite Rules at the bottom of the screen to configure rewrite rules for a forwarding queue. The Configure Rewrite Rules window appears. Specify rewrite rule settings as described below to alter CoS values in outgoing packets on the outbound interfaces of an edge switch:
    1. Select the forwarding class for which you want to create or modify rewrite rules. Network Director lists all the forwarding classes that you have used for configuring traffic in the Traffic Configuration and Shaping section.
    2. For each classifier’s loss priority, select a code-point alias for each loss-priority type—Low, Medium-Low, Medium-High, and High.
  9. Click Done to save the changes to the profile.

What to Do Next

After you have created a CoS profile for switching devices, you can associate the CoS profile to a Port profile.