Command Line Reference Guide

logging source-interface
Specify that the IP address of an interface is the source IP address of Syslog packets sent to the Syslog
server.
Syntax
logging source-interface interface
To disable this command and return to the default setting, use the no logging
source-interface command.
Parameters
interface Enter the following keywords and slot/port or number
information:
For a Ten-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port
information.
For VLAN interface, enter the keyword vlan followed by
a number from 1 to 4094.
Defaults Not configured.
Command
Modes
CONFIGURATION
Command
History
Version 8.3.17.0 Supported on the M I/O Aggregator
Usage
Information
Syslog messages contain the IP address of the interface used to egress the router.
By configuring the logging source-interface command, the Syslog packets
contain the IP address of the interface configured.
Related
Commands
logging hostname— enables logging to the Syslog server.
logging trap
Specify which messages are logged to the Syslog server based the message severity.
Syntax
logging trap [level]
To return to the default values, use the default logging trap command.
To disable logging, use the no logging trap command.
Parameters
level Indicate a value from 0 to 7 or enter one of the following
parameters: emergencies, alerts, critical, errors,
warnings, notifications, informational, or
debugging. The default is 6 or informational.
256
Simple Network Management Protocol (SNMP) and Syslog