- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Script to count ARP entries on all fw interfaces
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Script to count ARP entries on all fw interfaces
Recently I experienced a support ticket where ARP table of Firewall was full. It was a little confusing to get which interface was the one causing the issue since was necessary to verify interfaces one by one and customer had a lot of subinterface on multiple bonds.
So i decided to create a basic script to get all firewall interfaces (fw getifs) and count how many ARP entries are seen on each one (arp -a) ordered descending by number of entries. At the end it sums the total of ARP entries.
The script has a lot of room for improvement (validations also) and perhaps someone can convert to a one-liner.
Please note the following:
- The script does not consider local Proxy ARP entries (fw ctl arp)
- <incomplete> entries of arp command are also counted
- The source is defined for R80, feel free to change for a lower version.
Here is an output for the script:
0 Replies
