Command Reference Syslog Commands
This command specifies a Syslog server to receive the logs of the device. Users are allowed to
configure up to 5 Syslog Servers. The log information will be sent to all the configured Syslog Servers
at the same time.
The following example specifies a syslog server of the address 202.101.11.1:
Ruijie(config)# logging server 202.101.11.1
The following example specifies an ipv6 address as AAAA:BBBB:FFFF:
Ruijie(config)# logging server ipv6 AAAA:BBBB:FFFF
Displays log messages and related log configuration
parameters in the buffer.
Sets the level of logs allowed to be sent to Syslog server.
8.26 logging source interface
Use this command to configure the source interface of logs in global configuration mode. Use the no
form of this command to restore the default setting.
logging source [ interface ] interface-type interface-number
no logging source [ interface ]
No source interface is configured by default.
Global configuration mode
By default, the source address of the log messages sent to the syslog server is the address of the
sending interface. For easy tracing and management, this command can be used to fix the source
address of all log messages as an interface address, so that the administrator can identify which
device is sending the message through the unique addresses. If the source interface is not
configured on the device, or no IP address is configured for the source interface, the source address
of the log messages is the address of the sending interface.