sensor ldp4sum
path ldp4sum/peer/peer
prefix freertr-ldp4sum
key name ldp4sum/peer
command sho ipv4 ldp inet summary
prepend ldp4_
name 6 ip=
skip 2
replace \. _
column 0 name prefix_learn
column 1 name prefix_advert
column 2 name layer2_learn
column 3 name layer2_advert
column 4 name p2mp_learn
column 5 name p2mp_advert
.
exit

sensor ldp6sum
path ldp6sum/peer/peer
prefix freertr-ldp6sum
key name ldp6sum/peer
command sho ipv6 ldp inet summary
prepend ldp6_
name 6 ip=
skip 2
replace \: _
column 0 name prefix_learn
column 1 name prefix_advert
column 2 name layer2_learn
column 3 name layer2_advert
column 4 name p2mp_learn
column 5 name p2mp_advert
.
exit
