QoS Fabric Profile Commands

fabric-profile

Syntax

fabric-profile policy-id [aggregate-mode | destination-mode] [create]

no fabric-profile policy-id

Context

config>qos

Description

This command is used to configure a QoS fabric profile policy.

The default mode is aggregate-mode, which means that the access-ingress and network-ingress fabric shapers on all adapter cards are set to the same rate, either by default or via the aggregate-rate command. Selecting destination-mode allows each adapter card to have its fabric shapers set to a different rate for unicast traffic and a common rate for BMU traffic, either by default or via the dest-mda rate command.

The default fabric profile is preconfigured and non-modifiable. It cannot be deleted. All other fabric profiles must be explicitly created before use.

The create keyword must follow each new profile configuration.

Default

policy-id 1

aggregate-mode

Parameters

policy-id

the index identifier for a fabric profile policy

Values

1 to 256

aggregate-mode

assigns the aggregate fabric profile mode to the specified fabric profile

destination-mode

assigns the per-destination fabric profile mode to the specified fabric profile

create

keyword used to create a fabric profile policy

aggregate-rate

Syntax

aggregate-rate aggregate-rate [unshaped-sap-cir cir-rate]

Context

config>qos>fabric-profile

Description

This command sets the rate of the fabric shapers in aggregate mode, in kb/s. The aggregate-rate represents the maximum bandwidth that an adapter card can switch through its fabric interface. Each fabric shaper is set to the same aggregate rate. Using the default keyword sets the aggregate rate to 200 000 kb/s.

The unshaped-sap-cir command is optional. When used, it assigns an aggregate CIR to all unshaped 4-priority SAPs so that the unshaped SAP aggregate rate can compete with the shaped SAPs’ aggregate CIR when the fabric scheduler selects traffic to forward to the switching fabric.

The default cir-rate value is 0 kb/s. If the cir-rate is max, then the maximum possible backplane speed for the adapter card, based on the associated fabric policy, is used.

The aggregate-rate can be higher or lower than the cir-rate. If the cir-rate is higher than the aggregate-rate, then the cir-rate is used by the network processor but the end result is that backpressure from the fabric shaper is applied indirectly to the per-SAP queues, as explained below:

  • per-SAP (aggregate) shapers—that is, unshaped SAP aggregate CIR or individual shaped SAP CIRs—prioritize traffic towards the fabric shaper based on the cir-rate

  • the fabric shaper shapes the traffic at the configured rate

  • when the fabric shaper becomes congested, it applies backpressure to individual SAP shapers—that is, it applies backpressure to the shaped SAPs and to the unshaped SAP aggregate, which in turn apply backpressure to individual unshaped queues

The same fabric-profile binding can be used for either network or access on a per-adapter card basis. However, the unshaped-sap-cir is not applicable when bound to network ingress.

Default

200000 (‟default”) for aggregate-rate

0 for cir-rate

Parameters

aggregate-rate

the rate of the fabric shapers in aggregate mode, in kb/s. Using the default keyword sets the aggregate rate to 200 000 kb/s.

Values

1 to 2500000 (2 500 000), or default for the 7705 SAR-8 Shelf V2 (all 6 slots)

1 to 10000000 (10 000 000), or default for the 7705 SAR-8 Shelf V2 (slots 1 and 2)

1 to 1000000 (1 000 000) or 1 to 2500000 ((2 500 000), or default for the 7705 SAR-18 (12 MDA slots)

1 to 10000000 (10 000 000), or default for the 7705 SAR-18 (4 XMDA slots)

cir-rate

the CIR rate for the unshaped SAP aggregate shapers, in kb/s. Using the max keyword sets the CIR rate to the maximum possible backplane speed for the adapter card, based on the associated fabric policy.

Values

1 to 2500000 (2 500 000), or max for the 7705 SAR-8 Shelf V2 (all 6 slots)

1 to 10000000 (10 000 000), or max for the 7705 SAR-8 Shelf V2 (slots 1 and 2)

1 to 1000000 (1 000 000) or 1 to 2500000 ((2 500 000), or max for the 7705 SAR-18 (12 MDA slots)

1 to 10000000 (10 000 000), or max for the 7705 SAR-18 (4 XMDA slots)

dest-mda

Syntax

dest-mda [slot/mda | multipoint]

Context

config>qos>fabric-profile

Description

This command enables the context for setting the rate for per-destination mode shapers on a specific adapter card or all adapter cards. Using the slot/mda parameter specifies a particular destination adapter card. Using the multipoint keyword specifies that all adapter cards are destination cards and they will have their rate configured to the same value. The value of the rate is configured using the rate command.

Parameters

slot/mda

the slot and mda identifier of the adapter card

Values

slot: 1

mda: 1 to 6 on the 7705 SAR-8 Shelf V2, 1 to 12 on the 7705 SAR-18

multipoint

specifies that all adapter cards are destination adapter cards

rate

Syntax

rate mda-rate

Context

config>qos>fabric-profile>dest-mda

Description

This command sets the rate of the fabric shapers in per-destination mode, in kb/s. When the multipoint keyword is used in the dest-mda command, rate sets the bandwidth available to multipoint traffic through the fabric shapers; all adapter card shapers are set to the same value.

Using the default keyword sets the rate to 200 000 kb/s.

Default

200000 (‟default”)

Parameters

mda-rate

the rate of the fabric shapers in destination mode, in kb/s. Using the default keyword sets the mda-rate to 200 000 kb/s.

Values

1 to 2500000 (2 500 000), or default for the 7705 SAR-8 Shelf V2 (all 6 slots)

1 to 10000000 (10 000 000), or default for the 7705 SAR-8 Shelf V2 (slots 1 and 2)

1 to 1000000 (1 000 000) or 1 to 2500000 ((2 500 000), or default for the 7705 SAR-18 (12 MDA slots)

1 to 10000000 (10 000 000), or default for the 7705 SAR-18 (4 XMDA slots)