Administrator Guide

Switch Management Commands 2295
Command Mode
Global Configuration mode
User Guidelines
This command enables HTTP access to the switch. Use the ip http secure-
server command to enable HTTPS access. It is recommended that
administrators enable HTTPS access in preference to HTTP access in order
to ensure that management activity is not snooped.
Example
The following example enables the switch to be configured from a browser.
console(config)#ip http server
ip http secure-certificate
Use the ip http secure-certificate command in Global Configuration mode to
configure the active certificate for HTTPS. To return to the default setting,
use the no form of this command.
Syntax
ip http secure-certificate
number
no ip http secure-certificate
number
—Specifies the certificate number. (Range: 1–2)
Default Configuration
The default value of the certificate number is 1.
Command Mode
Global Configuration mode
User Guidelines
The HTTPS certificate is generated using the crypto certificate generate
command in Global Configuration mode.
2CSNXXX_SWUM204.book Page 2295 Monday, January 25, 2016 1:25 PM