Rewrite Rule Definition
Configure policy rewrite rules for the QoS mapping.
Diagram
Classes
definitions (sdwan.localized_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
rewrite_rules | List | [rewrite_rules] | No |
rewrite_rules (sdwan.localized_policies.definitions)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[A-Za-z0-9-_]{1,128}$ | Yes | |
description | String | Yes | ||
rules | List | [rules] | Yes |
rules (sdwan.localized_policies.definitions.rewrite_rules)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
class | String | Regex: ^[A-Za-z0-9-_]{1,128}$ | Yes | |
dscp | Integer | min: 0 , max: 63 | Yes | |
layer2_cos | Integer | min: 0 , max: 7 | No | |
priority | Choice | high , low | Yes |
Examples
sdwan:
localized_policies:
definitions:
rewrite_rules:
- name: REWRITE-RULE-MPLS
description: "DCSP rewrite for MPLS underlay"
rules:
- class_map: CLASS-REALTIME
dscp: 46
priority: high
- class: CLASS-NETCONTROL
dscp: 48
priority: high
- class: CLASS-DEFAULT
dscp: 0
layer2_cos: 0
priority: low