10-31-2011 07:34 AM - edited 03-07-2019 03:08 AM
didn't get the answer anywhere else, so please help.
Solved! Go to Solution.
10-31-2011 08:37 AM
Hi Arpit,
Refcount:
When a prefix is created, its reference is set to 1. And the last deletion/insertion prefix list's reference is incremented
by 1.
If a prefix list is referred by a routing process like "distribute-list prefix pl1 out", its reference is incremented by 1. The reference counter is a common concept of IOS. It shows how many objects uses the memory block. You can imagine that objects are functions like show commands and data structures like configurations.
Each entry's refcount is more complicated. Some entries refers other entries. This is because prefix-list entries form
a kind of tree data structure and some of entries cannot be deleted without changing links from child entries.
Hits: Preaty straightforward - number of times this prefix-list was called for action - hit.
Rate if this is what you searched for. Can help others further.
Nik,
10-31-2011 08:33 AM
Hi,
Hit count is how many times maches are found for this prefix in the prefix list.
Refcount is number of times list or seq is used in policy settings.
Best regards,
Alex
10-31-2011 09:55 AM
Hi Alex,
Thank you very much for your information...........it was really helpful
10-31-2011 08:37 AM
Hi Arpit,
Refcount:
When a prefix is created, its reference is set to 1. And the last deletion/insertion prefix list's reference is incremented
by 1.
If a prefix list is referred by a routing process like "distribute-list prefix pl1 out", its reference is incremented by 1. The reference counter is a common concept of IOS. It shows how many objects uses the memory block. You can imagine that objects are functions like show commands and data structures like configurations.
Each entry's refcount is more complicated. Some entries refers other entries. This is because prefix-list entries form
a kind of tree data structure and some of entries cannot be deleted without changing links from child entries.
Hits: Preaty straightforward - number of times this prefix-list was called for action - hit.
Rate if this is what you searched for. Can help others further.
Nik,
10-31-2011 09:56 AM
Hi Nik,
Thank you very much for your reply............it was simple and straightforward........thanks again.
12-21-2017 04:33 PM
Do you know of a reference with a good explanation for why the refcount is different among the entries in some lists? I know you touched on it, but I'm not really tracking why single lines would be referenced individually from the entire list.
05-13-2014 12:41 AM
Thanks for your explanation on hitcount, but how can I have a refcount of 0 then ?
seq 2000 permit 0.0.0.0/0 le 24 (hit count: 85589, refcount: 0)
Thanks
Thomas
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide