Subject: Rare project developers
List archive
- From: mc36 <>
- To: Carmen Misa Moreira <>, , "" <>
- Subject: [rare-dev] clear access-list asdf...
- Date: Sun, 20 Mar 2022 22:37:45 +0100
hi,
with this small change i fulfilled the other bug we found during the
hackathon,
that is, clear access-list asdf did nothing to hardware counters:
https://github.com/mc36/freeRouter/commit/3299276b87a2ca14d39a65a655267a10aaf66c19
the rationale behind the commit is that we don't want to bother the dataplanes
to do clear clearing so when it comes to the hardware counters, we record the
current value and every time we have to print it out, we simple subtract the
last recorded value, if there was any....:)
ps: it was a pleasure to finally meet you in person, thank you all!
regards,
cs
r1#show access-list test4
tx rx timers
seq byte pack byte pack last timout cfg
10 0+0 0+0 640+640 10+10 00:00:09 00:00:00 1 2.2.2.104
255.255.255.255 all 2.2.2.106 255.255.255.255 all
20 0+0 0+0 1216+1238737 19+1180 00:00:09 00:00:00 all any all any
all
r1#clear access-list test4
r1#show access-list test4
tx rx timers
seq byte pack byte pack last timout cfg
10 0+0 0+0 0+0 0+0 never 00:00:00 1 2.2.2.104 255.255.255.255 all
2.2.2.106 255.255.255.255 all
20 0+0 0+0 0+0 0+0 never 00:00:00 all any all any all
r1#show access-list test4
tx rx timers
seq byte pack byte pack last timout cfg
10 0+0 0+0 0+0 0+0 never 00:00:00 1 2.2.2.104
255.255.255.255 all 2.2.2.106 255.255.255.255 all
20 0+0 0+0 0+136653 0+123 00:00:04 00:00:00 all any all any all
r1#
- [rare-dev] clear access-list asdf..., mc36, 03/20/2022
Archive powered by MHonArc 2.6.19.