Skip to content

Commit

Permalink
swssconfig: Adding COPP configuration file (sonic-net#66)
Browse files Browse the repository at this point in the history
* NOTE:
*  1. ssh not supported currently
*  2. default trap group policer not supported currently
  • Loading branch information
hrachyam authored and Shuotian Cheng committed Sep 1, 2016
1 parent 53b5a98 commit 9a6d783
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions swssconfig/sample/copp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"COPP_TABLE:trap.group.bgp.lacp": {
"trap_ids": "bgp,lacp",
"trap_action":"trap",
"queue": "4"
},
"OP": "SET"
},
{
"COPP_TABLE:trap.group.arp": {
"trap_ids": "arp_req,arp_resp",
"trap_action":"trap",
"queue": "4",
"meter_type":"packets",
"mode":"sr_tcm",
"cir":"600",
"red_action":"drop"
},
"OP": "SET"
},
{
"COPP_TABLE:trap.group.lldp.dhcp": {
"trap_ids": "lldp,dhcp",
"trap_action":"trap",
"queue": "4"
},
"OP": "SET"
},
{
"COPP_TABLE:trap.group.ip2me": {
"trap_ids": "ip2me",
"trap_action":"trap",
"queue": "1",
"meter_type":"packets",
"mode":"sr_tcm",
"cir":"600",
"red_action":"drop"
},
"OP": "SET"
}
]

0 comments on commit 9a6d783

Please sign in to comment.