Owner`s manual

Simple Network Management Protocol (SNMP) and Syslog | 213
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
Defaults
Not configured.
Command Modes
CONFIGURATION
Command
History
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 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 no logging trap command. To disable logging, use the no
logging trap
command.
Parameters
Defaults
6 or informational.
Command Modes
CONFIGURATION
Command
History
Related
Commands
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.
Version 8.3.17.0 Supported on M I/O Aggregator
logging
hostname
Enables the logging to another device.
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.
Version 8.3.17.0 Supported on M I/O Aggregator
logging
hostname
Enables the logging to another device.
logging on Enables logging.