cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2326
Views
0
Helpful
5
Replies

Default terminal settings on 2960 switch

BigDawgFelton
Level 1
Level 1

Hey Guys,

I have been asked to troubleshoot an issue where information that is being copy and pasted to a new switch is getting garbled. This only happens if a lot of information is sent to the switch at once and it might only happen on a line or two. After a little digging into the switch I found that the switch by default is set to use 2 StopBits and not the default of 1. Please see below for my output of show terminal.

 

Switch#show terminal

Line 0, Location: "", Type: ""

Length: 24 lines, Width: 80 columns

Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits

Status: PSI Enabled, Ready, Active, Ctrl-c Enabled, Automore On

  0x40000

Capabilities: none

Modem state: Ready

Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation

                ^^x    none   -     -       none

Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch

               00:10:00        never                        none     not set

                            Idle Session Disconnect Warning

                              never

                            Login-sequence User Response

                             00:00:30

                            Autoselect Initial Wait

                              not set

Modem type is unknown.

Session limit is not set.

Time since activation: 00:16:47

Editing is enabled.

History is enabled, history size is 20.

DNS resolution in show commands is enabled

Full user help is disabled

Allowed input transports are none.

Allowed output transports are telnet ssh.

Preferred transport is telnet.

Shell: enabled

Shell trace: off

No output characters are padded

No special data dispatching characters

                

It is like this on two different switches I have looked at. I can't assume it is supposed to be like this. I assume it should be set at 1 when it comes direct from the factory.

Please see below for my version. Could this be a bug?

Switch#show version
Cisco IOS Software, C2960 Software (C2960-LANLITEK9-M), Version 12.2(50)SE5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 28-Sep-10 13:44 by prod_rel_team
Image text-base: 0x00003000, data-base: 0x01200000

ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(44r)SE4, RELEASE SOFTWARE (fc1)

Switch uptime is 19 minutes
System returned to ROM by power-on
System image file is "flash:c2960-lanlitek9-mz.122-50.SE5/c2960-lanlitek9-mz.122-50.SE5.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco WS-C2960-24-S (PowerPC405) processor (revision M0) with 65536K bytes of memory.
Processor board ID FCQ1619Y421
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
The password-recovery mechanism is enabled.

64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : F4:7F:35:6A:6D:80
Motherboard assembly number     : 73-11471-10
Power supply part number        : 341-0097-03
Motherboard serial number       : FCQ161808UJ
Power supply serial number      : ALD1615B1PP
Model revision number           : M0
Motherboard revision number     : A0
Model number                    : WS-C2960-24-S
System serial number            : FCQ1619Y421
Top Assembly Part Number        : 800-29858-05
Top Assembly Revision Number    : C0
Version ID                      : V07
CLEI Code Number                : COMCW00ARB
Hardware Board Revision Number  : 0x01


Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 24    WS-C2960-24-S      12.2(50)SE5           C2960-LANLITEK9-M


Configuration register is 0xF

I am looking into if we have any agreements with Cisco so I can open up a TAC case. Not sure of that yet. I just wanted to see if anyone on here could point me in the right direction. Maybe i'm totally off but it just doesn't seem right that information gets garbled when copying and pasting to a switch. Esspecially when it is very inconsistent. Also note I am using the default Cisco settings when I connect to the switch and have tried with both Putty and Teraterm Pro.

Thanks in advance, Elton

5 Replies 5

John Blakley
VIP Alumni
VIP Alumni

Elton,

Interestingly enough, I've looked at the console on a 3745 and a 2811 and they both are set to 2 stop bits.

Line 0, Location: "", Type: ""

Length: 24 lines, Width: 80 columns

Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits

Status: Ready

Capabilities: none

Modem state: Ready

Modem hardware state: noCTS noDSR  DTR RTS

Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation

                ^^x    none   -     -       none

Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch

                never         never                        none     not set

                            Idle Session Disconnect Warning

                              never

                            Login-sequence User Response

                             00:00:30

                            Autoselect Initial Wait

                              not set

I've not changed any of these and they are default. I wonder if you were to change the stopbit on yours to 1 if it would help your issue. As a side note, you may want to ensure that you don't have flow control set on your serial connection either. You'll also want to ensure that you have your baud rate set the same as the switch which is 9600.

HTH,

John

HTH, John *** Please rate all useful posts ***

BigDawgFelton
Level 1
Level 1

Very weird. I have read some things from Cisco online and it says that the stop bit is defaulted to 2. I still can't find much information on it to confirm.

Sent from Cisco Technical Support iPhone App

mikegrous
Level 3
Level 3

Maybe only a work around but what if you telnet to it and paste your config in via telnet..

If there is no config

Add a ip on vlan 1

give a enable PW

and VTY PW

then plug in with a laptop and telnet in.

BigDawgFelton
Level 1
Level 1

The problem is there aren't our switches. We do batches of them for customers based on their configuration files. Some lines are getting left out as they get corrupted as they get pasted into the switch. I just assumed it was a terminal mismatch as I have seen weird things happen like this when it's entered too fast or when both sides don't match.

Can anyone else confirm their switches are also set to 2 stopbits. It it is truly the default I will move on and try to find another answer.

Sent from Cisco Technical Support iPhone App

I have had this issue when pasting too much config..

Have you tried pasting half the config at once? Or less?

http://www.cisco.com/en/US/docs/ios/12_3/configfun/command/reference/cfr_1g12.html#wp1030481

From what i see stop bits is default to 2

What happens when you set it to 1?

Also found this

http://tekcert.com/blog/2007/05/17/pasting-configuration-cisco-deviceserror-free

Review Cisco Networking products for a $25 gift card