Error: "Use action group to configure police and mark"
Cause
You tried to use a combination of an action-group
keyword and a police
or mark
keyword on the same match rule.
You will trigger this error if you combine a command like this:
set policy qos name <policy-name> shaper class <class-id> match <rule-name> action-group <action-group-name>
with a command like this:
set policy qos name <policy-name> shaper class <class-id> match <rule-name> police ...
or with a command like this:
set policy qos name <policy-name> shaper class <class-id> match <rule-name> mark ...
action-group
or the mark
and/or police
keywords directly. Then remove the commands that contain the keywords you didn't select.