Operational commands

copy

Syntax

copy network-queue src-name dst-name [overwrite]

Context

config>qos

Platforms

Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode

Description

This command copies or overwrites existing network queue QoS policies to another network queue policy ID.

The copy command is a configuration level maintenance tool used to create new policies using existing policies. It also allows bulk modifications to an existing policy with the use of the overwrite keyword.

Parameters

network-queue src-name dst-name

Specifies the source policy ID that the copy command will attempt to copy from and specifies the destination policy ID to which the command will copy a duplicate of the policy. Indicates that the source policy ID and the destination policy ID are network-queue policy IDs.

overwrite

Keyword to replace the existing destination policy. Everything in the existing destination policy will be overwritten with the contents of the source policy. If overwrite is not specified, the following message is generated to indicate that the destination policy ID exists:

SR>config>qos# copy network-queue nq1 nq2
MINOR: CLI Destination "nq2" exists - use {overwrite}
SR>config>qos# copy network-queue nq1 nq2 overwrite