cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3062
Views
1
Helpful
3
Replies

C1000 no web UI or 404 not found after write erase

ChrisAG
Level 1
Level 1

Hello, I have a new Catalyst C1000-24T-4G-L, running 15.2-7. I cannot seem to get the switch back into the mode where I can access the Web GUI/Configuration Wizard.

Out of the box I was able to utilize the Web GUI and go through the Configuration Wizard. I had made some unknown mistakes preventing me from accessing the switches webpages. So....

Since then, i have reset the switch utilizing the write erase commands and deleting the vlan configs. rebooting etc.

I've ran through the following script:https://www.cisco.com/c/en/us/td/docs/routers/access/1100/software/configuration/xe-16-10/cisco_1100_series_swcfg_xe_16_10_x/cisco_1100_series_swcfg_xe_16_10_x_chapter_011001.html to no avail.

When I type the web addresses "https://192.168.1.1/webui/#/dayZeroRouting" or "http://192.168.1.1/webui/#/dayZeroRouting" I get a 404 not found. (yes, I can ping the switch)

When I type 192.168.1.1, it continuously prompts me for credentials, which I enter as 'webui' and 'cisco'. See Capture.PNG

It seems as if the http package/gui is empty on the switch, but I don't understand how you would turn it or or enable it.

I saw a thread where a user had upgraded  their switch and couldn't reach the web gui, so the answer was to download a different image. But that seems odd to me it could be the answer since I haven't gone through any updates or downloaded a different firmware etc.

Any help would be greatly appreciated!!

 

Below is the config:

Switch#show config
Using 1822 out of 524288 bytes
!
! Last configuration change at 15:38:31 UTC Thu Aug 11 2022
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
username webui privilege 15 secret 9 $9$Y7yvhfhZR0Km2S$11qFLzI0yUPxW5/GAh6FRR5M4YIFN1ZsNnHfUh/AOR.
no aaa new-model
switch 1 provision c1000-24t-4g-l
system mtu routing 1500
ip dhcp excluded-address 192.168.1.1 192.168.1.5
!
ip dhcp pool WEBUIPool
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.1
!
!
!
!
!
!
!
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
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 Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
!
ip http server
ip http secure-server
!
!
!
!
line con 0
line vty 5 15
!
end

Switch#

3 Replies 3

Jitendra Kumar
Spotlight
Spotlight
delete /f /r flash:c1000-universalk9-mz.152-7.E*.bin
archive download-sw /leave flash:c1000-universalk9-tar.152-7.E5.tar

2nd command will unpack the HTML process will take time around 10 to 15 minutes.
once unpacking done reboot switch.
Thanks,
Jitendra

Hello,

since I do not see that in the configuration you have posted, do you have:

ip http authentication local

configured ?

amde
Level 1
Level 1

yes i had same problem. ip http authentication local was missing . after providing , i am able to access. thanks