User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
47
Switch(config)#ip http server
Step 2: Run HTTP protocol on the host.
Open the Web browser on the host and type the IP address of the switch, or run directly the
HTTP protocol on the Windows. For example, the IP address of the switch is “10.1.128.251”;
Fig 1-10 Run HTTP Protocol
When accessing a switch with IPv6 address, it is recommended to use the Firefox browser with
1.5 or later version. For example, if the IPv6 address of the switch is 3ffe:506:1:2::3. Input the IPv6
address of the switch is http://[3ffe:506:1:2::3] and the address should draw together with the square
brackets.
Step 3: Login to the switch.
Login to the Web configuration interface. Valid login name and password are required,
otherwise the switch will reject HTTP access. This is a method to protect the switch from
unauthorized access. As a result, when Telnet is enabled for configuring and managing the switch,
username and password for authorized Telnet users must be configured with the following command:
username <username> privilege <privilege> [password (0|7) <password>]. To open the local
authentication style with the following command: authentication line web login local. Privilege
option must exist and just is 15. Assume an authorized user in the switch has a username ofadmin,
and password of “admin”, the configuration procedure should like the following:
Switch>enable
Switch#config
Switch(config)#username admin privilege 15 password 0 admin
Switch(config)#authentication line web login local
The Web login interface of switch is as below: