1. First log into the Cisco switch/router.
2. After you log into the system, then get to configuration terminal with the following command:
a. #configure terminal (also conf t)
3. Once you elevated to config terminal, then you indicate the line console 0 interface with the following command:
a.#line console 0 (or line con)
4. Once you are in the line console interface, you can perform the exec-timeout command with the following:
a. #exec-timeout 30
b. Numbers represent minutes. Range is from 0-525600. 0 disables the timeout along with:
i. #no exec-timeout
5. You can repeat the process for the VTY terminal lines by selecting them in global config mode:
a.#line vty 0 4
b.Line 0 4 will select all 4 VTY lines to be programmed at once.
6. Go back to user mode/exit out of configure terminal and copy the running configuration file to the startup configuration file so upon reboot, your systems will reboot and not lose the new configurations:
a. #copy running-configuration startup-configuration
Reference:
https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/exec-timeout.html
2. After you log into the system, then get to configuration terminal with the following command:
a. #configure terminal (also conf t)
3. Once you elevated to config terminal, then you indicate the line console 0 interface with the following command:
a.#line console 0 (or line con)
4. Once you are in the line console interface, you can perform the exec-timeout command with the following:
a. #exec-timeout 30
b. Numbers represent minutes. Range is from 0-525600. 0 disables the timeout along with:
i. #no exec-timeout
5. You can repeat the process for the VTY terminal lines by selecting them in global config mode:
a.#line vty 0 4
b.Line 0 4 will select all 4 VTY lines to be programmed at once.
6. Go back to user mode/exit out of configure terminal and copy the running configuration file to the startup configuration file so upon reboot, your systems will reboot and not lose the new configurations:
a. #copy running-configuration startup-configuration
Reference:
https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/exec-timeout.html
No comments:
Post a Comment