Displaying Web Users; Configuration Example - H3C S5120-SI Series Configuration Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

To do...
Specify the service types for
the local user
Start the Web server

Displaying Web Users

After the above configurations, execute the display command in any view to display the information
about Web users, and thus to verify the configuration effect.
Table 4-2 Display information about Web users
Display information about Web users

Configuration Example

Step 1: Log in to the switch through the console port and assign an IP address to the management
VLAN interface of the switch. By default, VLAN 1 is the management VLAN.
Connect to the console port. Refer to section
Execute the following commands in the terminal window to assign an IP address to the
management VLAN interface of the switch.
# Configure the IP address of the management VLAN interface to be 10.153.17.82 with the mask
255.255.255.0.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ip address 10.153.17.82 255.255.255.0
Step 2: Configure the user name and the password for the Web-based network management system.
# Configure the user name to be admin.
[Sysname] local-user admin
# Set the password to admin.
[Sysname-luser-admin] password simple admin
Step 3: Establish an HTTP connection between your PC and the switch, as shown in the following
figure.
Figure 4-1 Establish an HTTP connection between your PC and the switch
Use the command...
service-type telnet
ip http enable
To do...
4-2
Optional
By default, no service is
authorized to a user.
Required
Execute this command in
system view.
Use the command...
display web users
Setting Up the Connection to the Console
Remarks
Port.

Advertisement

Chapters

Table of Contents
loading

Table of Contents