logging source-interface — global
interfaceno logging source-interface
The interface from which syslog packets are sent
The router uses the interface “closest” to the destination
This command sets the interface that the router uses to send syslog packets, and therefore sets the source IP address for syslog packets that originate from the router. Specifying the source interface allows you to control the path that logging packets take from the router to the network management station, which can be an important security consideration. By default, packets originate from the interface closest to the destination.