I had two issues with the show ip ospf neighbors command:
- It is not sorted by the OSPF process ID, so you get a mess if you have more than one OSPF process and don't specify the process ID in the show command
- It does not display the OSPF area the neighbor belongs to
- Download it from my web site.
- Copy the ospfNeighbors.tcl file to your router's flash (or NVRAM).
- Define an alias, for example alias exec ospf tclsh flash:ospfNeighbors.tcl.
a1#ospf
OSPF neighbors for process ID 1
Router ID Area State Address Interface
172.16.0.21 0 FULL 172.16.1.2 Serial0/0/0.100
172.16.0.12 0 FULL/DR 10.0.0.6 FastEthernet0/0
OSPF neighbors for process ID 2
Router ID Area State Address Interface
172.16.1.5 2 FULL 10.3.1.2 Serial0/1/0

0 comments:
Post a Comment
You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.