Reconfiguring the console/serial link settings

Use the following command to reconfigure the console/serial link settings:

console
[terminal <vt100|ansi|none>]
[screen-refresh <1|3|5|10|20|30|45|60]
[baud-rate <speed-sense|1200|2400|4800|9600|19200|38400|57600|1155200>]
[flow-control <xon/xoff|none>]
[idle-timeout <0-7200>]
[events [<none]|all|not-info|critical|debug>]
[local-terminal <vt100|none|ansi>]

Considerations for setting idle-timeout, baud rate, and flow control settings:

  • If the console idle-timeoutexpires, any outbound Telnet or SSH sessions open on the switch are terminated.

  • If you change the baud rate or flow control settings, you must make the corresponding changes in your console access device. Otherwise, you may lose connectivity between the switch and your terminal emulator due to differences between terminal and switch settings for these two parameters.

All console parameter changes except events require that you save the configuration with write memory and then execute boot before the new console configuration will take effect.

Switch models supporting redundant management, console settings, such as mode, flow-control, and baud-rate, are the same on both management modules. There cannot be individual settings for each management module.

This example (Executing a series of console commands) shows how to configure the switch with the following:
  • VT100 operation

  • 19,200 baud

  • No flow control

  • 600 second (10 minutes) idle timeout

  • Critical log events


switch(config)# console terminal vt100
This command will take effect after saving the
configuration and rebooting the system.

switch(config)# console baud-rate 19200
This command will take effect after saving the
configuration and rebooting the system.

switch(config)# console flow-control none
This command will take effect after saving the
configuration and rebooting the system.

switch(config)# console idle-timeout 600
switch(config)# console events critical
switch(config)# write memory
switch(config)# reload