|
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",
Download get_ospf_neighbor | | File Title: | get_ospf_neighbor (Details) | | File Type: | exp | | File Version: | 1.0 | | File Size: | 1.57 Kb | | License: | | | File Author: | Keith Short | | File HomePage: | | | Downloads: | 24 | | Rating: | ( Votes) | | Your Vote: | |
| |
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#
|
|
Last Updated on Thursday, 10 September 2009 09:27 |
|
|
Linux HowTo's -
Advance Linux HowTo's
|
|
Written by linuxdynasty
|
|
Tuesday, 16 September 2008 14:20 |
|
The other day I had to come up with a way to transfer a Solaris Express nv97 DVD 3G image to remote locations while not using the network. The reason for this is, I needed to perform a LiveUpgrade on over 700 boxes and each being at a different locations. So I said to myself I guess I can put this image on a custom LiveDVD... But then I said to myself, which Linux LiveCD/DVD distro will I use???? It has to be small enough so that I can fit the Solaris Express nv97 image as well as the LiveCD Image.
|
|
Last Updated on Tuesday, 16 September 2008 22:41 |
|
Read more...
|
|
Linux HowTo's -
Advance Linux HowTo's
|
|
Written by Keith Short
|
|
Tuesday, 19 August 2008 12:40 |
|
This script will find a MAC address on a Cisco IOS based switch.
Here's what you'll see when the switch is successful and unsuccessful finding the MAC address.
Notice it prompts you for your username and password. This script is integrated with the Expect Telnet script on this site.
kshort@LinuxStudent:~$ ./findMACaddress_final 10.10.12.1 Enter the MAC Address? 0013.72fb.3050 Username? kshort Password? -------------------Here Are the The Results of Your Search------------------ vlan mac address type learn age ports ------+----------------+--------+-----+----------+-------------------------- Supervisor: * 95 0013.72fb.3050 dynamic Yes 65 Gi1/3
|
|
Last Updated on Wednesday, 02 September 2009 09:00 |
|
Read more...
|
|
|
Linux HowTo's -
Beginner Linux HowTo's
|
|
Written by Allen Sanabria
|
|
Wednesday, 13 August 2008 13:38 |
|
Another quick and dirty HowTo, this time we are showing you how to mount an ISO image under Linux. If you are just getting into Linux you will see that you will have to do this quite often as a Linux Admin/Engineer. In the example below I will use a CentOS ISO Image as an example.
|
|
Read more...
|
|
Linux HowTo's -
Linux Networking HowTo's
|
|
Written by Keith Short
|
|
Wednesday, 30 July 2008 06:59 |
|
This is a simple script written in Expectk. The purpose of this script is to allow entering the Telnet server name or address and the username/password combination (one time), then having the script open a telnet session, login to the Telnet server, then launch a telnet session from the telnet server to the device and drop you on a command prompt. As stated in the title, the prompts are what's to be - expected (get it, expected, Expect script? - ahh, forget it :) - from a Cisco IOS device using username/password authentication.
|
|
Last Updated on Wednesday, 30 July 2008 07:39 |
|
Read more...
|
|
|
|
|
<< Start < Prev 1 2 3 4 5 6 7 8 Next > End >>
|
|
Page 1 of 8 |