To always have a readable command line on cisco console, aux and/or virtual terminals it is recommended to synchronize the logging.
Pre-requisite
- Putty application
Synchronizing the Logging
-
Connect to cisco console using putty.
-
Press the enter key to enter into user mode.
-
Execute the following command to enter into privilege mode:
enable
-
Load the startup-config into the running-config using the following command:
copy startup-config running-config
-
Execute the following command to enter into the configuration mode:
config terminal
-
Synchronize the logging on console using the following commands:
line con 0 logging sync
-
Synchronize the logging on AUX using the following command:
line aux 0 logging sync
-
(Optional) Synchronize the logging on 5 virtual terminals using the following command:
line vty 0 4 logging sync
Only do this if you are using virtual terminals, specially with SSH connections.
-
Exit the virtual terminal configuration using the following command:
exit
-
Exit the configuration mode:
exit
-
Save the update on the running-config to the startup-config file using the following command:
copy running-config startup-config
Leave a Reply