Re: Scripts!!!! and no budget!!!

2000-10-04 Thread Brian


many ways to do this.

if they will enable rsh or ssh on the routersthen this can be very
easy.  You just use a simple script and rsh the commands.

Otherwise I would use perl and some of the Cisco perl libraries out there.

My last resort would be to use "expect", or opening a filehandle to a
telnet process connected to the router.

If they would just give you an SNMP Read Only access then you could get
alot of this information just by doing snmp queries..once again in a
scripted language such as Perl.

On Tue, 3 Oct 2000, Cthulu, CCIE Candidate wrote:

 Hi, all,
 
 I am currently on an interesting assignment where I have to pull routing
 information and address information off of about 200-300 routers or switches
 with router on a stick installed...without using ANY form of network
 management software, and using only USER level access.
 
 The information I need to know is:
 
 -what interfaces are using used   (show ip interface brief)
 -what addresses are on this interfaces (show ip address brief)
 - what routing protocols are being used (show ip protocol summary)
 - what are this's router's neigbhors (show cdp neighbor)
 -what are this router's routing protocol neighbors (use commands such as
 show ip bgp neighbor, show ip ospf neig)
 
 
 
 So, armed only with telnet, a non-enable capable user account/password, and
 my wits (stop laughing, Chuck!), I have to cull this information, and using
 that d*mned visio, make a big picture.  After that, I must take the big
 picture, and make address modifications, etc. to "improve stuff", then work
 with a team to implement this new architecture.  This organization does not
 have a consistent or clear picture of its network, but needs it for the
 major league changes it must make.
 
 
 So, my choices are to manually log onto each device, cull the information,
 or come up with a script that would log onto each device, run these
 commands, and turn on teh capture text feature of whatever terminal program
 (telnet client) I am using, and output to a simple little text file named
 after the router which has just been accessed.  Is Procomm Plus a good fit
 here?  Can I buy/download that off the web?
 
 
 My problem is I am script impaired;  I have searched the Cisco/groupstudy
 websites, and can not find any references to help me build this script.  ANy
 links would be appreciated.  I do not have any UNIX workstations available
 to me... only Windows 95 on a
 ;(
 
 TIA,
 
 Charles
 
 
 
 
 
 
 **NOTE: New CCNA/CCDA List has been formed. For more information go to
 http://www.groupstudy.com/list/Associates.html
 _
 UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
 FAQ, list archives, and subscription info: http://www.groupstudy.com
 Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
 

---
Brian Feeny, CCNP, CCDA   [EMAIL PROTECTED]   
Network Administrator 
ShreveNet Inc. (ASN 11881)

**NOTE: New CCNA/CCDA List has been formed. For more information go to
http://www.groupstudy.com/list/Associates.html
_
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



RE: Scripts!!!! and no budget!!!

2000-10-04 Thread Gabriel . Neagoe

one idea to build your network is to use HP OpenView Network Node Manager
downloadable for free (60 days trial) at
http://www.openview.hp.com
It will draw the network map and give you plenty of information if you have
snmp enabled on the equipment



---
Gabriel Neagoe, GN379-RIPE
Networking solutions consultant
Cisco Certified Network Professional
Cisco Certified Design Associate
ST Romania
tel: +401 20 40 300
fax: +401 20 40 310
---

 -Original Message-
 From: Brian [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, October 04, 2000 7:23 AM
 To:   Cthulu, CCIE Candidate
 Cc:   [EMAIL PROTECTED]
 Subject:  Re: Scripts  and no budget!!!
 
 
 many ways to do this.
 
 if they will enable rsh or ssh on the routersthen this can be very
 easy.  You just use a simple script and rsh the commands.
 
 Otherwise I would use perl and some of the Cisco perl libraries out there.
 
 My last resort would be to use "expect", or opening a filehandle to a
 telnet process connected to the router.
 
 If they would just give you an SNMP Read Only access then you could get
 alot of this information just by doing snmp queries..once again in a
 scripted language such as Perl.
 
 On Tue, 3 Oct 2000, Cthulu, CCIE Candidate wrote:
 
  Hi, all,
  
  I am currently on an interesting assignment where I have to pull routing
  information and address information off of about 200-300 routers or
 switches
  with router on a stick installed...without using ANY form of network
  management software, and using only USER level access.
  
  The information I need to know is:
  
  -what interfaces are using used   (show ip interface brief)
  -what addresses are on this interfaces (show ip address brief)
  - what routing protocols are being used (show ip protocol summary)
  - what are this's router's neigbhors (show cdp neighbor)
  -what are this router's routing protocol neighbors (use commands such as
  show ip bgp neighbor, show ip ospf neig)
  
  
  
  So, armed only with telnet, a non-enable capable user account/password,
 and
  my wits (stop laughing, Chuck!), I have to cull this information, and
 using
  that d*mned visio, make a big picture.  After that, I must take the big
  picture, and make address modifications, etc. to "improve stuff", then
 work
  with a team to implement this new architecture.  This organization does
 not
  have a consistent or clear picture of its network, but needs it for the
  major league changes it must make.
  
  
  So, my choices are to manually log onto each device, cull the
 information,
  or come up with a script that would log onto each device, run these
  commands, and turn on teh capture text feature of whatever terminal
 program
  (telnet client) I am using, and output to a simple little text file
 named
  after the router which has just been accessed.  Is Procomm Plus a good
 fit
  here?  Can I buy/download that off the web?
  
  
  My problem is I am script impaired;  I have searched the
 Cisco/groupstudy
  websites, and can not find any references to help me build this script.
 ANy
  links would be appreciated.  I do not have any UNIX workstations
 available
  to me... only Windows 95 on a
  ;(
  
  TIA,
  
  Charles
  
  
  
  
  
  
  **NOTE: New CCNA/CCDA List has been formed. For more information go to
  http://www.groupstudy.com/list/Associates.html
  _
  UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
  FAQ, list archives, and subscription info: http://www.groupstudy.com
  Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
  
 
 ---
 Brian Feeny, CCNP, CCDA   [EMAIL PROTECTED]   
 Network Administrator   
 ShreveNet Inc. (ASN 11881)  
 
 **NOTE: New CCNA/CCDA List has been formed. For more information go to
 http://www.groupstudy.com/list/Associates.html
 _
 UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
 FAQ, list archives, and subscription info: http://www.groupstudy.com
 Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

**NOTE: New CCNA/CCDA List has been formed. For more information go to
http://www.groupstudy.com/list/Associates.html
_
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Scripts!!!! and no budget!!!

2000-10-03 Thread Cthulu, CCIE Candidate

Hi, all,

I am currently on an interesting assignment where I have to pull routing
information and address information off of about 200-300 routers or switches
with router on a stick installed...without using ANY form of network
management software, and using only USER level access.

The information I need to know is:

-what interfaces are using used   (show ip interface brief)
-what addresses are on this interfaces (show ip address brief)
- what routing protocols are being used (show ip protocol summary)
- what are this's router's neigbhors (show cdp neighbor)
-what are this router's routing protocol neighbors (use commands such as
show ip bgp neighbor, show ip ospf neig)



So, armed only with telnet, a non-enable capable user account/password, and
my wits (stop laughing, Chuck!), I have to cull this information, and using
that d*mned visio, make a big picture.  After that, I must take the big
picture, and make address modifications, etc. to "improve stuff", then work
with a team to implement this new architecture.  This organization does not
have a consistent or clear picture of its network, but needs it for the
major league changes it must make.


So, my choices are to manually log onto each device, cull the information,
or come up with a script that would log onto each device, run these
commands, and turn on teh capture text feature of whatever terminal program
(telnet client) I am using, and output to a simple little text file named
after the router which has just been accessed.  Is Procomm Plus a good fit
here?  Can I buy/download that off the web?


My problem is I am script impaired;  I have searched the Cisco/groupstudy
websites, and can not find any references to help me build this script.  ANy
links would be appreciated.  I do not have any UNIX workstations available
to me... only Windows 95 on a
;(

TIA,

Charles






**NOTE: New CCNA/CCDA List has been formed. For more information go to
http://www.groupstudy.com/list/Associates.html
_
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Re: Scripts!!!! and no budget!!!

2000-10-03 Thread Phillip Heller

Purchase a ~$10/month shell script, and investigate expect.  Autoexpect is
another utility to look into.

--phil

On Tue, 3 Oct 2000, Cthulu, CCIE Candidate wrote:

Hi, all,

I am currently on an interesting assignment where I have to pull routing
information and address information off of about 200-300 routers or switches
with router on a stick installed...without using ANY form of network
management software, and using only USER level access.


**NOTE: New CCNA/CCDA List has been formed. For more information go to
http://www.groupstudy.com/list/Associates.html
_
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]