cos-profile add/edit dscp
cos-profile add dscp - Add a DSCP CoS profile configuration
cos-profile edit dscp - Change a DSCP profile configuration
Description:
With these commands, you can create a new DSCP CoS profile or change the parameters of an existing DSCP CoS profile.
Syntax:
cos-profile {add|edit} dscp <cos-profile-name> {
{name <cos-profile-name>} |
{encode-dei {enable | disable} } |
{input-list {<0-63> [,|- <0-63>]}+ } |
{pre-marking {green | yellow} } |
{green-out <0-7> } |
{yellow-out <0-7> } |
{default-pre-marking {green | yellow} } |
{default-green-out <0-7> } |
{default-yellow-out <0-7> }}+
Parameters:
Parameter | Description |
---|---|
<cos-profile-name> | <string> |
name | New name when editing an existing profile. |
encode-dei | Set DEI bit to 1 if the outgoing frame color is yellow. |
input-list | A comma-separated list of DSCP or DSCP range (x-y) values. |
pre-marking | Pre-marking color to be applied to frames if the input DSCP is in input-list. |
green-out | PCP value to be used if the outgoing frame color is green and the input DSCP is in input-list. |
yellow-out | PCP value to be used if the outgoing frame color is yellow and the input DSCP is in input-list. |
default-pre-marking | Pre-marking color to be used for all frames if the input DSCP is not in input-list. |
default-green-out | PCP value to be used if the outgoing frame color is green and the input DSCP is NOT in input-list. |
default-yellow-out | PCP value to be used if the outgoing frame color is yellow and the input DSCP is NOT in input-list. |
Note: If input-list is omitted, the default-* parameters interpret the input-list as a 0-63 range.
cos-profile add/edit pcp
cos-profile add pcp - Add a PCP CoS profile configuration
cos-profile edit pcp - Change a PCP profile configuration
Description:
With these commands, you can create a new PCP CoS profile or change the parameters of an existing PCP CoS profile.
Syntax:
cos-profile {add|edit} pcp <cos-profile-name> {
{name <cos-profile-name>} |
{decode-dei {enable | disable} } |
{encode-dei {enable | disable} } |
{input-list {<0-7> [,|- <0-7>]}+ } |
{pre-marking {green | yellow} } |
{green-out <0-7> } |
{yellow-out <0-7> } |
{default-pre-marking {green | yellow} } |
{default-green-out <0-7> } |
{default-yellow-out <0-7> }}+
Parameters:
Parameter | Description |
---|---|
<cos-profile-name> | <string> |
name | New name when editing an existing profile. |
decode-dei | Use incoming DEI as a pre-marking color (0=green, 1=yellow). |
encode-dei | Set DEI bit to 1 if the outgoing frame color is yellow. |
input-list | A comma-separated list of IP precedence or IP precedence range (x-y) values. |
pre-marking | Pre-marking color to be applied to frames if the input PCP is in input-list. |
green-out | PCP value to be used if the outgoing frame color is green and the input PCP is in input-list. |
yellow-out | PCP value to be used if the outgoing frame color is yellow and the input PCP is in input-list. |
default-pre-marking | Pre-marking color to be used for all frames if the input PCP is not in input-list. |
default-green-out | PCP value to be used if the outgoing frame color is green and the input PCP is NOT in input-list. |
default-yellow-out | PCP value to be used if the outgoing frame color is yellow and the input PCP is NOT in input-list. |
Note: If input-list is omitted, the default-* parameters interpret the input-list as a 0-7 range.
cos-profile add/edit precedence
cos-profile add precedence - Add an IP precedence CoS profile configuration
cos-profile edit precedence - Change an IP precedence profile configuration
Description:
With these commands, you can create a new IP precedence CoS profile or change the parameters of an existing IP precedence CoS profile.
Syntax:
cos-profile {add|edit} precedence <cos-profile-name> {
{name <cos-profile-name>} |
{encode-dei {enable | disable} } |
{input-list {<0-7> [,|- <0-7>]}+ } |
{pre-marking {green | yellow} } |
{green-out <0-7> } |
{yellow-out <0-7> } |
{default-pre-marking {green | yellow} } |
{default-green-out <0-7> } |
{default-yellow-out <0-7> }}+
Parameters:
Parameter | Description |
---|---|
<cos-profile-name> | <string> |
name | New name when editing an existing profile. |
encode-dei | Set DEI bit to 1 if the outgoing frame color is yellow. |
input-list | A comma-separated list of IP precedence or IP precedence range (x-y) values. |
pre-marking | Pre-marking color to be applied to frames if the input IP precedence is in input-list. |
green-out | PCP value to be used if the outgoing frame color is green and the input IP precedence is in input-list. |
yellow-out | PCP value to be used if the outgoing frame color is yellow and the input IP precedence is in input-list. |
default-pre-marking | Pre-marking color to be used for all frames if the input IP precedence is not in input-list. |
default-green-out | PCP value to be used if the outgoing frame color is green and the input IP precedence is NOT in input-list. |
default-yellow-out | PCP value to be used if the outgoing packet color is yellow and the input IP precedence is NOT in input-list. |
Note: If input-list is omitted, the default-* parameters interpret the input-list as a 0-7 range.
cos-profile delete
cos-profile delete - Delete the specified CoS profile
Description:
Delete the specified CoS profile.
Syntax:
cos-profile delete <cos-profile-name>
Parameters:
Parameter | Description |
---|---|
<cos-profile-name> | <string> |
cos-profile show configuration
cos-profile show configuration - Show CoS profile configuration
Description:
Displays CoS profile configuration. Specifying a profile name will display a detailed configuration for this profile. Otherwise, a configuration summary for all CoS profiles will be displayed.
Syntax:
cos-profile show configuration [<cos-profile-name>]
Parameters:
Parameter | Description |
---|---|
<cos-profile-name> | <string> |
Output:
cos-profile show configuration
CoS profile name Type Ref.count
----------------- ---------- ---------
8P0D-8P0D PCP 1
8P0D-7P1D PCP 0
8P0D-6P2D PCP 0
8P0D-5P3D PCP 0
8P0D-8P0D-DECODE PCP 1
cos-profile show configuration 8P0D-8P0D
Configuration for CoS Profile 8P0D-8P0D
Type : PCP
Decode DEI : Disabled
Encode DEI : Disabled
Reference count : 1
PCP [IN] Pre-marking Green [OUT] Yellow [OUT]
-------------- ----------- ----------- ------------
0 Green 0 0
1 Green 1 1
2 Green 2 2
3 Green 3 3
4 Green 4 4
5 Green 5 5
6 Green 6 6
7 Green 7 7
© 2025 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