52-82
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 52 Configuring QoS
Configuring QoS on the Switch
A role is a name that describes the capability of the 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 the role names that are
assigned to a port ASIC cannot exceed 255 characters.
The role name can be up to 31 characters, 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 (.). The role names cannot start with the underscore character.
The first assignment of a new role to a port creates the role.
To assign the 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 a Role from the 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 the 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
]]