clear policy port
15-16 Policy Classification Configuration
clear policy port
Use this command to remove a policy profile from one or more ports.
Syntax
clear policy port port-string profile-index
Parameters
Defaults
None.
Mode
Switch command, read-write.
Example
This example shows how to remove policy profile 10 from port 21 in unit 1:
C3(rw)->clear policy port ge.1.21 10
show policy port
Use this command to display policy information per port.
Syntax
show policy port [port-string]
Parameters
Defaults
If no port is specified, information about all ports will be displayed.
Mode
Switch command, read-only.
Example
This example displays information about all physical ports.
port-string Specifies the port(s) from which to remove the policy profile. For a
detailed description of possible port-string values, refer to “Port String
Syntax Used in the CLI” on page 11-1.
profile-index Specifies the ID of the policy profile (role) to which the port(s) will be
added. This value must match the profile-index value assigned using the
set policy profile command (“set policy profile” on page 15-3) in order
for a policy profile to be active on the specified port.
port-string {Optional) Specifies the port(s) for which to display policy information.
For a detailed description of possible port-string values, refer to “Port
String Syntax Used in the CLI” on page 11-1.