Command Line Reference
Network Management And Monitor...
Syslog Configuration
5 min
syslog source interface syslog source interface \[command] syslog source interface {etherent|loopback|vlan|mgmt} interface name no syslog source interface \[purpose] configure the source interface for the device to send syslog packets \[parameter] true 267,394#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type \[view] system configuration view \[use cases] sonic(config)# syslog source interface loopback 0 syslog source interface set to loopback0 restarting rsyslog config service sonic(config)# syslog syslog \[command] syslog ip address no syslog ip address \[purpose] specify the syslog server \[parameter] true 161,500#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type \[view] system configuration view \[usage scenario] syslog can be used to log messages locally in files or sent over the network to a syslog server the syslog server can centrally store syslog messages from multiple devices \[use cases] sonic(config)# syslog 10 1 1 10 syslog protocol port syslog protocol port \[command] syslog protocol port port no syslog protocol port \[purpose] set syslog protocol port configuration, default 514 \[parameter] true 146,515#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type \[view] system configuration view \[use cases] sonic(config)# syslog protocol port 513
