41-63
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 41 Configuring QoS
Configuring QoS
This example shows how to enable use of locally configured QoS policy:
Console> (enable)
set port qos 1/1 policy-source local
QoS policy source set to local on port(s) 1/1-2.
Console> (enable)
Assigning Port Roles
COPS does not configure ports using slot number and port number parameters. COPS uses
roles
that you
create and assign to port ASICs.
A role is a name that describes the capability of ports (for example,
access
or
mod2_1-4
). QoS supports
64 roles per switch. You can assign more than one role to a port ASIC (for example,
mod2ports1-12
and
access
), with the limitation that the combined length of role names assigned to a port ASIC cannot
exceed 255 characters.
The role name can be up to 31 characters long, is not case sensitive but may include uppercase and
lowercase characters, and may consist of a–z, A–Z, 0–9, the dash character (-), the underscore character
(_), and the period character (.). Role names cannot start with the underscore character.
The first assignment of a new role to a port creates the role.
To assign roles to a port ASIC, perform this task in privileged mode:
This example shows how to assign two new roles to the ASIC controlling port 2/1:
Console> (enable)
set port cops 2/1 roles mod2ports1-12 access
New role ‘mod2ports1-12’ created.
New role ‘access’ created.
Roles added for port 2/1-12.
Console> (enable)
Removing Roles from Port ASICs
To remove a role from a port ASIC, perform this task in privileged mode:
This example shows how to remove a role from a port ASIC:
Console> (enable)
clear port cops 3/1 roles backbone_port main_port
Roles cleared for port(s) 3/1-4.
Console> (enable)
Task
Command
Step 1
Assign roles to a port ASIC.
set port cops
{
mod/port
}
roles
role1
[
role2
] ...
Step 2
Verify the roles for the port.
show port cops
[
mod
[
/port
]]
Task
Command
Step 1
Remove a role from a port ASIC.
clear port cops
{
mod/port
} {
all-roles
|
roles
role1
[
role2
] ...}
Step 2
Verify the roles for the port.
show port cops
[
mod
[
/port
]]