Command Reference Syslog Commands
8.31 logging synchronous
Use this command to enable synchronization function between user input and log output in line
configuration mode to prevent interruption when the user is keying in characters. Use the no form of
this command to restore the default setting.
logging synchronous
no logging synchronous
The synchronization function between user input and log output is disabled by default.
This command enables synchronization function between 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.
Displays the configuration.
8.32 logging trap
Use this command to set the severity of logs that are allowed to be sent to the syslog server in global
configuration mode. Use the no form of this command to prohibit sending log messages to the Syslog
server.