Information
Terminating an idle session within a short time period reduces the window of opportunity for unauthorized personnel to take control of a management session enabled on the console or console port that has been left unattended. In addition, quickly terminating an idle session will also free up resources committed by the managed network element.
Terminating network connections associated with communications sessions includes, for example, de-allocating associated TCP/IP address/port pairs at the operating system level, or de-allocating networking assignments at the application level if multiple application sessions are using a single, operating system-level network connection. This does not mean that the device terminates all sessions or network access; it only ends the inactive session and releases the resources associated with that session.
Satisfies: SRG-APP-000190-NDM-000267, SRG-APP-000186-NDM-000266
Solution
Configure the Arista network device to terminate the connections after 10 minutes of inactivity.
Step 1: Configure the settings for the console.
switch(config)#management console
switch(config-mgmt-console)#idle-timeout 10
switch(config-mgmt-console)#exit
switch(config)#
!
Step 2: Configure the settings for SSH.
switch(config)#management ssh
switch(config-mgmt-ssh)#idle-timeout 10
switch(config-mgmt-console)#exit
switch(config)#
!