9. QoS Fabric Profiles

This chapter provides information to configure QoS fabric profiles using the command line interface.

9.1. Basic Configuration

This section contains the following topic related to creating and applying QoS fabric policies:

A QoS fabric profile must conform to the following rules.

  1. Each profile must be associated with a unique policy ID.
  2. Either aggregate mode or per-destination mode must be assigned.

9.1.1. Creating a QoS Fabric Profile

Creating a QoS fabric profile other than the default policy (“default”) is optional. To create a QoS fabric profile, perform the following:

  1. assign a policy ID (policy number) — the system does not dynamically assign an ID
  2. include an optional description of the policy
  3. assign the mode, either aggregate or per-destination. If no mode is assigned, the default aggregate mode is used.
  4. configure the to-fabric shaper rate
  5. (optional) for hierarchical QoS (H-QoS), configure the unshaped SAP CIR rate (see Configuring per-SAP Aggregate Shapers and an Unshaped SAP Aggregate Shaper (H-QoS))

Use the following CLI syntax to configure a QoS fabric profile:

CLI Syntax:
config>qos#
fabric-profile policy-id aggregate-mode create
aggregate-rate aggregate-rate [unshaped-sap-cir cir-rate]
description description-string
fabric-profile policy-id destination-mode create
description description-string
dest-mda <slot/mda | multipoint>
rate mda-rate

The following example shows the command syntax for creating and configuring a destination-mode QoS fabric profile with an mda-rate of 400 Mb/s for destination adapter cards 1/1 through 1/6.

Example:
*A:7705:Dut-C# configure qos
fabric-profile 4 destination-mode create
config>qos>fabric-profile$ description "Fabric profile QoS policy 4"
config>qos>fabric-profile$ dest-mda 1/1
config>qos>fabric-profile>dest-mda$ rate 400000
config>qos>fabric-profile>dest-mda$ exit
config>qos>fabric-profile$ dest-mda 1/2
config>qos>fabric-profile>dest-mda$ rate 400000
config>qos>fabric-profile>dest-mda$ exit
config>qos>fabric-profile$ dest-mda 1/3
config>qos>fabric-profile>dest-mda$ rate 400000
config>qos>fabric-profile>dest-mda$ exit
config>qos>fabric-profile$ dest-mda 1/4
config>qos>fabric-profile>dest-mda$ rate 400000
config>qos>fabric-profile>dest-mda$ exit
config>qos>fabric-profile$ dest-mda 1/5
config>qos>fabric-profile>dest-mda$ rate 400000
config>qos>fabric-profile>dest-mda$ exit
config>qos>fabric-profile$ dest-mda 1/6
config>qos>fabric-profile>dest-mda$ rate 400000
config>qos>fabric-profile>dest-mda$ exit
config>qos>fabric-profile$ dest-mda multipoint
config>qos>fabric-profile>dest-mda$ rate 400000
config>qos>fabric-profile>dest-mda$ exit
config>qos>fabric-profile$ exit
*A:7705:Dut-C#

The following output displays the profile configuration for fabric profile QoS policy 4.

*A:7705:Dut-C#>config>qos# info detail
#--------------------------------------------------
echo "QoS Policy Configuration"
#--------------------------------------------------
... 
fabric-profile 4 destination-mode create
            description "Fabric profile QoS policy 4"
            dest-mda 1/1
                rate 40000
            exit
            dest-mda 1/2
                rate 400000
            exit
            dest-mda 1/3
                rate 400000
            exit
            dest-mda 1/4
                rate 400000
            exit
            dest-mda 1/5
                rate 400000
            exit
            dest-mda 1/6
                rate 400000
            exit
            dest-mda multipoint 
                rate 400000
            exit

9.1.2. Applying a QoS Fabric Profile

Fabric profiles do not apply to the Auxiliary Alarm card or the 7705 SAR-A, 7705 SAR-Ax, 7705 SAR-H, 7705 SAR-Hc, 7705 SAR-M, 7705 SAR-W, or 7705 SAR-Wx.

Use the following CLI syntax to assign a fabric profile on an adapter card.

CLI Syntax:
config>card>mda#
network
ingress
fabric-policy <fabric-policy-id>
queue-policy <nam7705 SAR-Me>
access
ingress
fabric-policy <fabric-policy-id>
no shutdown

9.1.3. Default Fabric Profile Values

Table 62 shows the fabric profile default values.

Table 62:  Fabric Profile Defaults  

Field

Default

Policy-id

1

Mode

Aggregate-mode

Aggregate rate

200000 kb/s

CIR rate

0 kb/s

MDA rate

200000 kb/s

The following output displays the default configuration:

A:ALU-1>config>qos# info detail
--------------------------------------------------
Echo "QoS Policy Configuration"
--------------------------------------------------
...
fabric-profile 1 aggregate-mode create
            description "Default Fabric Profile QoS policy."
            aggregate-rate 200000 unshaped-sap-cir 0
 exit
...
--------------------------------------------------

9.2. Service Management Tasks

This section describes the following fabric profile service management tasks:

9.2.1. Removing a Fabric Profile from the QoS Configuration

The default fabric profile cannot be deleted.

To delete a fabric profile, enter the following command:

CLI Syntax:
config>qos# no fabric-profile policy-id
Example:
config>qos# no fabric-profile 3

9.2.2. Copying and Overwriting a Fabric Profile

You can copy an existing profile, rename it with a new profile ID value, or overwrite an existing profile ID. The overwrite option must be specified or an error occurs if the destination profile ID exists.

CLI Syntax:
config>qos> copy fabric-profile src-prof dst-prof [overwrite]
Example:
*A:ALU-1#>config>qos# copy fabric-profile 2 3
config>qos# copy fabric-profile 2 3 overwrite
config>qos#

9.2.3. Editing QoS Policies

You can change existing policies and entries in the CLI. The changes are applied immediately to the specified adapter card where the policy is applied. To prevent configuration errors, copy the policy to a work area, make the edits, and then write over the original policy.