01-07-2021 05:27 PM
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?
Solved! Go to Solution.
01-07-2021 09:27 PM - edited 01-07-2021 09:29 PM
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
01-07-2021 09:27 PM - edited 01-07-2021 09:29 PM
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
02-07-2024 12:08 PM
Thanks
08-17-2023 11:36 PM
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
08-18-2023 12:36 AM
Hello!
The issue is in the privilege level of the user. Check the priv level of the user on each switch.
BR
05-05-2024 09:49 AM
pls verify once below privilege level is 15 or not
switch# config t
switch(config)# username admin privilege 15 secret password123
08-17-2023 11:46 PM
08-31-2023 05:57 AM
Hi, did you resolve this problem?
I have this same prolbem..only dashboard view
Can you help me with this?
09-02-2023 05:24 AM
Yes . this is the actual solution
09-02-2023 01:36 PM
Its the privilege level of your user.
BR
05-05-2024 09:50 AM
pls verify once below privilege level is 15 or not
username admin privilege 15 secret password123
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