You can copy an existing shaper policy to a new shaper policy or overwrite an existing shaper policy. If the destination policy ID exists, the overwrite option must be specified or an error occurs.
Use the following syntax to overwrite an existing shaper QoS policy.
config>qos> copy shaper-policy src-name dst-name overwrite
config>qos# copy shaper-policy ShaperPolicy1 ShaperPolicy2 overwrite
config>qos# exit
The following output displays the copied policies:
*A:ALU-2>config>qos# info detail
#--------------------------------------------------
echo "QoS Policy Configuration"
#--------------------------------------------------
...
shaper-policy "default" create
description "Default shaper policy"
shaper-group ‟default” create
rate max cir 0
exit
exit
shaper-policy "ShaperPolicy2" create
description "Test2"
shaper-group ‟default” create
rate 2000 cir 250
exit
exit
shaper-policy "ShaperPolicy1" create
description "Test1"
shaper-group ‟default” create
rate 1000 cir 150
exit
exit
shaper-policy "ShaperPolicy2" create
description "Test1"
shaper-group ‟default” create
rate 1000 cir 150
exit
exit
...
#--------------------------------------------------