--- title: "cos-profile" slug: "cli-as-cos-profile" tags: ["Assurance Sensor CLI"] updated: 2025-07-01T10:55:26Z published: 2025-09-04T19:22:30Z canonical: "docs.crossworkassurance.cisco.com/cli-as-cos-profile" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # cos-profile ## 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 { {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 | | --- | --- | | | | | 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 an 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 { {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 | | --- | --- | | | | | 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 { {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 | | --- | --- | | | | | 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 ``` **Parameters:** | Parameter | Description | | --- | --- | | | | ## 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 [] ``` **Parameters:** | Parameter | Description | | --- | --- | | | | **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)