efa policy qos profile create

Syntax

efa policy qos profile create [ --name string | --trust string | --pcp-tc string | --dscp-tc string | --tc-pcp string | --tc-dscp string ]

Parameters

--name string
Specifies the name of the QoS profile.
--trust string
{ auto | dscp }. Selecting auto trusts PCP for switched traffic and DSCP for routed traffic. Default is auto.
--pcp-tc string
Specifies the PCP to TC QoS map name.
--dscp-tc string
Specifies the DSCP to TC QoS map name.
--tc-pcp string
Specifies the TC to PCP QoS map name.
--tc-dscp string
Specifies the TC to DSCP QoS map name.

Examples

This example creates a QoS profile named fabricProfile1, which defines dscp trust and DSCP to TC maps that can be applied to interfaces in a fabric or tenant.
(efa:user)user@xco-101-91:~$ efa policy qos profile create --name fabricProfile1 --trust dscp 
--dscp-tc "map2" --tc-dscp "map3"
+------------------+-------+--------+---------+--------+---------+
| QoS Profile Name | Trust | Pcp-Tc | Dscp-Tc | Tc-Pcp | Tc-Dscp |
+------------------+-------+--------+---------+--------+---------+
| fabricProfile1   | dscp  |        | map2    |        | map3    |
+------------------+-------+--------+---------+--------+---------+
QoS Profile details
Success
--- Time Elapsed: 146.28778ms ---