@@ -34,6 +34,7 @@ Table of Contents
34
34
* [ MAP_PFC_PRIORITY_TO_QUEUE] ( #map_pfc_priority_to_queue )
35
35
* [ NTP Global Configuration] ( #ntp-global-configuration )
36
36
* [ NTP and SYSLOG servers] ( #ntp-and-syslog-servers )
37
+ * [ Policer] ( #policer )
37
38
* [ Port] ( #port )
38
39
* [ Port Channel] ( #port-channel )
39
40
* [ Portchannel member] ( #portchannel-member )
@@ -1092,6 +1093,50 @@ attributes in those objects.
1092
1093
}
1093
1094
```
1094
1095
1096
+ ### Policer
1097
+
1098
+ Below is an example of the policer table configuration.
1099
+ ```
1100
+ {
1101
+ "POLICER": {
1102
+ "everflow_static_policer": {
1103
+ "meter_type": "bytes",
1104
+ "mode": "sr_tcm",
1105
+ "cir": "12500000",
1106
+ "cbs": "12500000",
1107
+ "pir": "17500000",
1108
+ "pbs": "17500000",
1109
+ "color": "aware",
1110
+ "red_packet_action": "drop",
1111
+ "yellow_packet_action": "drop"
1112
+ "green_packet_action": "forward"
1113
+ }
1114
+ }
1115
+ }
1116
+
1117
+ ```
1118
+ Key to the table defines policer name Below are the fields
1119
+ - meter_type - Mandatory field. Defines how the metering is done. values - bytes, packets
1120
+ - mode - Mandatory field. Defines one of the three modes support. values - sr_tcm, tr_tcm, storm
1121
+ - cir - Committed information rate bytes/sec or packets/sec based on meter_type
1122
+ - cbs - Committed burst size in bytes or packets based on meter_type
1123
+ - pir - Peak information rate in bytes/sec or packets/sec based on meter_type
1124
+ - pbs - Peak burst size in bytes or packets based on meter_type
1125
+ - color - Defines the color source for the policer. values - aware, blind
1126
+ - red_packet_action - Defines the action to be taken for red color packets
1127
+ - yellow_packet_action - Defines the action to be taken for yellow color packets
1128
+ - green_packet_action - Defines the action to be taken for green color packets.
1129
+
1130
+ The packet action could be:
1131
+
1132
+ - 'drop'
1133
+ - 'forward'
1134
+ - 'copy'
1135
+ - 'copy_cancel'
1136
+ - 'trap'
1137
+ - 'log'
1138
+ - 'deny'
1139
+ - 'transit'
1095
1140
### Port
1096
1141
1097
1142
In this table the physical port configurations are defined. Each object
0 commit comments