2.1.19. ip service

Syntax

ip (telnet | ssh | http | https)

no ip (telnet | ssh | http | https)

Parameter


telnet Enable/Disable telnet service ssh Enable/Disable ssh service http Enable/Disable http service https Enable/Disable https service


Default

Default telnet service is disabled. Default ssh service is disabled. Default http service is enabled. Default https service is disabled.

Mode

Global Configuration

Usage

Use ip service command to enable all kinds of ip services. Such as telnet, ssh, http and https. Use no form to disable service.

Example

This example shows how to enable telnet service and show current telnet service status.

Switch(config)# ip telnet
Telnetd daemon enabled.
Switch(config)# exit
Switch# show line telnet
Telnet ===============================
Telnet Server : enabled
Session Timeout : 10 (minutes)
History Count : 128
Password Retry : 3
Silent Time : 0 (seconds)

This example shows how to enable https service and show current https service status.

Switch(config)# ip https
Switch(config)# exit
Switch# show ip https
HTTPS daemon : enabled
Session Timeout : 10 (minutes)