Command Line Reference Guide

SNMP and Syslog | 999
logging source-interface
c e s
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, enter no logging source-interface.
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 synchronous
c e s
Synchronize unsolicited messages and FTOS output.
Syntax
logging synchronous [level level | all] [limit number-of-buffers]
To disable message synchronization, use the no logging synchronous [level level | all] [limit
number-of-buffers] command.
interface
Enter the following keywords and slot/port or number information:
For an 100/1000 Ethernet interface, enter the keyword
GigabitEthernet followed
by the slot/port information.
For a Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by
the slot/port information.
For Loopback interfaces, enter the keyword
loopback followed by a number from
zero (0) to 16383.
For the management interface on the RPM, enter the keyword
ManagementEthernet followed by the slot/port information. The slot range is 0-1
and the port range is 0.
For a Port Channel, enter the keyword
port-channel followed by a number:
C-Series and S-Series Range: 1-128
E-Series Range: 1-255 for TeraScale,
For a SONET interface, enter the keyword
sonet followed by the slot/port
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.5.0 Introduced on S55
Version 7.6.1.0 Support added for S-Series
Version 7.5.1.0 Support added for C-Series
E-Series legacy command
logging Enable the logging to another device.