HP (Hewlett-Packard) JD318B Switch User Manual


 
To do… Use the command… Remarks
Configure the HTTP service port
number
ip http port port-number
Optional
80 by default.
If you execute the command
multiple times, the last one takes
effect.
Associate the HTTP service with an
ACL
ip http acl acl-number
Optional
By default, the HTTP service is not
associated with any ACL.
Associating the HTTP service with
an ACL enables the device to allow
only clients permitted by the ACL to
access the device.
Create a local user and enter local
user view
local-user user-name
Required
By default, no local user is
configured.
Configure a password for the local
user
password { cipher | simple }
password
Required
By default, no password is
configured for the local user.
Specify the command level of the
local user
authorization-attribute level level
Required
No command level is configured
for the local user.
Specify the Telnet service type for
the local user
service-type telnet
Required
By default, no service type is
configured for the local user.
Exit to system view quit
Create a VLAN interface and enter
its view
interface vlan-interface
vlan-interface-id
Required
If the VLAN interface already
exists, the command enters its
view.
Assign an IP address and subnet
mask to the VLAN interface
ip address ip-address { mask |
mask-length }
Required
By default, no IP address is
assigned to the VLAN interface.
Configuring HTTPS login
Follow these steps to configure HTTPS login:
To do… Use the command… Remarks
Enter system view system-view
67