Skip to main content

Rewrite Rule Definition

Configure policy rewrite rules for the QoS mapping.

Diagram

Classes

definitions (sdwan.localized_policies)

NameTypeConstraintMandatoryDefault Value
rewrite_rulesList[rewrite_rules]No

rewrite_rules (sdwan.localized_policies.definitions)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[A-Za-z0-9-_]{1,128}$Yes
descriptionStringYes
rulesList[rules]Yes

rules (sdwan.localized_policies.definitions.rewrite_rules)

NameTypeConstraintMandatoryDefault Value
classStringRegex: ^[A-Za-z0-9-_]{1,128}$Yes
dscpIntegermin: 0, max: 63Yes
layer2_cosIntegermin: 0, max: 7No
priorityChoicehigh, lowYes

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