2020-11-23 11:31:42 -06:00
{
"COPP_GROUP": {
"default": {
"queue": "0",
"meter_type":"packets",
"mode":"sr_tcm",
"cir":"600",
"cbs":"600",
"red_action":"drop"
},
"queue4_group1": {
"trap_action":"trap",
"trap_priority":"4",
"queue": "4"
},
2022-02-20 04:42:39 -06:00
"queue4_group2": {
2020-11-23 11:31:42 -06:00
"trap_action":"copy",
"trap_priority":"4",
"queue": "4",
"meter_type":"packets",
"mode":"sr_tcm",
"cir":"600",
"cbs":"600",
"red_action":"drop"
},
"queue4_group3": {
"trap_action":"trap",
"trap_priority":"4",
"queue": "4"
},
"queue1_group1": {
"trap_action":"trap",
"trap_priority":"1",
"queue": "1",
"meter_type":"packets",
"mode":"sr_tcm",
"cir":"6000",
"cbs":"6000",
"red_action":"drop"
},
"queue1_group2": {
"trap_action":"trap",
"trap_priority":"1",
"queue": "1",
"meter_type":"packets",
"mode":"sr_tcm",
"cir":"600",
"cbs":"600",
"red_action":"drop"
},
"queue2_group1": {
"cbs": "1000",
"cir": "1000",
"genetlink_mcgrp_name": "packets",
"genetlink_name": "psample",
"meter_type": "packets",
"mode": "sr_tcm",
"queue": "2",
"red_action": "drop",
"trap_action": "trap",
"trap_priority": "1"
}
},
"COPP_TRAP": {
"bgp": {
"trap_ids": "bgp,bgpv6",
"trap_group": "queue4_group1"
},
"lacp": {
"trap_ids": "lacp",
2022-02-20 04:42:39 -06:00
"trap_group": "queue4_group1",
"always_enabled": "true"
2020-11-23 11:31:42 -06:00
},
"arp": {
"trap_ids": "arp_req,arp_resp,neigh_discovery",
2022-02-20 04:42:39 -06:00
"trap_group": "queue4_group2",
"always_enabled": "true"
2020-11-23 11:31:42 -06:00
},
"lldp": {
"trap_ids": "lldp",
"trap_group": "queue4_group3"
},
2022-04-15 13:47:02 -05:00
{% if not (DEVICE_METADATA is defined and DEVICE_METADATA['localhost'] is defined and DEVICE_METADATA['localhost']['type'] is defined and DEVICE_METADATA['localhost']['type'] is not in ['ToRRouter', 'EPMS', 'MgmtTsToR', 'MgmtToRRouter']) %}
2022-03-21 23:55:24 -05:00
"dhcp_relay": {
2020-11-23 11:31:42 -06:00
"trap_ids": "dhcp,dhcpv6",
"trap_group": "queue4_group3"
},
{% endif %}
"udld": {
"trap_ids": "udld",
2022-02-20 04:42:39 -06:00
"trap_group": "queue4_group3",
"always_enabled": "true"
2020-11-23 11:31:42 -06:00
},
"ip2me": {
"trap_ids": "ip2me",
2022-02-20 04:42:39 -06:00
"trap_group": "queue1_group1",
"always_enabled": "true"
2020-11-23 11:31:42 -06:00
},
"nat": {
"trap_ids": "src_nat_miss,dest_nat_miss",
"trap_group": "queue1_group2"
},
"sflow": {
"trap_group": "queue2_group1",
"trap_ids": "sample_packet"
}
}
}