cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
29868
Views
13
Helpful
10
Replies

9200 Enable Web UI

I started working on a new project and have inherited a 9200. I have been working via the serial port but would like to enable the web UI and can't figure out how. Does anyone know the CLI commands for a 9200 to configure the web UI?

1 Accepted Solution

Accepted Solutions

TJ-20933766
Spotlight
Spotlight

Through the console CLI, you'll need to perform the following:

1. Create a user account used to authenticate to the switch (skip this if you already have one). Be sure to change admin and password123 to something different

switch# config t
switch(config)# username admin privilege 15 secret password123

2. Add an IP address to a VLAN. I'll use VLAN 1 as an example. Be sure to use an IP address that isn't used anywhere else in your environment.

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

3. Enable the web interface and set it to use the local user database for authentication

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

4. Now you should be able to put the VLAN interface IP address assigned earlier into your web browser and get to the web UI. You'll want to make sure that your computer is either on the same subnet and plugged into a port on the switch that is in the same VLAN as the VLAN interface. You can also set the default gateway so that you can access this switch from other subnets using the following command:

switch(config)# ip default-gateway 192.168.1.1

Please consider rating all posts that were helpful in answering your question

View solution in original post

10 Replies 10

TJ-20933766
Spotlight
Spotlight

Through the console CLI, you'll need to perform the following:

1. Create a user account used to authenticate to the switch (skip this if you already have one). Be sure to change admin and password123 to something different

switch# config t
switch(config)# username admin privilege 15 secret password123

2. Add an IP address to a VLAN. I'll use VLAN 1 as an example. Be sure to use an IP address that isn't used anywhere else in your environment.

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

3. Enable the web interface and set it to use the local user database for authentication

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

4. Now you should be able to put the VLAN interface IP address assigned earlier into your web browser and get to the web UI. You'll want to make sure that your computer is either on the same subnet and plugged into a port on the switch that is in the same VLAN as the VLAN interface. You can also set the default gateway so that you can access this switch from other subnets using the following command:

switch(config)# ip default-gateway 192.168.1.1

Please consider rating all posts that were helpful in answering your question

Thanks 

i have two cisco C9200l switch. First one show advance gui mode but the second one switch is showing dashboad and monitoring option. I have found below a difference in web view.
Would you please any solution

 

Hello! 


The issue is in the privilege level of the user. Check the priv level of the user on each switch.

BR

****Kindly rate all useful posts*****

pls verify once below privilege level is 15 or not 

switch# config t

switch(config)# username admin privilege 15 secret password123

Cisco Switch.jpg

Hi, did you resolve this problem?
I have this same prolbem..only dashboard view
Can you help me with this?

Yes . this is the actual solution

Its the privilege level of your user.

 

BR

****Kindly rate all useful posts*****

pls verify once below privilege level is 15 or not 

username admin privilege 15 secret password123

Review Cisco Networking for a $25 gift card