I currently have my routers sending the output from the "show ip ospf neighbor" command to syslog through an EEM applet, but I would like for syslog to change the ip addresses listed in the output to a name. I can list all of the ip addresses and names in a csv file, or format it any way that the program would require.
When I say change IP address to name, I don't necessarily mean the router sending the syslog message. I mean for the output to be listed with a hostname for both the originating router and the neighbor.
If this cannot be done in this way, any suggestion as to how I would accomplish this would be greatly appreciated.
Example:
current:
- Code: Select all
10.1.1.1 0 FULL/DROTHER 00:00:01 10.1.1.2 FastEthernet0/0
Desired:
- Code: Select all
SuperRouter 0 FULL/DROTHER 00:00:01 SuperRouter2 FastEthernet0/0