Operational Commands

copy

Syntax

copy network src-pol dst-pol [overwrite]

Context

config>qos

Description

This command copies existing QoS policy entries for a QoS policy ID to another QoS policy ID.

The copy command is used to create new policies using existing policies and also allows bulk modifications to an existing policy with the use of the overwrite keyword.

Parameters

src-pol dst-pol

indicates that the source and destination policies are network policy IDs. Specify the source policy that the copy command will copy and specify the destination policy to which the command will duplicate the policy to a new or different policy ID.

Values

1 to 65535

overwrite

specifies that the existing destination policy is to be replaced. Everything in the existing destination policy will be overwritten with the contents of the source policy. If overwrite is not specified, an error will occur if the destination policy ID exists.

NOK>config>qos# copy network 1 427

MINOR: CLI Destination "427" exists use {overwrite}.

NOK>config>qos# copy network 1 427 overwrite