Setting Up CoS Profiles
  • 07 Apr 2022
  • 3 Minutes to read
  • Contributors
  • PDF

Setting Up CoS Profiles

  • PDF

Article summary

A CoS profile is used to map an input frame to a Layer-2 class of service based on the conformance level (Green/Yellow) of the incoming traffic and on the value of the following information of the incoming frames:

  • PCP: p-bits in 802.1Q / 802.1Q-in-Q tags.
  • IP Precedence: IP precedence bits in the IPv4 ToS byte.
  • DSCP: DSCP bits in the IPv4 ToS byte.

Once a CoS profile is created, you can apply it to traffic policies for CoS mapping and bandwidth policing.

To set up the CoS profile, you need to assign in the mapping table, a class of service value (0-7) to the outgoing traffic based on the conformance level (Green/Yellow) of the incoming traffic and on the mapping entry. The mapping table has N rows, where N depends on the type of the CoS profile. If the CoS profile type is PCP or IP precedence then N=8. If the CoS profile is a DSCP, N=64.

To set up a CoS profile

  1. Access the page Traffic ▶ Mapping ▶ CoS Profiles.
    A list of existing CoS profiles is displayed. Four commonly-used profiles have been preconfigured for your convenience.

  2. Click the Add button to add a new CoS profile or click the Name of an existing CoS profile to edit its settings.

  3. Complete the required fields, then click Apply.

For more information on specific parameters, refer to the following table.

CoS Profile Configuration (Traffic ▶ Mapping ▶ CoS Profiles)

ParameterDescription
NameThe name identifying the CoS profile
TypeSpecifies the type of priority the CoS profile will use when mapping incoming frames to a Layer-2 class of service. The type you choose may be one of the following:
  • PCP: Priority Code Point mapping
  • IP PRE: IP precedence mapping
  • DSCP: Differentiated Services Code Point mapping
Decode DEIEnable this check box to make the unit decode the pre-marking color from the DEI bit (Drop Eligible Indicator). Otherwise, the userdefined pre-color is used.

This parameter is only available when the PCP CoS profile type is selected.

Encode using DEIEnable this check box to make the unit control the DEI bit in an SVLAN tag. If this field is enabled and the outgoing frame is marked yellow, then the DEI bit is set to 1; otherwise, the DEI bit is set to 0.

Note: Encode Using DEI is a global setting for each module. As such, if the chosen PCP mapping has the Encode Using DEI bit set, all other maps being used in the same module and direction must have the Encode Using DEI bit set.

Reference countThe number of policies that are currently using this CoS profile. This parameter is only visible on existing profiles.
PCP or IP Precedence or DSCP [IN]The input value of the incoming frame for PCP, IP precedence or DSCP type frames
Pre-Marking ColorThe pre-marking color to assign to the input frame that has this PCP, IP precedence or DSCP value
Green [OUT]The CoS value for use with outgoing green frames. This value is selected if either of the following is true:
  • The result of the bandwidth regulator assigned to this entry is green.
  • The pre-marking color is green, and no bandwidth regulator is assigned to this entry.
Yellow [OUT]The CoS value for use with outgoing yellow frames. This value is selected if any of the following is true:
  • The result of the bandwidth regulator assigned to this entry is yellow.
  • The pre-marking color is yellow, and no bandwidth regulator is assigned to this entry.
  • The frame has passed through a color aware bandwidth policer and has been marked as yellow (due to the depletion of its CIR bucket).

© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.