Unix Technical Forum

how to get a file from the Switch6509 back to Unix server ?

This is a discussion on how to get a file from the Switch6509 back to Unix server ? within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi all, This question is related to Cisco Catalyst6509 and AIX Server. what i'd like to do is: from ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:09 AM
Tony
 
Posts: n/a
Default how to get a file from the Switch6509 back to Unix server ?

Hi all,

This question is related to Cisco Catalyst6509 and AIX Server.
what i'd like to do is:
from the AIX Server, i telnet to the switch, run show command on the
switch, then output to the file, then get the file back to AIX server.
do you know how to get the AIX 5L 5.3 server talks to the
switch(Cat6509) then output all the info to the file and save this file
on AIX server ?
thanks
Tony

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 10:10 AM
steven_nospam at Yahoo! Canada
 
Posts: n/a
Default Re: how to get a file from the Switch6509 back to Unix server ?


Tony wrote:
> Hi all,
>
> This question is related to Cisco Catalyst6509 and AIX Server.
> what i'd like to do is:
> from the AIX Server, i telnet to the switch, run show command on the
> switch, then output to the file, then get the file back to AIX server.
> do you know how to get the AIX 5L 5.3 server talks to the
> switch(Cat6509) then output all the info to the file and save this file
> on AIX server ?
> thanks
> Tony


If all you want is to capture the settings on your Catalyst (In ASCII
text) then you can try this from your AIX server:

# The command below assumes that your IP address for the Catalyst 6509
is entered
# in the /etc/hosts file and assigned a name "cat6509"

telnet cat6509 | tee -a /tmp/catalyst6509.info

Simply issue your "show" commands and whatever is displayed on the
screen will also get saved to a text file called
/tmp/catalyst6509.info. Keep in mind that your login details will be
there too, and any typos you make so you may have to go back and
"pretty" it up.

Steve

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 10:10 AM
Alex van Denzel
 
Posts: n/a
Default Re: how to get a file from the Switch6509 back to Unix server ?

Tony wrote:
> This question is related to Cisco Catalyst6509 and AIX Server.
> what i'd like to do is:
> from the AIX Server, i telnet to the switch, run show command on the
> switch, then output to the file, then get the file back to AIX server.
> do you know how to get the AIX 5L 5.3 server talks to the
> switch(Cat6509) then output all the info to the file and save this file
> on AIX server ?


Are you running CatOS or IOS?

With IOS, if you want to save the running-config or startup-config to a
server, you make sure the TFTP server is running, and then issue a "copy
running-config tftp" and answer the questions. The location where the
files are put depends on the TFTP configuration.

I don't know about CatOS.

--
Alex.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 10:11 AM
Tony
 
Posts: n/a
Default Re: how to get a file from the Switch6509 back to Unix server ?

Hi Steve and Alex

your solutions work! well done!
thanks alot for your help.
to answer Alex's question, i use CatOS
cheers
Tony





Alex van Denzel wrote:

> Tony wrote:
> > This question is related to Cisco Catalyst6509 and AIX Server.
> > what i'd like to do is:
> > from the AIX Server, i telnet to the switch, run show command on the
> > switch, then output to the file, then get the file back to AIX server.
> > do you know how to get the AIX 5L 5.3 server talks to the
> > switch(Cat6509) then output all the info to the file and save this file
> > on AIX server ?

>
> Are you running CatOS or IOS?
>
> With IOS, if you want to save the running-config or startup-config to a
> server, you make sure the TFTP server is running, and then issue a "copy
> running-config tftp" and answer the questions. The location where the
> files are put depends on the TFTP configuration.
>
> I don't know about CatOS.
>
> --
> Alex.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:20 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com