2-79
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands clear port cops
clear port cops
To clear port roles, use the clear port cops command.
clear port cops mod/port roles role1 [ro le2]...
clear port cops mod/port all-roles
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The clear port cops command detaches the roles from the port only; it does not remove them from the
global table.
Examples This example shows how to remove specific roles from a port:
Console> (enable) clear port cops 3/1 roles backbone_port main_port
Roles cleared for port(s) 3/1-4.
Console> (enable)
This example shows how to remove all roles from a port:
Console> (enable) clear port cops 3/1 all-roles
All roles cleared for port 3/1-4.
Console> (enable)
Related Commands set port cops
show port cops
mod/port Number of the module and the port on the module.
roles role# Specifies the roles to clear.
all-roles Clears all roles.