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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| 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. |
| ||||
| 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. |