Command Reference Syslog Commands
ip-address
Specifies the source IPV4 address sending the logs to IPV4 log
server.
ipv6-address
Specifies the source IPV6 address sending the logs to IPV6 log
server.
Defaults
N/A
Command
Mode
Global configuration mode
Usage Guide
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 address, so that the administrator can identify which device is
sending the message through the unique addresses. If this IP address is not configured on the
device, the source address of the log messages is the address of the sending interface.
Configuration
Examples
The following example specifies 192.168.1.1 as the source address of the syslog messages:
Ruijie(config)# logging source ip 192.168.1.1
Related
Commands
Command Description
logging
Sends the logs to the Syslog server.
Platform
Description
N/A
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 remove the settings.
logging source interface interface-type interface-number
no logging source interface
Parameter
Description
Parameter Description
interface-type
Interface type.
interface-number
Interface number.
Defaults
N/A
Command
Mode
Global configuration mode