cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3829
Views
0
Helpful
4
Replies

Autobaud rate on a cisco switch console line

Olakunle
Level 1
Level 1

Hi,
Previously, I changed the WS-C3750-24PS-S switch console line baud rate to 57600. After I am done using this baud rate, I changed the switch baud rate back to 9600 using the commands

switch(config)# line console 0 switch(config-line)# speed 9600

and also try autobaud config using the commands

switch(config)# line console 0 switch(config-line)# autobaud

when the previous speed command didnt work. The problem is that the switch keeps changing the console line baud rate back to 57600 after every reload. How can I permanently enable autobaud rate on my WS-C3750-24PS-S switch console line to enable the switch to auto detect the pc terminal baud rate and to prevent the switch changing the console line baud rate back to 57600 after every reload.
Olakunle

4 Replies 4

Martin L
VIP
VIP

what's wrong with having faster speed of 57k or even 115k? Anyway, go to Switch mode, aka ROMMON of switch, (I call switch BIOS) by turning off switch; press and hold Mode button on switch and for 20seconds while powering switch back on. You should see cursor in form of "switch:   Use ? commands and Set command to navigate menu.  You can find this step by step in Cisco doc for your switch model password recovery or browse this forum.

Regards, ML
**Please Rate All Helpful Responses **

Hi Martin,

I have finally been able to reset the cisco 3750 switch baud rate to 9600 bps by following Mr Peter Paluch's post at
https://community.cisco.com/t5/switching/3750-recovery-baud-setting/td-p/1869826
and also shown below:

"The only thing that comes to my mind, then, is to try to execute this rather intrusive set of commands in the bootloader:

flash_init

delete flash:config.text

delete flash:private-config.text

set BAUD 9600

set (just verify if the BAUD variable currently holds the value of 9600)

set_bs bs: rw

set_param

reset

Please note that this sequence of commands will completely erase the configuration including RSA keys, possibly SDM templates etc."

The cisco 3750 switch UART baud rate is now reset to 9600 bps at every of the switch reloads. Thanks to Mr Peter Paluch and thank you too.

Olakunle.

I know this is already marked as solved, but I suspect your problem was in the config register. At the end of the output of "show version", you will see something like this.

Configuration register is 0x102

 I don't recall what the values are relating to baud rate. I do recall in routers that 0x2102 was normal and 0x2142 was 'ignore stored config' for password recovery. I have a vague recollection of the baud settings in the config register superseding the line level settings in the config.

Elliot,
According to this cisco website

https://www.cisco.com/c/en/us/support/docs/routers/10000-series-routers/50421-config-register-use.html

the configuration register for the router if set to 0x3122

• Ignores break

• Boots into ROM if initial boot fails

• use 57600 console baud rates

But for cisco switches, the configuration register value is permanently set to 0xF, which if set to 0xF causes the switch to boot from flash, and load the saved config.text file. Its like with the configuration register value of 0xF, the console line baud rate on the switch is also set to 9600. Its like since the switch config-reg is permanently set to 0xF, one is not allowed to change this value to anything else. Even if one changes it, the switch might still keep having the old baud rate value at every reload. So, using the config-reg command values to reset the switch baud rate at reload might not have been a viable option in the situation that I previously find myself in.