show copp-policy factory-default

Syntax

show copp-policy factory-default [commands] [vsx-peer]

Description

Display the configuration for the factory-default CoPP policy.

Command context

Operator (>) or Manager (#)

Parameters

commands

Displays output as CLI commands.

[vsx-peer]

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.

Authority

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

Example

Displaying the factory-default policy:

switch# show copp-policy factory-default
class                 drop priority rate kbps burst kB min-max pps
--------------------- ---- -------- --------- -------- -----------------
acl-logging                0        468       4        38-906
arp-broadcast              4        1406      4        115-2734
arp-protect                4        2343      4        192-4562
arp-unicast                5        937       4        77-1828
bfd-control                9        937       16       77-1828
    <--OUTPUT OMITTED FOR BREVITY-->
default                    1        17343     16       1427-33859

Displaying the active configuration of My_CoppPolicy (My_CoppPolicy is applied):

switch# config terminal
switch(config)# apply copp-policy My_CoppPolicy
switch(config)# do show copp-policy My_CoppPolicy
class                 drop priority rate kbps burst kB min-max pps       hardware rate kbps
--------------------- ---- -------- --------- -------- ----------------- ------------------
igmp                       6        5000      60       411-9765          5156
lacp                       2        2000      64       164-3906          2343
default                    1        6000      70       494-11718         6093

Displaying the active configuration of My_CoppPolicy as CLI commands:

switch# show copp-policy My_CoppPolicy commands
copp-policy My_CoppPolicy
    class igmp priority 6 rate 5000 burst 60
    class lacp priority 2 rate 2000 burst 64
    default-class priority 1 rate 6000 burst 70
apply copp-policy My_CoppPolicy

Displaying the user-specified configuration of My_CoppPolicy:

switch# show copp-policy My_CoppPolicy configuration
class                 drop priority rate kbps burst kB min-max pps       applied
--------------------- ---- -------- --------- -------- ----------------- -------
igmp                       6        5000      60       411-9765          yes
lacp                       2        2000      64       164-3906          yes
default                    1        6000      70       494-11718         yes

Displaying the user-specified configuration of My_CoppPolicy as CLI commands:

switch# show copp-policy My_CoppPolicy commands configuration
copp-policy My_CoppPolicy
    class igmp priority 6 rate 5000 burst 60
    class lacp priority 2 rate 2000 burst 64
    default-class priority 1 rate 6000 burst 70
apply copp-policy My_CoppPolicy