beautypg.com

Set http server – Allied Telesis AT-S60 User Manual

Page 239

background image

AT-S60 Command Line User’s Guide

237

SET HTTP SERVER

Syntax

set http server [security=enabled|disabled]
[sslkey=key-id] [port=port]

Parameters

security

Specifies whether or not security is implemented on
the switch when it is configured as an HTTP server.
Possible settings are:

enabled

Specifies that the server accepts
only SSL connections using HTTPS.

disabled

Specifies that the server accepts
only HTTP connections.

sslkey

Specifies a private key ID. Required if security is
enabled. This key is created through the encryption
commands. See CREATE ENCO KEY on page 243.
The corresponding certificate must also be created
before you specify the key. See CREATE PKI
CERTIFICATE
on page 252.

port

Specifies the TCP port number that the HTTP server
will listen on. If you do not specify a value for the
port parameter, the following defaults are used:

— When the security parameter is set to enabled

(HTTPS), the default port is port 443.

— When the security parameter is set to disabled

(HTTP), the default port is port 80.

Description

This command sets the web server configuration as HTTP or HTTPS.
Before you configure this command, you must disable the web server
using DISABLE HTTP SERVER on page 234. After you have finished
configuring this command, enable the web server.

If you set the security parameter to enabled, the server accepts only SSL
connections which use HTTPS. If you set the security parameter to
disabled, the server accepts only HTTP connections. The default is
disabled.