2-382
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set port cops
set port cops
To create port roles, use the set port cops command.
set port cops mod/port roles role1 [ro le2]...
Syntax Description
Defaults The default is all ports have a default role of null string, for example, the string of length 0.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
A port may have multiple roles. You can configure a maximum of 64 total roles per switch. You can
specify multiple roles in a single command.
Examples This example shows how to create roles on a port:
Console> (enable) set port cops 3/1 roles backbone_port main_port
New role ‘backbone_port’ created.
New role ‘main_port’ created.
Roles added for port 3/1-4.
Console> (enable)
This example shows the display if you attempt to create a roll and exceed the maximum allowable
number of roles:
Console> (enable) set port cops 3/1 roles access_port
Unable to add new role. Maximum number of roles is 64.
Console> (enable)
Related Commands clear port cops
show port cops
mod/port Number of the module and the port on the module.
roles role# Specifies the roles.