|
Cisco Config Cookbook
Checkpoint SNMP accounting data
Resets the MAC/IP accounting counters to ZERO
1. Read the value of actCheckPoint (1.3.6.1.4.1.9.2.4.11)
snmpget -v 1 10.64.7.2 public .1.3.6.1.4.1.9.2.4.11.0
enterprises.9.2.4.11.0 = 0
2. Set the actCheckPoint to the value that was just read.
snmpset 10.64.7.2 private .1.3.6.1.4.1.9.2.4.11.0 i 0
enterprises.9.2.4.11.0 = 0
Note: The value of actCheckPoint increments by one, if the set is successful.
snmpget -v 1 10.64.7.2 public .1.3.6.1.4.1.9.2.4.11.0
enterprises.9.2.4.11.0 = 1
|