User's Manual
123
its configuration files, the Web visit cannot be directly applied on the switch. Perform the following steps one
by one to enable the Web visit on the switch:
1. Connect the console port of the switch with the accessory cable, or telnet to the management address of
the switch through the computer.
2. Enter the global configuration mode of the switch through the command line, the DOS prompt of which is
similar to “Switch_config#”.
3. If the management address of the switch is not configured, please create the VLAN interface and configure
the IP address.
4. Enter the ip http server command in global configuration mode and start the Web service.
5. Run username to set the username and password of the switch. For how to use this command, refer to the
“Security Configuration” section in the user manual.
After the above-mentioned steps are performed, you can enter the address of the switch in the Web browser
to access the switch.
6. Enter write to store the current configuration to the configuration file.
12.2 Accessing a Switch Through Secure Links
The data between the WEB browser and the switch will not be encrypted if you access a switch through
common HTTP. To encrypt these data, you can use the secure links, which are based on the secure sockets
layer, to access the switch.
To do this, you should follow the following steps:
1. Connect the console port of the switch with the accessory cable, or telnet to the management address of
the switch through the computer.
2. Enter the global configuration mode of the switch through the command line, the DOS prompt of which is
similar to “Switch_config#”.
3. If the management address of the switch is not configured, please create the VLAN interface and configure
the IP address.
4. Enter the ip http server command in global configuration mode and start the Web service.
5. Run username to set the username and password of the switch. For how to use this command, refer to the
“Security Configuration” section in the user manual.
6. Run ip http ssl-access enable to enable the secure link access of the switch.
7. Run no ip http http-access enable to forbid to access the switch through insecure links.
8. Enter write to store the current configuration to the configuration file.
9. Open the WEB browser on the PC that the switch connects, enter https://192.168.0.1 on the address bar
(192.168.0.1 stands for the management IP address of the switch) and then press the Enter key. Then the
switch can be accessed through the secure links.
12.3 Introduction of Web Interface
The Web homepage appears after login, as shown in figure 2: