Command Line Reference Guide

SNMP and Syslog | 1393
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
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 interface, enter the keyword
port-channel followed by a
number:
C-Series and S-Series Range: 1-128
E-Series Range: 1 to 32 for EtherScale, 1 to 255 for TeraScale and 1 to 512 for
ExaScale.
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 a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by the
slot/port information.
For VLAN interface, enter the keyword
vlan followed by a number from 1 to 4094.
Version 8.4.6.0
Added support for the keyword
fortyGigE.
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.