CLI Guide
Version Description
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
E-Series legacy
command
Usage Information When you use the no logging on command, messages are logged only to the
console.
Related
Commands
• logging — enable logging to the Syslog server.
• logging buffered — set the logging buffered parameters.
• logging console — set the logging console parameters.
• logging monitor — set the logging parameters for the terminal connections.
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 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet then the slot/port information.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
• For a Loopback interface, enter the keyword loopback
then a number from 0 to 16383.
• For the Management interface on the stack-unit, enter
the keyword ManagementEthernet then the slot/port
information.
The slot range is from 1 to 11. The port
range is 1.
• For a port channel interface, enter the keywords port-
channel then a number. The range is from 1 to 128.
• For a Null interface, enter the keyword null then the Null
interface number.
• For a VLAN interface, enter the keyword vlan then a
number from 1 to 4094.
Defaults Not configured.
Command Modes CONFIGURATION
1696
Simple Network Management Protocol (SNMP) and Syslog