Command Reference Syslog Commands
to down
Oct 9 23:40:55 %LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet 0/1, changed state to DOWN
Ruijie# configure terminal//----
he input command by the user is output
again rather than being intererupted.
Related
Commands
Command Description
show running-config
Views the configuration.
Platform
Description
N/A
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.
logging trap [ level ]
no logging trap
Parameter
Description
Parameter Description
level
Severity of the log message. The name of the severity or the numeral
can be used. For the details of log severity, see Table 1.
Defaults
Informational(6)
Command
Mode
Global configuration mode
Usage Guide To send logs to the Syslog Server, run the logging command in global configuration mode to
configure the Syslog Server. Then, run the logging trap command to specify the severity level of
logs to be sent.
The show logging command displays the configured related parameters and statistics of the log.
Configuration
Examples
The following example enables logs at severity 6 to be sent to the Syslog Server with the address of
202.101.11.22:
Ruijie(config)# logging 202.101.11.22
Ruijie(config)# logging trap informational
Related
Commands
Command Description