Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
70
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command enables the HTTP server function. The HTTPs access interface is separately controlled by
SSL commands.
Example
This example shows how to enable the HTTP server.
Switch# configure terminal
Switch(config)# ip http server
Switch(config)#
5-4 ip http secure-server
This command is used to enable the HTTPS server. Use the ip http secure-server ssl-service-policy
command to specify which SSL service policy is used for HTTPS. Use the no command to disable the
HTTPS server function.
ip http secure-server [ssl-service-policy POLICY-NAME]
no ip http secure-server
Parameters
POLICY-NAME (Optional) Specifies the SSL service policy name. Use this ssl-
service-policy keyword only if you have already declared an SSL
service policy using the ssl-service-policy command. When no
keyword is specified, a built-in local certificate will be used for HTTPS.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command enables the HTTPS server function and uses the specified SSL service policy for HTTPS.
Example
This example shows how to enable the HTTPS server function and use the service policy called “sp1” for
HTTPS.
Switch# configure terminal
Switch(config)# ip http secure-server ssl-service-policy sp1
Switch(config)#