- 07 Apr 2022
- 3 Minutes to read
- Contributors
- Print
- PDF
Setting Up CoS Profiles
- Updated on 07 Apr 2022
- 3 Minutes to read
- Contributors
- Print
- PDF
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
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.Click the Add button to add a new CoS profile or click the Name of an existing CoS profile to edit its settings.
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)
Parameter | Description |
---|---|
Name | The name identifying the CoS profile |
Type | Specifies 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:
|
Decode DEI | Enable 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 DEI | Enable 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 count | The 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 Color | The 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:
|
Yellow [OUT] | The CoS value for use with outgoing yellow frames. This value is selected if any of the following is true:
|
© 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