02-16-2017 02:59 PM - edited 03-08-2019 09:22 AM
Could someone give me a few ideas on a problem that just started.
Just bought a 3850 12XS, updated to software to Denali 16.3.2.
Logged into the WebUI. Got in fine with the default username and password. Just browsing the pages. I must have changed something because when I tried to login later it says
"Wrong Credentials. Please Login again."
I didn't think I changed anything but I must have.
Is there a way to reset the username and password or figure out what it might have changed too?
I logged into the USB management port and found the lvl15 username and password but it still does not work.
Solved! Go to Solution.
02-16-2017 03:53 PM
Hi
If you are using local credentials configure these lines and try again:
no aaa new-model
ip http authentication local
Hope it is useful
:-)
02-16-2017 03:53 PM
Hi
If you are using local credentials configure these lines and try again:
no aaa new-model
ip http authentication local
Hope it is useful
:-)
02-17-2017 06:58 AM
Thanks. Didn't seem to help.
This is the error message using Putty connected to the USB port when I try to open the WebUI in a browser. There is no Administrator user that I can see configured.
%WEBSERVER-5-LOGIN_FAILED:Switch 1 R0/0: : Login Un-Succe ssful from host 10.0.0.192 by user 'Administrator'
Since I just started this whole process, whats the best way to clear everything and reset the switch to factory defaults?
Thanks so much for your help
02-17-2017 08:07 AM
Hi
Try creating an admin user, example:
conf t
username Cisco privi 15 password Test123
02-17-2017 08:40 AM
So I reset the switch to factory settings. assigned ip address etc.
The webpage again came right up. This time I added a new user. Saved Logged out
Tried to log back in with new user and it fails. It also seems slow opening the webUI, where before it opened in a snap.
here's the config, if you see anything.
version 16.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-recovery
no platform punt-keepalive disable-kernel-core
!
hostname Switch
!
!
vrf definition Mgmt-vrf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
enable secret 5 $1$WNBu$kTI/VV6QIburvSdQ0Jgl4/
!
no aaa new-model
facility-alarm critical exceed-action shutdown
switch 1 provision ws-c3850-12xs
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
license boot level ipbasek9
diagnostic bootup level minimal
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
!
username GW privilege 15 secret 9 $9$2lMG2FIM3l6F4.$ZZsJsNc76/mgsN2jsa8AA5vhX2kRSaKzL0sCHVYdBP.
!
redundancy
mode sso
!
!
!
class-map match-any system-cpp-police-topology-control
description Topology control
class-map match-any system-cpp-police-sw-forward
description Sw forwarding, SGT Cache Full, LOGGING
class-map match-any system-cpp-default
description DHCP snooping, show forward and rest of traffic
class-map match-any system-cpp-police-sys-data
description Learning cache ovfl, Crypto Control, Exception, EGR Exception, NFL SAMPLED DATA, Gold Pkt, RPF Failed
class-map match-any system-cpp-police-punt-webauth
description Punt Webauth
class-map match-any system-cpp-police-forus
description Forus Address resolution and Forus traffic
class-map match-any system-cpp-police-multicast-end-station
description MCAST END STATION
class-map match-any system-cpp-police-multicast
description Transit Traffic and MCAST Data
class-map match-any system-cpp-police-l2-control
description L2 control
class-map match-any system-cpp-police-dot1x-auth
description DOT1X Auth
class-map match-any system-cpp-police-data
description ICMP_GEN and BROADCAST
class-map match-any system-cpp-police-control-low-priority
description ICMP redirect and general punt
class-map match-any system-cpp-police-wireless-priority1
description Wireless priority 1
class-map match-any system-cpp-police-wireless-priority2
description Wireless priority 2
class-map match-any system-cpp-police-wireless-priority3-4-5
description Wireless priority 3,4 and 5
class-map match-any non-client-nrt-class
class-map match-any system-cpp-police-routing-control
description Routing control
class-map match-any system-cpp-police-protocol-snooping
description Protocol snooping
!
policy-map port_child_policy
class non-client-nrt-class
bandwidth remaining ratio 10
policy-map system-cpp-policy
class system-cpp-police-data
police rate 200 pps
class system-cpp-police-sys-data
police rate 100 pps
class system-cpp-police-sw-forward
police rate 1000 pps
class system-cpp-police-multicast
police rate 500 pps
class system-cpp-police-multicast-end-station
police rate 2000 pps
class system-cpp-police-punt-webauth
class system-cpp-police-l2-control
class system-cpp-police-routing-control
police rate 1800 pps
class system-cpp-police-control-low-priority
class system-cpp-police-wireless-priority1
class system-cpp-police-wireless-priority2
class system-cpp-police-wireless-priority3-4-5
class system-cpp-police-topology-control
class system-cpp-police-dot1x-auth
class system-cpp-police-protocol-snooping
class system-cpp-police-forus
class system-cpp-default
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
ip address 10.0.0.167 255.255.0.0
negotiation auto
!
interface TenGigabitEthernet1/0/1
!
interface TenGigabitEthernet1/0/2
!
interface TenGigabitEthernet1/0/3
!
interface TenGigabitEthernet1/0/4
!
interface TenGigabitEthernet1/0/5
!
interface TenGigabitEthernet1/0/6
!
interface TenGigabitEthernet1/0/7
!
interface TenGigabitEthernet1/0/8
!
interface TenGigabitEthernet1/0/9
!
interface TenGigabitEthernet1/0/10
!
interface TenGigabitEthernet1/0/11
!
interface TenGigabitEthernet1/0/12
!
interface TenGigabitEthernet1/1/1
!
interface TenGigabitEthernet1/1/2
!
interface TenGigabitEthernet1/1/3
!
interface TenGigabitEthernet1/1/4
!
interface Vlan1
ip address 10.0.0.76 255.255.0.0
!
ip default-gateway 10.0.0.1
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
!
ip access-list extended AutoQos-4.0-wlan-Acl-Bulk-Data
permit tcp any any eq 22
permit tcp any any eq 465
permit tcp any any eq 143
permit tcp any any eq 993
permit tcp any any eq 995
permit tcp any any eq 1914
permit tcp any any eq ftp
permit tcp any any eq ftp-data
permit tcp any any eq smtp
permit tcp any any eq pop3
ip access-list extended AutoQos-4.0-wlan-Acl-MultiEnhanced-Conf
permit udp any any range 16384 32767
permit tcp any any range 50000 59999
ip access-list extended AutoQos-4.0-wlan-Acl-Scavanger
permit tcp any any range 2300 2400
permit udp any any range 2300 2400
permit tcp any any range 6881 6999
permit tcp any any range 28800 29100
permit tcp any any eq 1214
permit udp any any eq 1214
permit tcp any any eq 3689
permit udp any any eq 3689
permit tcp any any eq 11999
ip access-list extended AutoQos-4.0-wlan-Acl-Signaling
permit tcp any any range 2000 2002
permit tcp any any range 5060 5061
permit udp any any range 5060 5061
ip access-list extended AutoQos-4.0-wlan-Acl-Transactional-Data
permit tcp any any eq 443
permit tcp any any eq 1521
permit udp any any eq 1521
permit tcp any any eq 1526
permit udp any any eq 1526
permit tcp any any eq 1575
permit udp any any eq 1575
permit tcp any any eq 1630
permit udp any any eq 1630
permit tcp any any eq 1527
permit tcp any any eq 6200
permit tcp any any eq 3389
permit tcp any any eq 5985
permit tcp any any eq 8080
!
!
!
control-plane
service-policy input system-cpp-policy
!
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
line vty 5 15
login
!
!
!
!
!
!
!
ap dot11 airtime-fairness policy-name Default 0
ap group default-group
ap hyperlocation ble-beacon 0
ap hyperlocation ble-beacon 1
ap hyperlocation ble-beacon 2
ap hyperlocation ble-beacon 3
ap hyperlocation ble-beacon 4
end
Switch#
02-17-2017 08:53 AM
It looks fine,have you tried with other browser?
http://www.cisco.com/c/en/us/td/docs/ios/12_2/configfun/configuration/guide/ffun_c/fcf005.html
02-17-2017 11:02 AM
Thanks so much Julio.
I tried multiple browsers on different computers. No joy.
so bizarre... I'll keep trying. When I open the WebUI for the first time it works great. There must be a parameter that's changing.
12-01-2021 11:47 PM
Thanks Community !
I tried with CiscoCSR1000v16.9.6; the webserver login credentials work in chrome browser but not in IE
02-18-2020 03:47 PM
Thanks!
09-03-2020 09:03 AM
Thank you, I was having the same problem because i had started configuring the switch from console.
Adding user worked for me.
06-16-2023 04:14 AM
Hi correctly will be:
conf t
username Cisco privi password 0 Test123
end
wr
01-20-2021 09:29 PM
Good day,
I have a problem with the WebUI login. I have new Cisco Catalyst 3850 24. I just unboxed it. When I try to put the Login and Password I have getting the error "Wrong Credentials. Please Login again." I tried to put to username "webui" and password "S/N of the switch" and username "webui" and pass "cisco", but I cannot login.
11-26-2019 09:01 AM
so i have the same issue, what i can tell so far, is that something triggers when i make a change to the "ip http...." commands,
every time i change something on a command that starts like that then it lets me back into the GUI,
so far my best guess is that when you log out, the user is flagged as "logged out" once the switch detects that the user logged out, it seems to start a timer for "anti-logging spam" something along the lines of "you just logged out so i lock that account down for a while to prevent user spamming logins", this seems to be the symptoms, becuase when i leave the office and i try again the next day, then i can log in to the gui no problem, also if i try again by lunch time, i can get back in,
consider the following
i have aaa new-model enabled
ip http authen local
the ssh is fine, i can get in and out no problem, so this is a webgui issue and think it may be only a gui rule somewhere or part of the micro code
i have 3 different usernames with the same priv level and differnt passwords, so i believe tghe GUI itself locks down for a while
when you just logged out. i dont know 100%
11-26-2019 09:58 AM
04-01-2021 09:42 AM
resolved!
had same problem on WS-C3850-12S
disabled, re-enabled http service and got it working - weird one!
(config)#no ip http secure-server
(config)#ip http secure-server
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