Logging Source-Interface - Cisco XR 1200 series Command Reference Manual

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

logging source-interface

logging source-interface
To set all system logging (syslog) messages being sent to syslog servers to contain the same IP address,
regardless of which interface the syslog message uses to exit the router, use the logging source-interface
command in global configuration mode. To remove the logging source-interface command from the
configuration file and remove the source designation, use the no form of this command.
logging source-interface type interface-path-id
no logging source-interface
Syntax Description
type
interface-path-id
Command Default
No source IP address is specified.
Command Modes
Global configuration
Command History
Release
Release 3.2
Usage Guidelines
Normally, a syslog message contains the IP address of the interface it uses to leave the networking device.
Use the logging source-interface command to specify that syslog packets contain the IP address of a particular
interface, regardless of which interface the packet uses to exit the networking device.
Use the
Task ID
Task ID
logging
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
334
Interface type. For more information, use the question mark (?) online help function.
Physical interface or virtual interface.
Use the show interfaces command to see a list of all interfaces currently
Note
configured on the router.
For more information about the syntax for the router, use the question mark (?) online
help function.
logging, on page 308
command to specify a syslog server host as a destination for syslog messages.
Modification
This command was introduced.
Operations
read, write
Logging Services Commands
OL-24735-01

Advertisement

Table of Contents
loading

Table of Contents