Skip to content

Custom QoS Policy

Location in GUI: Tenant Template » Tenant Policies » Custom QoS Policy

Diagram
NameTypeConstraintMandatoryDefault Value
custom_qos_policiesList[custom_qos_policies]No

custom_qos_policies (ndo.tenant_templates.tenant_policies)

Section titled “custom_qos_policies (ndo.tenant_templates.tenant_policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
dscp_mappingsList[dscp_mappings]No
cos_mappingsList[cos_mappings]No

dscp_mappings (ndo.tenant_templates.tenant_policies.custom_qos_policies)

Section titled “dscp_mappings (ndo.tenant_templates.tenant_policies.custom_qos_policies)”
NameTypeConstraintMandatoryDefault Value
dscp_fromChoiceunspecified, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, expedited_forwarding, voice_admitNounspecified
dscp_toChoiceunspecified, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, expedited_forwarding, voice_admitNounspecified
dscp_targetChoiceunspecified, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, expedited_forwarding, voice_admitNounspecified
cos_targetAnyInteger[min: 0, max: 7] or Choice[unspecified, background, best_effort, excellent_effort, critical_applications, video, voice, internetwork_control, network_control]Nounspecified
priorityChoiceunspecified, level1, level2, level3, level4, level5, level6Nounspecified

cos_mappings (ndo.tenant_templates.tenant_policies.custom_qos_policies)

Section titled “cos_mappings (ndo.tenant_templates.tenant_policies.custom_qos_policies)”
NameTypeConstraintMandatoryDefault Value
dot1p_fromAnyInteger[min: 0, max: 7] or Choice[unspecified, background, best_effort, excellent_effort, critical_applications, video, voice, internetwork_control, network_control]Nounspecified
dot1p_toAnyInteger[min: 0, max: 7] or Choice[unspecified, background, best_effort, excellent_effort, critical_applications, video, voice, internetwork_control, network_control]Nounspecified
dscp_targetChoiceunspecified, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, expedited_forwarding, voice_admitNounspecified
cos_targetAnyInteger[min: 0, max: 7] or Choice[unspecified, background, best_effort, excellent_effort, critical_applications, video, voice, internetwork_control, network_control]Nounspecified
priorityChoiceunspecified, level1, level2, level3, level4, level5, level6Nounspecified

Example-1: The example below shows a tenant policy template called TP1 that is created under the tenant NDO1 and the site APIC1. The custom QoS policy QOS1 is configured with DSCP mappings and CoS mappings.

ndo:
tenant_templates:
tenant_policies:
- name: TP1
tenant: NDO1
sites:
- APIC1
custom_qos_policies:
- name: QOS1
description: Custom QoS Policy 1
dscp_mappings:
- dscp_from: af11
dscp_to: af12
dscp_target: af13
cos_target: voice
priority: level1
cos_mappings:
- dot1p_from: voice
dot1p_to: video
dscp_target: af21
cos_target: 5
priority: level2