Redirecting the show interfaces command to a text file

Answered Question
Nov 3rd, 2008

How would i go about redirecting the show interfaces command to a text file from my catalyst 4500 switch?

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 8 years 1 month ago

Okay, which ssh client you do use. I use putty and it has an option to copy all to clipboard so you could just connect and run your command then copy to clipboard and paste into a text file.

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Jon Marshall Mon, 11/03/2008 - 15:28

If you have hyperterm on your PC/laptop there is an easy way to do this. Connect with hyperterm using TCP/IP to your 4500 switch.

Then along the menu at the top of the hyperterm window

Transfer -> Capture Text

you will be prompted for a file to save the text to. Once you've entered the file name you then run your command "sh interfaces" then go back to Transfer -> Capture Text and then select Stop.

The output will be in your saved file.

If you don't have hyperterm i can upload a Windows version.

Jon

medinabr22 Tue, 11/04/2008 - 14:07

Thanks for the info, but unfortunately we don't allow that across our network. We have our switches configured to only allow SSH over the netork.

Is there a way I can tftp it somehow? I have a tftp app on my pc.

Correct Answer
Jon Marshall Tue, 11/04/2008 - 14:11

Okay, which ssh client you do use. I use putty and it has an option to copy all to clipboard so you could just connect and run your command then copy to clipboard and paste into a text file.

Jon

medinabr22 Tue, 11/04/2008 - 14:14

I use putty as well. I'll give it a shot, but these commands give a lot of info, so I hope I can get it all.

THANKS!

Actions

This Discussion