Options
Help can't access my 2950 CLI
thehourman
Member Posts: 723
in CCNA & CCENT
*I powered on my 2950 switch and enter some basic commands and saved them. Today, when I turned on the 2950(to do some lab practices) and my netbook can't access the CLI thru the console port using TeraTerm, the teraterm opens just fine, but I can't type a thing. I can see the cursor and I am using the right COM number.
Does anyone know how to fix this?
Thanks
[FONT="][/FONT]
Does anyone know how to fix this?
Thanks
[FONT="][/FONT]
Studying:
Working on CCNA: Security. Start date: 12.28.10
Microsoft 70-640 - on hold (This is not taking me anywhere. I started this in October, and it is December now, I am still on page 221. WTH!)
Reading:
Network Warrior - Currently at Part II
Reading IPv6 Essentials 2nd Edition - on hold
Working on CCNA: Security. Start date: 12.28.10
Microsoft 70-640 - on hold (This is not taking me anywhere. I started this in October, and it is December now, I am still on page 221. WTH!)
Reading:
Network Warrior - Currently at Part II
Reading IPv6 Essentials 2nd Edition - on hold
Comments
-
OptionsCiskHo Member Posts: 188Have you confirmed that the baud rate matches up between the terminal program settings and the switch's console port? Normally it would be 9600 but I don't know if you have changed that.My Lab Gear:
2811(+SW/POE/ABGwifi/DOCSIS) - 3560G-24-EI - 3550-12G - 3550POE - (2) 2950G-24 - 7206VXR - 2651XM - (2) 2611XM - 1760 - (2) CP-7940G - ESXi Server
Just Finished: RHCT (1/8/11) and CCNA:S (Fall 2010)
Prepping For: VCP and CCNP SWITCH, ROUTE, TSHOOT -
OptionsDilbert65 Member Posts: 73 ■■□□□□□□□□also check to make sure your flow control and pick none if that is a option or xon/off. That and baud rate are the normal main reasons you cant connect via console.
-
Optionsthehourman Member Posts: 723OK it seems to work now.
What I did I unplugged the switch, while the TeraTerm is on, and replugged it back.
Now, I can see something on the Teraterm and it seems to be working back to normal.
Do I have to turn on TeraTerm before I turn on the switch to access the CLI?
I am using the USB to Serial, if that helps.Studying:
Working on CCNA: Security. Start date: 12.28.10
Microsoft 70-640 - on hold (This is not taking me anywhere. I started this in October, and it is December now, I am still on page 221. WTH!)
Reading:
Network Warrior - Currently at Part II
Reading IPv6 Essentials 2nd Edition - on hold -
OptionsCiskHo Member Posts: 188thehourman wrote: »OK it seems to work now.
What I did I unplugged the switch, while the TeraTerm is on, and replugged it back.thehourman wrote: »Do I have to turn on TeraTerm before I turn on the switch to access the CLI? I am using the USB to Serial, if that helps.My Lab Gear:
2811(+SW/POE/ABGwifi/DOCSIS) - 3560G-24-EI - 3550-12G - 3550POE - (2) 2950G-24 - 7206VXR - 2651XM - (2) 2611XM - 1760 - (2) CP-7940G - ESXi Server
Just Finished: RHCT (1/8/11) and CCNA:S (Fall 2010)
Prepping For: VCP and CCNP SWITCH, ROUTE, TSHOOT -
OptionsDilbert65 Member Posts: 73 ■■□□□□□□□□You shouldn't but with a usb to serial converter I have seen some odd things compared to a real serial port. IE the port just wont connect like it is locked up. I have to fully reboot the computer with a power down to get the usb to free up. I got tired of the usb and dug out a old win98 laptop that I use for my serial connections when I am in the lab.
I finally got a 2509 term server so I can telent from my regular laptop and roam the house to find a quiet spot. -
Optionsthehourman Member Posts: 723Is your configuration still there? Curious if you had saved the config with "copy run start" or "write".
I've never used teraterm but any program that would require you to turn the switch off in order to access the CLI is seriously flawed. I doubt that was the issue. Maybe you had a loose adapter cable or you mistakenly changed the switches baud rate to a value other than what was set on the terminal program, then didn't save it. Power cycling the switch would have changed the setting back to the settings listed after the last "copy run start" or "write".
I double checked the cable before I made this thread.
@Dilbert65
I have no choice I don't have an old PC or any PC that has serial connection.Studying:
Working on CCNA: Security. Start date: 12.28.10
Microsoft 70-640 - on hold (This is not taking me anywhere. I started this in October, and it is December now, I am still on page 221. WTH!)
Reading:
Network Warrior - Currently at Part II
Reading IPv6 Essentials 2nd Edition - on hold -
OptionsCiskHo Member Posts: 188Well, as long as the baud rates match, the stop bits are set to none, and the com port is available then it should connect. Even if the switch was stuck in ROMMON you would still see something on the terminal screen. Had to be a mismatch of settings, a loose cable, or an adapter issue. I can't think of anything else that would cause no response.... unless the switch's power cable was disconnected
Glad its back up now though
PS - Sometimes you need to double check which COM port the USB adapter is really mapped to under Windows Device Manager (COM settings). It changes sometimes if the adapter is unplugged or maybe even after hibernating or going into suspend mode. Depends on if/when the PC was rebooted, etc.My Lab Gear:
2811(+SW/POE/ABGwifi/DOCSIS) - 3560G-24-EI - 3550-12G - 3550POE - (2) 2950G-24 - 7206VXR - 2651XM - (2) 2611XM - 1760 - (2) CP-7940G - ESXi Server
Just Finished: RHCT (1/8/11) and CCNA:S (Fall 2010)
Prepping For: VCP and CCNP SWITCH, ROUTE, TSHOOT -
Optionsthehourman Member Posts: 723the switch was on, weird.
Also, how do you disconnect from your switch console after you finish your setup?
Do you just close the terminal?Studying:
Working on CCNA: Security. Start date: 12.28.10
Microsoft 70-640 - on hold (This is not taking me anywhere. I started this in October, and it is December now, I am still on page 221. WTH!)
Reading:
Network Warrior - Currently at Part II
Reading IPv6 Essentials 2nd Edition - on hold -
OptionsCiskHo Member Posts: 188thehourman wrote: »Also, how do you disconnect from your switch console after you finish your setup?
Do you just close the terminal?
I type "exit" in the CLI (just in case "exec-timeout" has not been set) which logs you off. But all you really need to do is unplug your cable or close the terminal app. You don't need to do anything "special". If your device has a connection to and can be accessed from the WAN then you may want to configure "exec-timeout x x" so that the device automatically closes the VTY connection after being idle for a set period of time. This prevents unauthorized people from logging into a VTY line that has been left in enable mode, etc. (I think).My Lab Gear:
2811(+SW/POE/ABGwifi/DOCSIS) - 3560G-24-EI - 3550-12G - 3550POE - (2) 2950G-24 - 7206VXR - 2651XM - (2) 2611XM - 1760 - (2) CP-7940G - ESXi Server
Just Finished: RHCT (1/8/11) and CCNA:S (Fall 2010)
Prepping For: VCP and CCNP SWITCH, ROUTE, TSHOOT -
Optionsthehourman Member Posts: 723OK thanksStudying:
Working on CCNA: Security. Start date: 12.28.10
Microsoft 70-640 - on hold (This is not taking me anywhere. I started this in October, and it is December now, I am still on page 221. WTH!)
Reading:
Network Warrior - Currently at Part II
Reading IPv6 Essentials 2nd Edition - on hold -
Optionscaptobvious Member Posts: 648This prevents unauthorized people from logging into a VTY line that has been left in enable mode, etc. (I think).
JK -
OptionsCiskHo Member Posts: 188captobvious wrote: »Who took your CCNA:S test for you?
JK
FWIW, I'm usually fine with that stuff if I have a few minutes to think about it. However, I usually don't put that much effort into forum responses while I am at work. Hopefully, I didn't lead the OP in the wrong direction! Maybe I should have said console line instead of VTY... The console is still a security hole for me as I have a PC with VNC connected to my device 24/7 and accessible from the WAN. Break my dinky VNC password and the device is accessible to a hacker...which is why I was thinking about the exec-timeout command. I have a habit of not logging off the console connection myself.My Lab Gear:
2811(+SW/POE/ABGwifi/DOCSIS) - 3560G-24-EI - 3550-12G - 3550POE - (2) 2950G-24 - 7206VXR - 2651XM - (2) 2611XM - 1760 - (2) CP-7940G - ESXi Server
Just Finished: RHCT (1/8/11) and CCNA:S (Fall 2010)
Prepping For: VCP and CCNP SWITCH, ROUTE, TSHOOT -
Optionsthehourman Member Posts: 723exec-timeout is 5 minutes by default, right?
I set my 2 minutes.
What exactly is logging synchronous?
It does not explained very well in Odom's book ICND1.Studying:
Working on CCNA: Security. Start date: 12.28.10
Microsoft 70-640 - on hold (This is not taking me anywhere. I started this in October, and it is December now, I am still on page 221. WTH!)
Reading:
Network Warrior - Currently at Part II
Reading IPv6 Essentials 2nd Edition - on hold -
OptionsCiskHo Member Posts: 188thehourman wrote: »exec-timeout is 5 minutes by default, right?thehourman wrote: »What exactly is logging synchronous?
It does not explained very well in Odom's book ICND1.
I suggest using that command on all console and vty lines. It helps keep things looking "clean" especially if you are running debugs or are monitoring something on the terminal (like interface flaps, routing updates, etc).
CCNA Portable Command Guide defines it as: Appends the command line to a new line - no interruption from info items.My Lab Gear:
2811(+SW/POE/ABGwifi/DOCSIS) - 3560G-24-EI - 3550-12G - 3550POE - (2) 2950G-24 - 7206VXR - 2651XM - (2) 2611XM - 1760 - (2) CP-7940G - ESXi Server
Just Finished: RHCT (1/8/11) and CCNA:S (Fall 2010)
Prepping For: VCP and CCNP SWITCH, ROUTE, TSHOOT -
Optionsthehourman Member Posts: 723Do I have to type some subcommand before I execute the command logging synchronous?
The reason I asked is when I typed logging synchronous ? it gave me 3-4 more options. I don't know what they do though.Studying:
Working on CCNA: Security. Start date: 12.28.10
Microsoft 70-640 - on hold (This is not taking me anywhere. I started this in October, and it is December now, I am still on page 221. WTH!)
Reading:
Network Warrior - Currently at Part II
Reading IPv6 Essentials 2nd Edition - on hold -
OptionsCiskHo Member Posts: 188thehourman wrote: »Do I have to type some subcommand before I execute the command logging synchronous?
The reason I asked is when I typed logging synchronous ? it gave me 3-4 more options. I don't know what they do though.My Lab Gear:
2811(+SW/POE/ABGwifi/DOCSIS) - 3560G-24-EI - 3550-12G - 3550POE - (2) 2950G-24 - 7206VXR - 2651XM - (2) 2611XM - 1760 - (2) CP-7940G - ESXi Server
Just Finished: RHCT (1/8/11) and CCNA:S (Fall 2010)
Prepping For: VCP and CCNP SWITCH, ROUTE, TSHOOT