Connection Management

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

The switch always enables the console and SSH. By default, EOS disables Telnet.

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 defines the wait for a connection after a recent command before shutting down the connection. Setting the idle timeout to zero automatically disables the connection timeout, the default setting.

Examples

  • The 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
  • The 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