Configuring a Counter for Unicast Forward Packets
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/ipv4/inst.json
{ "ipv4Inst": { "children": [ { "ipv4IpPacketsPerSecond": { "attributes": { "ipPpsThresholdLogInterval": "45", "ipPpsThresholdSize": "17623", "ipPpsType": "unicastForward" }}}]}}
Response
{ imdata:[] }
Copy
<System> <ipv4-items> <inst-items> <pps-items> <IpPacketsPerSecond-list> <ipPpsType>unicastForward</ipPpsType> <ipPpsThresholdLogInterval>45</ipPpsThresholdLogInterval> <ipPpsThresholdSize>17623</ipPpsThresholdSize> </IpPacketsPerSecond-list> </pps-items> </inst-items> </ipv4-items> </System>