ScreenShots
Who's Online
We have 148 guests onlineMost Popular howTo's
Latest Posts
HowTo
Newest Downloads
| Cisco OSPF Expect Script |
| Linux HowTo's - Advance Linux HowTo's | ||||||||||||||||||||||||||||||
| Written by Keith Short | ||||||||||||||||||||||||||||||
| Tuesday, 08 September 2009 12:11 | ||||||||||||||||||||||||||||||
|
This Expect script takes as it's argument, the IP Address of an IOS device that is using AAA Authentication (Username/Password), and returns the OSPF Neighbors of the device.
Usage: ospf_neighbors_script ip address
The script also creates a file with the OSPF Neighbors in the directory it's run from. The format is "ip address-ospf_neighbors",
kshort@LinuxStudent:~$ ospf_neighbors_script 10.255.0.26
Username? kshort Password? Trying 192.168.0.26...
Connected to 192.168.0.26. Escape character is '^]'. User Access Verification Username: kshort Password: Test-Router#terminal length 0 Test-Router#sho ip ospf nei Neighbor ID Pri State Dead Time Address Interface 192.168.1.1 0 FULL/ - 00:00:38 192.168.0.85 Serial1/0.2 192.168.2.1 0 FULL/ - 00:00:38 192.168.0.25 Serial1/0.1 192.168.3.1 1 FULL/BDR 00:00:39 192.168.2.70 GigabitEthernet0/1 192.168.4.1 1 FULL/BDR 00:00:38 192.168.2.66 GigabitEthernet0/0 Test-Router#
Only registered users can write comments!
Powered by !JoomlaComment 3.22
3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."
|
||||||||||||||||||||||||||||||
| Last Updated on Thursday, 10 September 2009 09:27 |



Download get_ospf_neighbor
( Votes)








