11-18-2020 07:35 AM
Hello,
Im having issues logging in through the management port on the front of the 2960x.
Current config FA0 port config:
Building configuration... Current configuration : 72 bytes ! interface FastEthernet0 ip address 192.168.200.11 255.255.255.0 end
I have setup two users that i want to use for testing the logging in function. Can someone tell me what I am doing wrong or haven't done as far as setup is concerned? The switch is currently plugged into my desktop directly through the management port with me controlling it through the console connection. When I SSH to the switches management IP i get presented with a login, i type in the right username/password but comes back and tells me invalid.
Please help.
Solved! Go to Solution.
11-18-2020 09:28 AM
specify login local on your vty lines
11-18-2020 08:39 AM
Hello,
does a TELNET session through the management port work ? Post the full running config, you might have missed something when setting up SSH access.
11-18-2020 09:23 AM
Hello Georg,
Telnet says "Password required but no password set" i did not set a password on the line con 0 4 because i want to use SSH.
Here is the config:
Current configuration : 4268 bytes ! ! Last configuration change at 03:53:42 UTC Thu Apr 13 2000 ! version 15.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname DMZ-Switch ! boot-start-marker boot-end-marker ! ! no aaa new-model switch 1 provision ws-c2960x-48fps-l ! ! ! ! ! ! vtp domain VTPDOMAIN vtp mode transparent ! ! ! ! ! ! ! crypto pki trustpoint TP-self-signed-2896057728 enrollment selfsigned subject-name cn=IOS-Self-Signed-Certificate-2896057728 revocation-check none rsakeypair TP-self-signed-2896057728 ! ! crypto pki certificate chain TP-self-signed-2896057728 certificate self-signed 01 3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274 69666963 6174652D 32383936 30353737 3238301E 170D3030 30343133 30373031 32385A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 38393630 35373732 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281 8100A5C9 69A985B6 20EBB36E 3B06FD1F 4D7FFE26 783EB623 688C7016 1AC684AE 55155080 0D79F00D DDF71D3C 3A29E3C0 24F0073D 56E94CFB 9F0704DD A1EB08D3 4CA3438B 30AF957E 4F1DD8B7 BFAB5064 C7477EA7 1D47B688 0B8469DD 00FD41BE FE7ABB1B 299DCFAE 3C03BA23 087BB0F1 3D7643D7 0D946EEE 2B8F72B8 3CD474E0 344D0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603 551D2304 18301680 14052E8B 9A67600D D97C4884 50562C08 78F0E709 33301D06 03551D0E 04160414 052E8B9A 67600DD9 7C488450 562C0878 F0E70933 300D0609 2A864886 F70D0101 05050003 8181005B 9419E804 7CF756DF BD25422D CA4200EF CE2D43FC 9B5A90F9 CC7C7295 C68D8AC4 7A0EF4FD 363D63E8 1C140316 17172C94 297F8A94 CCB26456 A8D9BDB9 512ECFA9 806B847C 3CA226DE 179A6537 CF54F188 BC36D99A 6E0D8D34 8F031531 D89C7708 FA90F476 192E48AD 0F8C6C90 663DD6CA A5EE3FD9 7D1D60D8 5D26F534 0EA2BA quit ! spanning-tree mode rapid-pvst spanning-tree extend system-id ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0 ip address 192.168.200.11 255.255.255.0 no ip route-cache ! interface GigabitEthernet1/0/1 ! interface GigabitEthernet1/0/2 ! interface GigabitEthernet1/0/3 ! interface GigabitEthernet1/0/4 ! interface GigabitEthernet1/0/5 ! interface GigabitEthernet1/0/6 ! interface GigabitEthernet1/0/7 ! interface GigabitEthernet1/0/8 ! interface GigabitEthernet1/0/9 ! interface GigabitEthernet1/0/10 ! interface GigabitEthernet1/0/11 ! interface GigabitEthernet1/0/12 ! interface GigabitEthernet1/0/13 ! interface GigabitEthernet1/0/14 ! interface GigabitEthernet1/0/15 ! interface GigabitEthernet1/0/16 ! interface GigabitEthernet1/0/17 ! interface GigabitEthernet1/0/18 ! interface GigabitEthernet1/0/19 ! interface GigabitEthernet1/0/20 ! interface GigabitEthernet1/0/21 ! interface GigabitEthernet1/0/22 ! interface GigabitEthernet1/0/23 ! interface GigabitEthernet1/0/24 ! interface GigabitEthernet1/0/25 ! interface GigabitEthernet1/0/26 ! interface GigabitEthernet1/0/27 ! interface GigabitEthernet1/0/28 ! interface GigabitEthernet1/0/29 ! interface GigabitEthernet1/0/30 ! interface GigabitEthernet1/0/31 ! interface GigabitEthernet1/0/32 ! interface GigabitEthernet1/0/33 ! interface GigabitEthernet1/0/34 ! interface GigabitEthernet1/0/35 ! interface GigabitEthernet1/0/36 ! interface GigabitEthernet1/0/37 ! interface GigabitEthernet1/0/38 ! interface GigabitEthernet1/0/39 ! interface GigabitEthernet1/0/40 ! interface GigabitEthernet1/0/41 ! interface GigabitEthernet1/0/42 ! interface GigabitEthernet1/0/43 ! interface GigabitEthernet1/0/44 ! interface GigabitEthernet1/0/45 ! interface GigabitEthernet1/0/46 ! interface GigabitEthernet1/0/47 ! interface GigabitEthernet1/0/48 ! interface GigabitEthernet1/0/49 ! interface GigabitEthernet1/0/50 ! interface GigabitEthernet1/0/51 ! interface GigabitEthernet1/0/52 ! interface Vlan1 no ip address no ip route-cache shutdown ! ! ip http server ip http secure-server ! ! ! ! line con 0 login local line vty 0 4 login line vty 5 15 login ! ! end
Thanks for the help.
11-18-2020 09:28 AM
specify login local on your vty lines
11-18-2020 09:33 AM
Thanks for the help, i totally over looked it and thought i did that.
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