Firstly enable the web interface
<hpe>ip http enable
<hpe>save
Now we will enable telnet access
<hpe>system-view
<hpe>telnet server enable
<hpe>User-interface vty 0
<hpe>authentication-mode none
<hpe>user-role network-admin
Set up IP address for Ethernet management interface
<hpe>system-view
<hpe>interface M_GigabitEthernet0/0/0 ip address <IP> <SUBNET>
<hpe>save
Setup a user for the web interface
<hpe>local-user [USER]
<hpe>service-type telnet http https ssh terminal
<hpe>authorization-attribute user-role network-admin
<hpe>password simple [PASSWORD] <hpe>save <hpe>quit
Access the switch now with a web browser on the ip you specified