Administrator Guide

Switch Management Commands 2293
Use the
end
command to exit Crypto Certificate Request mode without
generating a certificate request. Use the
exit
command to exit Crypto
Certificate Request mode and generate a certificate request.
duration
Use the duration command in Crypto Certificate Generation mode to specify
the duration.
Syntax
duration
days
days
— Specifies the number of days a certification would be valid. If left
unspecified, the parameter defaults to 365 days. (Range: 30–3650 days)
Default Configuration
This command defaults to 365 days.
Command Mode
Crypto Certificate Generation mode
User Guidelines
This command mode is entered using the crypto certificate generate
command.
Example
The following example displays how specify a duration of 50 days that a
certification is valid.
console(config-crypto-cert)#duration 50
ip http port
Use the ip http port command in Global Configuration mode to specify the
TCP port on which the switch listens for HTTP connections. To use the
default TCP port, use the no form of this command.
2CSNXXX_SWUM204.book Page 2293 Monday, January 25, 2016 1:25 PM