You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@0ed93b5ee13c:/# show copp configuration detailed --trapid neighbor_miss
247
+
admin@sonic:~$ show copp configuration detailed --trapid neighbor_miss
247
248
Trap Group.................. queue1_group3
248
-
queue....................... 1
249
-
Trap Priority............... 1
250
249
Trap Action................. trap
251
-
Meter Type.................. packets
252
-
Mode........................ sr_tcm
250
+
Trap Priority............... 1
251
+
Queue....................... 1
253
252
CBS......................... 200
254
253
CIR......................... 200
255
-
Green Action................ forward
254
+
Meter Type.................. packets
255
+
Mode........................ sr_tcm
256
256
Yellow Action............... forward
257
+
Green Action................ forward
257
258
Red Action.................. drop
258
-
Oper Status................. not_installed
259
+
HW Status................... installed
259
260
260
-
root@0ed93b5ee13c:/# show copp configuration detailed --group queue1_group3
261
+
admin@sonic:~$ show copp configuration detailed --group queue1_group3
261
262
Trap Id(s).................. neighbor_miss
262
263
queue....................... 1
263
264
Trap Priority............... 1
@@ -282,7 +283,7 @@ No warmboot and fastboot impact is expected for this feature.
282
283
#### 12.1.1. SWSS Unit Test Cases
283
284
284
285
***Neighbor Miss default configuration verification:** Default copp group and trap configuration of neighbor miss will be added to test_copp.py to verify the default configuration.
285
-
***Trap oper_status verification:** Existing test cases currently verify trap configuration by SET/DEL on CONFIG_DB and vaidating the configuration by GET on ASIC_DB. These test cases will be extended to also verify the oper_status field in STATE_DB.
286
+
***Trap hw_status verification:** Existing test cases currently verify trap configuration by SET/DEL on CONFIG_DB and vaidating the configuration by GET on ASIC_DB. These test cases will be extended to also verify the hw_status field in STATE_DB.
286
287
***STATE_DB capability table verification:** New test cases will be added to verify the COPP_TRAP_CAPABILITY_TABLE table in STATE_DB. Test case will perform GET operation and verify trap_id_list field in the table is not empty.
287
288
288
289
#### 12.1.2. CLI UT Test Cases
@@ -295,4 +296,4 @@ No warmboot and fastboot impact is expected for this feature.
295
296
296
297
An existing test case in the sonic-mgmt PTF framework tests VLAN subnet route traffic policing under the default CoPP configuration.
297
298
298
-
A new test case will be introduced to verify the neighbor miss trap configuration with its default settings in copp_cfg.json using VLAN subnet route traffic. This test case will also update/empty/NULL configuration for neighbor miss in CONFIG_DB to override the default settings and verify the operational status of neighbor miss in the CLI output accordingly.
299
+
A new test case will be introduced to verify the neighbor miss trap configuration with its default settings in copp_cfg.json using VLAN subnet route traffic. This test case will also update/empty/NULL configuration for neighbor miss in CONFIG_DB to override the default settings and verify the operational status of neighbor miss in the CLI output accordingly.
0 commit comments