CLI Reference Guide Syslog Configuration Commands
logging synchronous
Use this command to enable synchronization function of user input and log output in the line
configuration mode to prevent the user from interrupting when keying in the characters. The no form of
this command disables this function.
logging synchronous
no logging synchronous
This command enables synchronization function of user input and log output, preventing the user
from interrupting when keying in the characters.
Ruijie(config)#line console 0
Ruijie(config-line)#logging synchronous
Print UP-DOWN logs on the port when keying in the command, the input command will be output
again:
Ruijie#configure terminal
Oct 9 23:40:55 %LINK-5-CHANGED: Interface GigabitEthernet 0/1, changed state
to down
Oct 9 23:40:55 %LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet 0/1, changed state to DOWN
Ruijie#configure terminal ----the input command by the user is output again
rather than being intererupted.