reset copp-policy

Syntax

reset copp-policy { <NAME> | default }

Description

Resets an active CoPP policy to match the settings that are currently in effect for the active policy on the switch. Changes made to the active policy that could not be activated are removed from the active policy. When the switch fails to add or modify a class in an active CoPP policy, it is possible the active policy settings on the switch may be out of sync with those defined in the policy.

Command context

config

Parameters

<NAME>

Specifies the name of the policy to reset. Length: 1 to 64 characters.

default

Resets the default policy to match its active settings.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Resetting a policy named My_CoppPolicy:

Resetting the default policy:

switch(config)# reset copp-policy default