blob: c0aad39ea193abd627fd9d91af61b411cae694d8 (
plain)
1
2
3
4
5
6
7
|
# meter xyz size 8192 { 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 ] ]
|