Symptom
"clear bfd statistics" command for ports on M3 line card not working and receive and transmitted counters are not cleared.
Conditions
"clear bfd statitics" command is not clearing the statistics for ports in M3 cards.
Workaround
When session is hardware offloaded(acp sessions), we have a bfd PD cli to clear the statistics. Attach to the LC where session is being hosted and issue "clear bfdc statistics ncp vdc "
ind17(config)# attach module 3
Attaching to module 3 ...
To exit type 'exit', to abort type '$.'
Last login: Fri May 26 08:39:37 UTC 2017 from 127.1.1.5 on pts/1
module-3# clear bfdc statistics ?
global Global
ncp Clear ncp stats
vdc Vdc
module-3# clear bfdc statistics ncp ?
global Global
vdc Vdc
module-3# clear bfdc statistics ncp vdc ?
Vdc number
module-3# clear bfdc statistics ncp vdc 1
Further Problem Description
Currently "clear bfd statistics" is clearing only non HW offloaded sessions.