I always use putty to connect to switches and save the session logs with no problem. Now I am using putty to connect to my new switches 2930F but when I save the session log the file has a somewhat encrypted parts. Attached the putty file when I issued the commands "show flash", "show version" and "show running-config".
I have tried with both ssh and telnet in to the switch, but both log files are the same.
Do I have to configure anything special on the switches?
Those weird outputs are terminal control commands, which are a remainder from the old (VT100) terminals. These codes move the cursor around, change text colors, and are used for some kind of formatting as good as it can get on the old terminals.
If you want to get rid of these codes, you can select in Putty to only log printable commands:
For most purposes that is easier. If you log to files and have large outputs, I think that you already found the command: "no page" which disables the pagination (-- MORE --, next page: Space, next line: Enter, quit: Control-C) thus need to press space all the time.
Thank you very much. I have tried by choosing Printable Output and the output is more readable, however, the commands output appear after the command and not in the next line, like this:
SW-CORE# SW-CORE# show flashImage Size (bytes) Date Version----------------- ------------ -------- --------------Primary Image : 25480797 09/12/16 KB.16.02.0013Secondary Image : 25480797 09/12/16 KB.16.02.0013
SW-CORE# show versionImage stamp: /ws/swbuildm/rel_spokane_qaoff/code/build/bom(swbuildm_rel_spokane_qaoff_rel_spokane)Sep 12 2016 11:47:57KB.16.02.0013528Boot Image: Primary
I guess there is no other solution. What do you think?
Are you saving the output to a drive mapped on the network?
Try saving it on c:\temp
I had also a strange output issue, and doing above worked.
EDIT: i see a solution is already there :)
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2020 Hewlett Packard Enterprise Development LPAll Rights Reserved.