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 pps burst pkts
--------------------- ---- -------- -------- ----------
acl-logging                0        25       3
arp-broadcast              2        1250     1250
arp-protect                2        2075     2075
arp-unicast                3        825      825
bfd-control                5        850      850
    <--OUTPUT OMITTED FOR BREVITY-->
default                    2        4225     528

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 pps burst pkts hardware rate pps
--------------------- ---- -------- -------- ---------- -----------------
igmp                       6        5000     60         5000
lacp                       2        2000     2050       2000
default                    1        6000     70         6000

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 2050
    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 pps burst pkts applied
--------------------- ---- -------- -------- ---------- -------
igmp                       6        5000     60         yes
lacp                       2        2000     2050       yes
default                    1        6000     70         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 2050
    default-class priority 1 rate 6000 burst 70
apply copp-policy My_CoppPolicy