vsx-sync copp-policy

Syntax

vsx-sync copp-policy

no vsx-sync copp-policy

Description

Enables VSX synchronization of CoPP policy configurations on the primary VSX node to the secondary peer switch.

The no form of this command removes VSX synchronization of global CoPP configurations, but it does not remove the existing global CoPP configurations from the secondary peer switch.

Command context

config-vsx

Authority

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

Examples

The first three lines in the following example show the setting of several policy configurations. The last two lines of the example show the enabling of VSX synchronization for CoPP policy configurations.

switch(config)# copp-policy mypolicy 
switch(config-copp)# class arp-broadcast drop
switch(config-copp)# no class arp-unicast
switch(config)# vsx
switch(config-vsx)# vsx-sync copp-policy

Disabling VSX synchronization for global CoPP configurations:

switch(config)# vsx
switch(config-vsx)# no vsx-sync copp-policy