You can copy an existing network policy to a new policy ID value or overwrite an existing policy ID. The overwrite option must be specified or an error occurs if the destination policy ID exists.
Use the following syntax to overwrite an existing policy ID.
config>qos# copy network source-policy-id dest-policy-id [overwrite]
config>qos# copy network 1 600
config>qos# copy slope-policy 600 700
MINOR: CLI Destination "700" exists use {overwrite}.
config>qos# copy slope-policy 600 700 overwrite
config>qos#
The following output displays copied policies:
ALU-12>config>qos# info detail
---------------------------------------------
...
network 1 create
description "Default network QoS policy."
scope template
ingress
default-action fc be profile out
...
network 600 create
description "Default network QoS policy."
scope template
ingress
default-action fc be profile out
...
network 700 create
description "Default network QoS policy."
scope template
ingress
default-action fc be profile out
...
---------------------------------------------
ALU-12>config>qos#