blob: 34a584994b64bf1d7b06e3189f2f41f2a99e2ce4 (
plain)
1
2
3
4
5
6
7
|
# meter xyz { ip saddr timeout 30s counter}
xyz test-ip 31
xyz test-ip 0
ip test-ip input
[ payload load 4b @ network header + 12 => reg 1 ]
[ dynset update reg_key 1 set xyz timeout 30000ms expr [ counter pkts 0 bytes 0 ] ]
|