sensor routraf4
path routraf4/peer/peer
prefix freertr-routraf4
key name routraf4/peer
command sho ipv4 counter inet
prepend routed_traffic4_
name 0 prefix=
replace \. _
replace \/ _
column 1 name pack
column 1 split + typ="sw" typ="hw"
column 2 name byte
column 2 split + typ="sw" typ="hw"
.
exit

sensor routraf6
path routraf6/peer/peer
prefix freertr-routraf6
key name routraf6/peer
command sho ipv6 counter inet
prepend routed_traffic6_
name 0 prefix=
replace \. _
replace \/ _
column 1 name pack
column 1 split + typ="sw" typ="hw"
column 2 name byte
column 2 split + typ="sw" typ="hw"
.
exit
