Users Guide

Security Commands 1187
scp switch-config.txt user@10.27.6.122:startup-config
scp icos-3.2.2.45.stk user@10.27.6.122:active
scp icos-3.2.2.49.stk user@10.27.6.122:backup
ip ssh port
Use the ip ssh port command in Global Configuration mode to specify the
TCP port to be used by the SSH server. To use the default port, use the no
form of this command.
Syntax
ip ssh port port-number
no ip ssh port
port-number — Port number for use by the SSH server. (Range: 1025–
65535)
Default Configuration
The default value is 22.
Command Mode
Global Configuration mode
User Guidelines
The SSH TCP port should not be set to a value that might conflict with other
well-known protocol port numbers used on this switch. The following non-
exhaustive list of ports are reserved to the system and may not be able to be
configured for another purpose: 23 (telnet), 80 (HTTP), 161,162 (SNMP),
514, (SYSLOG), 546,547 (DHCPv6), 2222 (SSH).
Example
The following example specifies the port to be used by the SSH server as
8080.
console(config)#ip ssh port 8080