Re: How to create shortcuts in SecureCRT for each router?

From: Dale Shaw <dale.shaw_at_gmail.com>
Date: Tue, 7 Apr 2009 10:12:55 +1000

On Tue, Apr 7, 2009 at 12:42 AM, Peter Kurdziel <usaccie_at_gmail.com> wrote:
> The only thing I used was copying while hold the ALT key.
> This is allow you to copy a section of text.

This is handy when building a complete list of interface IP addresses
assigned to your lab devices.

In my home lab I use a single telnet session to my TS, ^^x'ing between
sessions. I do:

R1#sh ip int brie | e unass
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.10.1.1 YES manual up up
Serial0/0/0 172.16.13.1 YES manual up up
Loopback0 192.168.1.1 YES manual up up
R1#
TS>2
[Resuming connection 2 to r2 ... ]

R2#sh ip int brie | e unass
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 172.16.27.2 YES manual up up
Serial0/0/0.1 172.16.0.2 YES manual up up
Loopback0 192.168.2.2 YES manual up up
R2#
TS>3
[Resuming connection 3 to r3 ... ]

R3#sh ip int brie | e unass
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 172.16.38.3 YES manual up up
FastEthernet0/1 172.16.3.3 YES manual up up
Serial0/0/0 172.16.0.3 YES manual up up
Serial0/1/0 172.16.13.3 YES manual up up
Loopback0 192.168.3.3 YES manual up up
R3#

..and so on.

Then I alt-select all the IP addresses in one go, trim off the cruft
in between, and voila! a complete list of IP addresses ready to feed
into a TCL ping/reachability script. For some reason the column
spacing used on the catalysts is slightly different, so I do R1-R6,
then SW1-SW4 separately.

In the real lab, with separate reverse telnet sessions directly to
each device's console, you won't be able to do this. I guess you could
close down these sessions then access them from a single session to
the TS, but by the time you've done that you probably could've
copy/pasted from each session separately.

cheers,
Dale

Blogs and organic groups at http://www.ccie.net
Received on Tue Apr 07 2009 - 10:12:55 ART

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:11 ART