# Enter system view.
<Sysname> system-view
# Configure the banner Welcome to be displayed when a user logs into the switch through Web.
[Sysname] header login %Welcome%
Assume that a route is available between the user terminal (the PC) and the switch. After the
above-mentioned configuration, if you enter the IP address of the switch in the address bar of the
browser running on the user terminal and press <Enter>, the browser will display the banner page, as
shown in
Figure
Figure 2-22 Banner page displayed when a user logs in to the switch through Web
Click <Continue> to enter user login authentication page. You will enter the main page of the
Web-based network management system if the authentication succeeds.
Enabling/Disabling the WEB Server
Follow these steps to enable/Disable the WEB Server:
To do...
Enter system view
Enable the Web server
Disable the Web server
To improve security and prevent attack to the unused Sockets, TCP 80 port (which is for HTTP service)
is enabled/disabled after the corresponding configuration.
Enabling the Web server (by using the undo ip http shutdown command) opens TCP 80 port.
Disabling the Web server (by using the ip http shutdown command) closes TCP 80 port.
2-22.
Use the command...
system-view
ip http shutdown
undo ip http shutdown
2-34
Remarks
—
Required
By default, the Web server is
enabled.
Required