Operational commands

copy

Syntax

copy sap-egress src-pol dst-pol [overwrite]

Context

config>qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command copies the existing SAP egress QoS policy entries to another SAP egress 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 the destination policy already exists, the overwrite keyword must be specified.

Parameters

src-pol

Specifies the source policy.

Values

1 to 65535

src-pol

Specifies the destination policy.

Values

1 to 65535

overwrite

Specifies to replace the existing destination policy. Everything in the existing destination policy is overwritten with the contents of the source policy. If overwrite is not specified, an error occurs if the destination policy ID exists.

remark

Syntax

remark policy-id

no remark

Context

config>qos>sap-egress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the remarking policy ID to use for marking packets on service egress (also known as Access SAP egress).

The remarking policy ID must be associated with the appropriate SAP egress policy and remarking must be enabled in the service egress policy to enable marking of packets sent out of service (SAP) egress. Only a remarking policy of type dot1p, dscp, or dot1p-dscp is allowed when the remark policy is associated with service egress. See Remark policies for more information about remark policy types and their usage.

The no form of this command removes the explicit association of the remark policy and associates the default remark policy. In other words, if remarking is enabled and no remark policy is executed, then the default remark policy is used to mark packets sent out. If no remark policy is executed and remarking is disabled, then packets are not remarked at all.

Parameters

policy-id

Specifies the remark policy.

Values

1 to 65535

remarking

Syntax

[no] remarking

Context

config>qos>sap-egress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables the system to remark egress packets sent out of service egress (also known as, access SAP egress).

When remarking is enabled, the remark policy configured in the QoS policy context is used to determine the FC to QoS bit mapping. For example, when remarking is enabled in the sap-egress QoS policy, the remark policy associated with sap-egress QoS policy is used to determine the FC to dot1p mapping to use for marking packets sent out of access SAPs.

See Remark policies for more information about configuring remark policies.

The no form of this command disables remarking.

Default

no remarking