ATM QoS Policy Commands

atm-td-profile

Syntax

[no] atm-td-profile traffic-desc-profile-id [create]

Context

config>qos

Description

This command is used to configure an ATM traffic descriptor profile as per ATM Forum Traffic Management Specification Version 4.1.

Traffic descriptor profiles are used to:

  • define traffic management capabilities for ATM PVCCs

  • calculate the total bandwidth consumed on a given port by all ATM PVCCs. The bandwidth taken by a PVCC is equal to:

  • PIR for CBR PVCCs

  • SIR for rt-vbr and nrt-vbr PVCCs

  • MIR for UBR PVCC

  • define ATM-level scheduling

The default traffic descriptor is preconfigured and non-modifiable. It cannot be deleted. All other traffic descriptor profiles must be explicitly created before use. The create keyword must follow each new profile configuration.

Any changes made to the existing profile, using any of the sub-commands, are applied immediately to all objects where this profile is applied (a small traffic interruption in data traffic will occur during the data plane reprogramming with the newly modified profile).

When many changes are required on a profile, it is recommended that the profile be copied to a work area profile ID. That work-in-progress profile can be modified until complete and then written over the original profile-id. Use the config>qos>copy command to maintain profiles in this manner.

The weight assigned to each non-shaped PVCC in the Deficit Round Robin Scheduler depends on the service category and traffic rates (see the traffic command for more details).

The no form of the command deletes a given traffic profile. The profile to be deleted must not be associated with any object (for example a SAP). If this condition is not met, the command will return an error.

Default

1 — the default traffic descriptor (UBR, no traffic, no shaping)

Parameters

traffic-desc-profile-id

the index identifier for a traffic descriptor profile

Values

1 to 1000

create

keyword used to create an ATM traffic descriptor profile

descriptor-type

Syntax

descriptor-type type

Context

config>qos>atm-td-profile

Description

This command is used to specify the type of ATM traffic descriptor profile as per ATM Forum Traffic Management Specification Version 4.1.

Default

Table: Service Category Descriptor Type Default Values defines descriptor-type default values based on service category.

Table: Service Category Descriptor Type Default Values

Service Category

Default Descriptor Type

CBR

P0_1

UBR

P0_1

UBR with MIR

P0_1

rt-VBR or nrt-VBR

P0_1and S0_1

Parameters

type

the ATM traffic descriptor profile type

Values

P0_1, P0_1andS0_Tag, P0_1andS0, P0_1andS0_1

The descriptor-type command defines interpretation of traffic parameters that are specified for this profile. Table: Traffic Descriptor Type Parameters details these rules.

Note:

Setting descriptor-type to a value not compatible with the service category (as defined in Table: Service Category Descriptor Type Default Values) results in an error message.

Table: Traffic Descriptor Type Parameters

Descriptor-type Value

Rates Interpretation

Applicable Service Categories

P0_1

PIR in kb/s; applies to CLP=0 and CLP=1 cell flows

MIR in kb/s; applies to CLP=0 and CLP=1 cell flows

CBR, UBR, UBR with MIR

P0_1and S0

PIR in kb/s; applies to CLP=0 and CLP=1 cell flows; non-conforming CLP=0 cell flows are discarded

SIR in kb/s; applies to CLP=0 cell flows only

rt-VBR and nrt-VBR

P0_1andS0_Tag

PIR in kb/s; applies to CLP=0 and CLP=1 cell flows; non-conforming CLP=0 cell flows are tagged to CLP=1 cell flows

SIR in kb/s; applies to CLP=0 cell flows only

rt-VBR and nrt-VBR

P0_1and S0_1

PIR in kb/s; applies to CLP=0 and CLP=1 cell flows

SIR in kb/s; applies to CLP=0 cell flows only

rt-VBR and nrt-VBR

policing

Syntax

[no] policing

Context

config>qos>atm-td-profile

Description

This command determines whether ingress traffic is policed. Policing is valid for CBR, rt-VBR, nrt-VBR, and UBR. This policing is cell-based.

Default

disabled

service-category

Syntax

service-category service-category

Context

config>qos>atm-td-profile

Description

This command is used to configure an ATM service category attribute of an ATM traffic descriptor profile.

Default

ubr

Parameters

service-category

Table: ATM Service Categories describes the supported ATM service categories on the 16-port T1/E1 ASAP Adapter card, 32-port T1/E1 ASAP Adapter card, 4-port DS3/E3 Adapter card, 4-port OC3/STM1 Clear Channel Adapter card, and 2-port OC3/STM1 Channelized Adapter card.

Table: ATM Service Categories

Service Category

Description

CBR

Constant Bit Rate

rt-VBR

Real-time Variable Bit Rate

nrt-VBR

Non-real-time Variable Bit Rate

UBR

Unspecified Bit Rate without Minimum Desired Cell Rate (defined by specifying service category to be ubr, and MIR of 0)

UBR (with MIR)

Unspecified Bit Rate with non-zero Minimum Desired Cell Rate (defined by specifying service category to be ubr, and MIR > 0)

Changing the service category of a profile will reset all traffic attributes to their defaults (see the traffic command) and will cause reprogramming of the data path (with a small impact on user traffic) and a reset of VC statistics for all VCs using this traffic descriptor profile.

shaping

Syntax

[no] shaping

Context

config>qos>atm-td-profile

Description

This command determines whether egress shaping should occur. Shaping is only applied in the egress direction.

Default

The default is determined by the service category. Table: Default Shaping Values describes default shaping values.

Table: Default Shaping Values

Applicable Service Category

Default Shaping Value

Comments

UBR

Disabled

Shaping cannot be enabled

CBR

Enabled

Shaping cannot be disabled

rt-VBR

Enabled

Shaping cannot be disabled

nrt-VBR

Enabled

Shaping cannot be disabled

traffic

Syntax

traffic [sir sir-val [pir pir-val] [mir mir-val] [mbs mbs-val] [cdvt cdvt-val]

no traffic

Context

config>qos>atm-td-profile

Description

This command is used to configure traffic attributes of an ATM traffic profile as per ATM Forum Traffic Management Specification Version 4.1.

The traffic parameters of a traffic descriptor that are configurable depend on the service category of this traffic descriptor profile. (See the service-category command.)

Table: Service Category Traffic Descriptor Parameters defines which traffic descriptor parameters are applicable for what service category and what the configuration rules are between the parameters. ‟Y” indicates that the parameter can be configured for a given service category and will be defaulted if not provided, and an ‟N/A” indicates that the parameter cannot be configured for a given service category (an error will be returned). If an applicable parameter is not specified, the current value will be preserved.

Table: Service Category Traffic Descriptor Parameters

Service Category

SIR

PIR

MBS

MIR

CDVT

CBR

N/A

Y

N/A

N/A

Y

rt-VBR

Y

Y (must be ≥ SIR)

Y

N/A

Y

nrt-VBR

Y

Y (must be ≥ SIR)

Y

N/A

Y

UBR

N/A

Y

N/A

N/A

Y

UBR with MIR

N/A

Y (must be ≥ MIR

N/A

Y (non-zero MIR specified)

Y

When a traffic descriptor profile is used to define egress scheduling, the following describes how traffic rates are used to derive scheduling weight:

The scheduling weight applies only to unshaped nrt-VBR and UBR. The scheduling weight is a value from 1 to 8. The scheduling weight is determined by the SIR value for nrt-VBR, and by the MIR value for UBR. The conversion from SIR/MIR to weight is as follows:

  • Rate < 64K weight = 1

  • Rate < 128K weight = 2

  • Rate < 256K weight = 3

  • Rate < 512K weight = 4

  • Rate < 1024K weight = 5

  • Rate < 1536K weight = 6

  • Rate < 1920K weight = 7

Everything above 1920K will be assigned a weight of 8.

Since the 7705 SAR operates in cells/second with one cell granularity, PIR and SIR values programmed need to be converted to cells/second. When converting values to be used for the scheduler, the result is rounded up to the next cell when required by conversion.

When any of SIR, PIR, or MIR is greater than the physical maximum port/channel capacity for a given PVCC, then the maximum physical port/channel capacity is used in bandwidth accumulation and when configuring the hardware for that PVCC.

Hardware-enforceable MBS is in the inclusive range of 3 to 256 000 cells on all 7705 SAR ATM-capable adapter cards. Assigning an atm-td-profile with an MBS value outside of this range to a SAP is blocked. As well, once an atm-td-profile is assigned to a SAP, the CLI will block any change of the MBS value to a value outside of this range.

The no form of the command restores traffic parameters to their defaults for a given service category.

Default

Table: ATM Traffic Parameter Defaults shows the ATM traffic parameter defaults.

Table: ATM Traffic Parameter Defaults

Service Category

Traffic Parameter Defaults

CBR:

PIR

0

CDVT

250

rt-VBR and nrt-VBR

PIR

4294967295

SIR

0

MBS

32

CDVT

250

UBR (note by default UBR is without MIR)

PIR

0

CDVT

250

Parameters

sir-val

the Sustained Information Rate (including cell overhead) in kb/s

Values

0 to 4294967295

pir-val

the Peak Information Rate (including cell overhead) in kb/s

Values

0 to 4294967295

mir-val

the Minimum Desired Information Rate (including cell overhead) in kb/s

Values

0 to 4294967295

mbs-val

the Maximum Burst Size in cells

Values

0 to 4294967295 (this range applies if the atm-td-profile is not assigned to a SAP)

3 to 256000 (this range applies if the atm-td-profile is assigned to a SAP, as described above)

cdvt-val

the Cell Delay Variation Tolerance (CDVT) in microseconds

Default

CBR/RT-VBR/NRT-VBR/UBR = 250

Values

0 to 4294967295