.. _dellemc.enterprise_sonic.sonic_copp_module:
***********************************
dellemc.enterprise_sonic.sonic_copp
***********************************
**Manage CoPP configuration on SONiC**
Version added: 2.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module provides configuration management of CoPP for devices running SONiC
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
dictionary
|
|
Specifies CoPP configurations
|
|
copp_groups
list
/ elements=dictionary
|
|
List of CoPP entries that comprise a CoPP group
|
|
|
cbs
string
|
|
Committed bucket size in packets or bytes
|
|
|
cir
string
|
|
Committed information rate in bps or pps (packets per second)
|
|
|
copp_name
string
/ required
|
|
Name of CoPP classifier
|
|
|
queue
integer
|
|
CoPP queue ID
|
|
|
trap_action
string
|
Choices:
- copy
- copy_cancel
- deny
- drop
- forward
- log
- transit
- trap
|
CoPP trap action
|
|
|
trap_priority
integer
|
|
CoPP trap priority
|
|
copp_traps
list
/ elements=dictionary
added in 3.1.0
|
|
List of CoPP entries that comprise a CoPP trap
|
|
|
name
string
/ required
|
|
Name of CoPP trap
|
|
|
trap_group
string
|
|
Name of CoPP group
|
|
|
trap_protocol_ids
string
|
|
Comma separated string of trap protocol IDs
|
|
state
string
|
Choices:
merged ←
- deleted
- replaced
- overridden
|
The state of the configuration after module completion
|