cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
40092
Views
14
Helpful
2
Replies

C9200 webui user password

ahmed
Level 1
Level 1

Hi all,

 

i have many new 9200 IOS XE 16.12, as i read in guide i just need to plug laptop with ethernet cable to one of ethernet port of the switch, then will get dhcp ip then just open https://192.168.1.1. but in fact i need to console the switch then command no shut of vlan1 interface (when i console it, i found that vlan1 which has ip address 192.168.1.1 was in shutdown state).

then after i can open webui, i cannot use username : webui, and password : serial number of chassis, i tried others username and password i found in many guide of catalyst and still failed. 

please help me how to make login to webui.

 

 

regards,

 

Ahmed

1 Accepted Solution

Accepted Solutions

TJ-20933766
Spotlight
Spotlight

To get to the web interface:

1. Use a console cable to connect to the switch

2. Enter config t and configure a VLAN interface with an IP address not used anywhere else on your network and ensure that it is enabled

Switch# config t
Switch(config)# interface vlan 1 Switch(config-if)# ip address 192.168.1.10 255.255.255.0 Switch(config-if)# no shutdown
Switch(config-if)# exit
Switch(config)#

3. Create a username and password (replace "admin" and "password123" with something unique)

Switch(config)# username admin priv 15 secret password123

4. Enable the web interface and use the local user database for authentication

Switch(config)# ip http server
Switch(config)# ip http secure-server
Switch(config)# ip http authentication local

5. If your computer is on the same VLAN as the switch with an IP address within the same subnet, you should be able to put the IP address of the switch into your web browser and continue the configuration via the web interface. If you need to access this switch from another network, add the default gateway for the VLAN.

Switch(config)# ip default-gateway 192.168.1.1

View solution in original post

2 Replies 2

TJ-20933766
Spotlight
Spotlight

To get to the web interface:

1. Use a console cable to connect to the switch

2. Enter config t and configure a VLAN interface with an IP address not used anywhere else on your network and ensure that it is enabled

Switch# config t
Switch(config)# interface vlan 1 Switch(config-if)# ip address 192.168.1.10 255.255.255.0 Switch(config-if)# no shutdown
Switch(config-if)# exit
Switch(config)#

3. Create a username and password (replace "admin" and "password123" with something unique)

Switch(config)# username admin priv 15 secret password123

4. Enable the web interface and use the local user database for authentication

Switch(config)# ip http server
Switch(config)# ip http secure-server
Switch(config)# ip http authentication local

5. If your computer is on the same VLAN as the switch with an IP address within the same subnet, you should be able to put the IP address of the switch into your web browser and continue the configuration via the web interface. If you need to access this switch from another network, add the default gateway for the VLAN.

Switch(config)# ip default-gateway 192.168.1.1

balaji.bandi
Hall of Fame
Hall of Fame

is this is Zero day

 

Enter the Day 0 username webui and password serial number of the switch. Note that the serial number is case sensitive.

 

also try

 

For Cisco Catalyst switches running software version Cisco IOS XE Amsterdam 17.1.x, the default username is webui; the default password is cisco.

 

follow below guide :

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9200/hardware/install/b-c9200-hig/b-c9200l-hig_chapter_0110.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card