Connection Management

The switch supports three connection methods:
  • console
  • SSH
  • Telnet

The switch always enables the console and SSH. By default, the Telnet is disabled.

Management commands place the switch in a configuration mode to change session connection parameters.

Examples

  • The management console command places the switch in console management mode:
    switch(config)#management console
    switch(config-mgmt-console)#
  • The management ssh command places the switch in SSH management mode:
    switch(config)#management ssh
    switch(config-mgmt-ssh)#
  • The management telnet command places the switch in Telnet management mode:
    switch(config)#management telnet
    switch(config-mgmt-telnet)#
  • The exit command returns the switch to global configuration mode:
    switch(config-mgmt-ssh)#exit
    switch(config)#

The idle-timeout commands shown in the following examples configure the idle timeout period for the configured connection type. The idle timeout is when the connection waits after a user's most recent command before shutting down the connection. Setting the idle timeout to zero will automatically disable the connection timeout, which is the default setting.

Examples

  • This idle-timeout (SSH Management) command configures an SSH idle-timeout period of three hours.
    switch(config)# management ssh
    switch(config-mgmt-ssh)# idle-timeout 180
  • This idle-timeout (Telnet Management) command automatically disable the connection timeout for telnet connections.
    switch(config)# management telnet
    switch(config-mgmt-telnet)# idle-timeout 0
The shutdown (Telnet Management) command turns the Telnet on and off on the switch.
  • These commands enable Telnet.
    switch(config)# management telnet
    switch(config-mgmt-telnet)# no shutdown
  • These commands disable Telnet.
    switch(config)# management telnet
    switch(config-mgmt-telnet)# shutdown