www.doublefourteen.io/content/blog/peerindex-released.md

1.7 KiB

title mobile_menu_title date description series categories tags news_keywords
New Micro BGP Suite utility peerindex now released! New utility peerindex is out! 2021-07-27 The DoubleFourteen Code Forge is happy to announce that ubgpsuite has a new utility: peerindex!
ubgpsuite - The Micro BGP Suite
news
development
ubgpsuite
peerindex
bgpscanner
C Language
Networking
BGP
ubgpsuite
peerindex
bgpscanner

The Micro BGP Suite has a new utility: peerindex

I am happy to announce that µbgpsuite has a new tool in its arsenal, peerindex.

peerindex is a simple PEER INDEX TABLE inspection tool documented in its own gorgeous man page.

When implementing bgpgrep, I removed any functionality not strictly related to BGP filtering dump, this included the PEER INDEX TABLE inspection feature previously provided by bgpscanner, that is:

$ bgpscanner -f

This command used to display every PEER INDEX TABLE entry referenced by at least one RIB entry. It was a useful tool to quickly recognize which peers populated a RIB dump.

µbgpsuite will get a dedicated tool for this task, the main topic of this article: peerindex.

In addition to showing only the referenced peers inside PEER INDEX TABLE, it can also dump the full table as is.

Hint -- as always, you can get a convenient PDF version of the manual page, like this:

$ sed s/@UTILITY@/peerindex/g tools/peerindex/peerindex.1.in | groffer

Don't you love man pages? ☺

Enjoy, and happy hacking,

Lorenzo Cogotti