manager ssh-port

Specifies the SSH port for an ICX-Management connection over the reverse SSH tunnel.
Syntax
manager ssh-port { port-number }
no manager ssh-port { port-number }
Command Default

By default, the SSH port number used to establish an ICX-Management connection is port 22.

Parameters
port-number
Specifies the SSH port number, which must be a valid decimal value.
Modes

Global configuration mode

Usage Guidelines

If an ICX-Management session is established when you configure an SSH port, the session is dropped, and a new session using the new port number is established. A warning message to this effect is displayed when you use the manager ssh-port command, and you are prompted to confirm. You must confirm for the new configuration to take effect.

If you configure a custom port for connection to SmartZone, the SmartZone controller settings must also be updated. Refer to the appropriate SmartZone administration guide for details.

Use the show manager status command to check the SSH port configuration.

The no form of the command removes the configuration.

Examples

The following example configures port 25 as the SSH port used to establish an ICX-Management connection.

device# configure terminal
device(config)# manager ssh-port
  DECIMAL   Enter a decimal value (Default 22)
device(config)# manager ssh-port 25

device(config)# manager ssh-port 25  <-- Warning message -->
Current session if established will be dropped to establish a new session with port 25.
Are you sure? (enter 'y' or 'n'): y  <-- You must confirm the configuration.
!
!
device(config)# exit

The show manager status command can be used to check the manager ssh-port configuration.

device# show manager status

============    MGMT Agent State Info     ===================

Config Status:Enabled Operation Status:Enabled
State:SSH CONNECTED     Prev State:SSH CONNECTING       Event:SZ_SSH_CONNECT_EVENT

SWR List                : None
DNS List                :
Active List             : 10.176.160.115
Active List IPV6        : None
DHCP Option 43          : No
DHCP Opt 43 List        : None
Backup List             : None
Backup List IPV6        : None
Merged List             : 10.176.160.115

SZ IP Used              : 10.176.160.115
Port List               : 987
Server Port Used        : 443
Query Status            : APPROVED

SSH Tunnel Status -:
Tunnel Status           : Established
SSH Port                : 25          <-- configuration confirmed
CLI IP/Port             : 127.255.255.253/22866
SNMP IP/Port            : 127.255.255.254/63989
Syslog IP/Port          : 127.0.0.1/20514
HTTP CLIENT IP/Port     : 127.0.0.1/5080
HTTP SERVER IP/Port     : 127.255.255.252/40042
Timer Status            : Not Running
History
Release version Command history
09.0.10a This command was introduced.