10-10-2013 10:50 AM - edited 03-07-2019 03:58 PM
Quick question and really maybe silly, but it's bugging me terribly.
When I SSH into my C3750-48PS switch, I get the weird "line 1" error immediately after connecting.
[kcox@gimli ~]$ ssh kcox@10.xx.xx.xx
Password:
HAUPPAUGE-SW-1 line 1
HAUPPAUGE-SW-1#
Am happy to post a copy of the config here, but it really is not much. Just trying to determine why I would get an error saying "line 1".
Maybe this will help?
line con 0
line vty 0 4
exec-timeout 15 0
privilege level 15
password 7 122F56050B185F073F39777A636470
length 0
transport input ssh
line vty 5 15
exec-timeout 15 0
privilege level 15
password 7 122F56050B185F073F39777A636470
transport input ssh
!
ntp authentication-key 1 md5 060D0D12486B5C1103 7
ntp authenticate
ntp trusted-key 1
ntp clock-period 36028787
ntp source Vlan128
ntp server 198.60.22.240 prefer
ntp server 10.80.254.1 key 1 prefer
end
Any ideas or suggestions are appreciated. The switch is running the following:
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 52 WS-C3750-48P 12.2(55)SE5 C3750-IPSERVICESK9-M
Solved! Go to Solution.
10-10-2013 12:45 PM
No sure if I understand the question correctly.
HAUPPAUGE-SW-1 line 1
Do you want to get rid of this message?
This is not an error message, this is produced by the "service linenumber".
You can disable it simply by "no service linenumber" in global configuration mode.
http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_r1.html#wp1013607
HTH
Rolf
10-10-2013 12:31 PM
not sure but maybe two options..
1. what privilege leve has your user? maybe that is a problem beause u say in the line confrig every user will have 15.
2. IOS BUG I dind't check now a newer one is 12.2.58 SE8 I guess..
this are two quick shots from me right now ,).
10-10-2013 12:45 PM
No sure if I understand the question correctly.
HAUPPAUGE-SW-1 line 1
Do you want to get rid of this message?
This is not an error message, this is produced by the "service linenumber".
You can disable it simply by "no service linenumber" in global configuration mode.
http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_r1.html#wp1013607
HTH
Rolf
10-10-2013 12:55 PM
Well.... crap. That was too stinking easy. I wish I had known about that.
I entered "no service linenumber" and the issue is gone.
Thanks much to all.
10-10-2013 01:00 PM
You're welcome!
One more note: You shouldn't post Type-7 passwords, this encryption type is very weak:
10-10-2013 01:19 PM
Agreed and understood. This is for a temp staging switch. Once I get it all cleaned off, everyone will be moving off and the settings will be changed.
Thanks again for the help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide