#1
|
|||
|
|||
Chang Serial Speed "on The Fly"
Hey.
Is it possible to change the speed of the serial port during the session using Script? I want to transfer a file to a Cisco switch using Xmodem. Before I do that, I change the speed of the switch. When I lose it, and then have to click on the menu: Session, Session Options, Connection, Serial and here change the baud rate to 115200. When the script is finished, both are reset to 9600. On the switch I run this command config terminal, Line con 0, Rxspeed 115200. What is the easiest way to change the speed of SecureCRT. The switch has no IP and the only chance I have to access the switch is via console and Serial I have SecureCRT ver 6.7. Jens |
#2
|
|||
|
|||
Hi Jens,
Thanks for the question. Have you considered using SessionConfiguration object? For example: Code:
crt.Session.Config.SetOption "Baud Rate", "115200" |
#3
|
|||
|
|||
![]()
Hey Todd. Thanks for the advice. It worked exactly as planned! Thanks for your help. I did not know there was a configuration object
![]() ![]() |
#4
|
|||
|
|||
You are welcome Jens. Thanks for the update. I am glad I could help.
As a note to all reading this, and yourself, a list of all SecureCRT API objects, methods and properties (including how to use them) can be found in the SecureCRT help file in the Scripting / Script Objects Reference chapter. |
![]() |
Tags |
baud , change , script , speed |
Thread Tools | |
Display Modes | Rate This Thread |
|
|