Disabling HTTP Server
This chapter describes how to disable the HTTP server and includes the following topics:
•
Information About the HTTP Server
•
Guidelines and Limitations
•
Default Setting
•
Disabling HTTP Server
•
Verifying the HTTP Configuration
•
Additional References
•
Feature History for Disabling the HTTP Server
Information About the HTTP Server
An HTTP server, which can be turned off from the CLI to address security concerns, is embedded in the Virtual Supervisor Module (VSM).
If you want to turn off the HTTP server, see the following "Guidelines and Limitations".
Guidelines and Limitations
•
The HTTP server is enabled by default.
•
VUM will not install VEMs if the HTTP server is disabled. During VEM installation, VUM talks directly to the HTTP server to extract required module information from the VSM. To install VEMs, you must do one of the following:
–
Use VUM by enabling the HTTP server during VEM installation, and then disabling it after the VEMs are installed.
–
Install VEMs manually without using VUM.
•
The HTTP server must be enabled in order to get the Cisco Nexus 1000V XML plugin from the VSM.
Default Setting
The HTTP server is enabled by default.
Disabling HTTP Server
Use this procedure to disable the HTTP server.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•
You are logged in to the CLI in EXEC mode.
•
By default, the HTTP server is enabled.
SUMMARY STEPS
1.
config t
2.
no feature http-server
3.
show http-server
4.
copy running-config startup-config
DETAILED STEPS
|
|
|
Step 1 |
config t Example: n1000v# config t n1000v(config)# |
Enters CLI global configuration mode. |
Step 2 |
no feature http-server Example: n1000v(config)# no feature http-server n1000v(config)# |
Disables the HTTP server. |
Step 3 |
show http-server Example: n1000v(config)# show http-server http-server disabled |
(Optional) Displays the HTTP server configuration (enabled or disabled). |
Step 4 |
copy running-config startup-config
Example: n1000v(config)# copy running-config startup-config [########################################] 100% n1000v(config)# |
(Optional) Saves the running configuration persistently through reboots and restarts by copying it to the startup configuration. |
Example:
Verifying the HTTP Configuration
To display the HTTP configuration, use the following commands:
|
|
show http-server |
Displays the HTTP server configuration. See Example 15-1 |
show feature |
Displays the features available, such as LACP, and whether they are enabled. See Example 15-2 |
Example 15-1 show http-server
n1000v(config)# show http-server
http-server enabled
n1000v(config)#
Example 15-2 show feature
n1000v(config)# show feature
Feature Name Instance State
-------------------- -------- --------
dhcp-snooping 1 disabled
http-server 1 disabled
ippool 1 disabled
lacp 1 disabled
netflow 1 disabled
private-vlan 1 disabled
sshServer 1 enabled
tacacs 1 disabled
telnetServer 1 disabled
n1000v(config)#
Additional References
For additional information related to implementing Telnet, see the following sections:
•
Related Documents
•
Standards
Related Documents
|
|
Complete command syntax, command modes, command history, defaults, usage guidelines, and examples |
Cisco Nexus 1000V Command Reference, Release 4.2(1)SV1(4) |
Standards
|
|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
— |
Feature History for Disabling the HTTP Server
This section provides the release history for disabling the HTTP server.
|
|
|
Disable HTTP server |
4.2(1)SV1(4) |
This feature was introduced. |