Operational commands

copy

Syntax

copy port-scheduler-policy src-name dst-name [overwrite]

Context

config>qos

Platforms

7210 SAS-T (in access-uplink mode and Network), 7210 SAS-Sx 1/10GE: standalone and standalone-VC, and 7210 SAS-Sx 10/100GE

Description

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

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.

If overwrite is not specified, an error will occur if the destination policy exists.

Parameters

port-scheduler-policy src-name dst-name

Specifies the source policy that the copy command will attempt to copy from and specifies the destination policy name to which the command will copy a duplicate of the policy. This parameter indicates that the source policy and the destination policy are port scheduler policy IDs.

overwrite

Keyword to replace the destination policy name. When the overwrite keyword is specifies, everything in the existing destination policy will be completely overwritten with the contents of the source policy.