show copp-policy


show copp-policy  [<NAME> | default] [commands] [configuration] [vsx-peer]


Shows CoPP policy settings for a specific CoPP policy. When entered without specifying either a name or the default parameter, shows all the CoPP policy settings that are active on the switch and have successfully been programmed into the hardware.

A warning is displayed if:

  • The active and user-specified applications of a policy do not match.

  • The active and user-specified configurations of a policy do not match.

Command context

Operator (>) or Manager (#)



Specifies the name of the policy for which to display settings. Length: 1 to 64 characters.


Displays CoPP settings for the default policy.


Displays output as CLI commands.


Displays user-specified CoPP settings and not the active settings.


Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.


Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.


Displaying the CoPP policies defined in the configuration and the active application:

switch# show copp-policy
applied copp_policy_name
------- ----------------
applied default

Entering the config-copp context and modify the default policy: