User Manual

53
Users Manual of XGS-6350-24X4C
Ip http port number Modifies the port number of the http
service.
c) Configuring the access passward of the http service
Http uses enable as the access password. You need to set the password enable if you want to perform
authentication for http access. The password enable is set in global configuration mode using the
following command:
Command Function
Enable password {0|7} line
Sets the password enable.
d) Specifying the access control list for the http service
To control the host’s access to http server, you can specify the access control list for http service. To
specify an access control list, use the following command in global configuration mode:
Command Function
ip http access-class STRING Specifies an access control list for the
http service.
4.1.3.2 Examples to http configuration
The following example uses default port (80) as the http service port, and the access address is limited to
192.168.20.0/24:
ip acl configuration:
ip access-list standard http-acl
permit 192.168.20.0 255.255.255.0
global configuration:
ip http access-class http-acl
ip http server
Terminal Configuration
4.2
4.2.1 VTY Configuration Introduction
The system uses the line command to configure terminal parameters. Through the command, you can
configure the width and height that the terminal displays.
4.2.2 Configuration Task
The system has four types of lines: console, aid, asynchronous and virtual terminal. Different systems have
different numbers of lines of these types. Refer to the following software and hardware configuration guide for
the proper configuration.