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.

Authority

Operators or Administrators. Users without administrator authority 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       hardware rate kbps
--------------------- ---- -------- --------- -------- ----------------- ------------------
acl-logging                0        468       4        38-906            468
arp-broadcast              4        1406      4        115-2734          1406
arp-unicast                5        937       4        77-1828           937
bfd-control                9        937       16       77-1828           937
bgp-ipv4                   9        4218      16       347-8234          4218
dhcp                       2        468       4        38-906            468
hypertext                  6        468       16       38-906            468
icmp-broadcast-ipv4        4        1406      10       115-2734          1406
icmp-multicast-ipv6        4        1406      10       115-2734          1406
icmp-unicast-ipv4          5        937       10       77-1828           937
icmp-unicast-ipv6          5        937       10       77-1828           937
igmp                       7        937       4        77-1828           937
ip-exceptions              0        468       10       38-906            468
ipsec                      9        8437      16       694-16468         8437
ipv4-options               3        468       10       38-906            468
lacp                       8        4218      64       347-8234          4218
lldp                       8        468       2        38-906            468
loop-protect               10       468       2        38-906            468
mirror-to-cpu              1        468       2        38-906            468
mld                        7        937       4        77-1828           937
mvrp                       8        468       2        38-906            468
ntp                        6        468       4        38-906            468
ospf-multicast             9        8437      16       694-16468         8437
ospf-unicast               9        8437      16       694-16468         8437
pim                        9        4218      16       347-8234          4218
sflow                      2        1406      16       115-2734          1406
ssh                        6        17343     4        1427-33859        17343
stp                        10       468       2        38-906            468
udld                       10       468       2        38-906            468
unknown-multicast          3        4218      10       347-8234          4218
unresolved-ip-unicast      3        3281      10       270-6406          3281
vrrp                       7        3281      16       270-6406          3281
default                    1        17343     16       1427-33859        17343

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

switch# config terminal
switch(config)# apply copp-policy My_CoppPolicy
class                 drop priority rate kbps burst kB min-max pps       hardware rate kbps
--------------------- ---- -------- --------- -------- ----------------- ------------------
bgp-ipv4                   6        5000      60       411-9765          5156
ospf-multicast-ipv4        2        2000      25       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 bgp-ipv4 priority 6 rate 5000 burst 60
    class ospf-multicast priority 2 rate 2000
    default-class priority 1 rate 6000 burst 70

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
--------------------- ---- -------- --------- -------- ----------- -------
bgp-ipv4                   6        5000      60       412-9766    yes
ospf-multicast             2        2000      25       165-3906    yes
default                    1        6000      70       494-11719   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 bgp-ipv4 priority 6 rate 5000 burst 60
    class ospf-multicast priority 2 rate 2000
    default-class priority 1 rate 6000 burst 70