Cisco 4215 - Intrusion Detection Sys Sensor Configuration Manual page 56

Configuration guide
Hide thumbs Also See for 4215 - Intrusion Detection Sys Sensor:
Table of Contents

Advertisement

Changing Web Server Settings
For example, if you forward a port through a firewall so you can monitor a sensor remotely, you need to
set the server-id.
To change the web server settings, follow these steps:
Log in to the sensor using an account with administrator privileges.
Step 1
Enter web server mode:
Step 2
sensor# configure terminal
sensor(config)# service web-server
Change the port number:
Step 3
sensor(config-web)# port 8080
If you change the port number from the default of 443 to 8080, you receive the following message:
Warning: The web server's listening port number has changed from 443 to 8080. This change
will not take effect until the web server is re-started
Step 4
Enable or disable TLS:
sensor(config-web)# enable-tls [true | false]
If you disable TLS, you receive the following message:
Warning: TLS protocol support has been disabled. This change will not take effect until
the web server is re-started.
Change the HTTP server header:
Step 5
sensor(config-web)# server-id Nothing to see here. Move along.
Verify the web server changes:
Step 6
sensor(config-web)# show settings
enable-tls: true default: true
port: 8001 default: 443
server-id: Nothing to see here. Move along. default: HTTP/1.1 compliant
sensor(config-web)#
Step 7
To revert to the defaults, use the default form of the commands:
sensor(config-web)# default port
sensor(config-web)# default enable-tls
sensor(config-web)# default server-id
Step 8
Verify the defaults have been replaced:
sensor(config-web)# show settings
enable-tls: true <defaulted>
port: 443 <defaulted>
server-id: HTTP/1.1 compliant <defaulted>
sensor(config-web)#
Exit web server submode:
Step 9
sensor(config-web)# exit
Apply Changes:?[yes]:
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
4-10
Chapter 4
Initial Configuration Tasks
78-16527-01

Advertisement

Table of Contents
loading

Table of Contents