Chapter
System Management Commands
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
logging source-interface
To enable a source interface for the remote syslog server, use the logging source-interface command.
To disable the source interface, use the no form of this command.
Syntax Description
ethernet slot/port
loopback
interface-number
mgmt interface-number Specifies management as the source interface. The interface number
port-channel
port-channel-number
vlan interface-number
tunnel
interface-number
Command Default
None.
Command Modes
Global configuration mode
Command History
Release
5.0(3)U5(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to enable a source interface for the syslog server:
switch# configure terminal
switch(config)# logging source-interface ethernet 2/1
Related Commands
Command
show logging info
OL-29557-04
logging source-interface [ethernet slot/port | loopback interface-number | mgmt
interface-number | port-channel port-channel-number | vlan interface-number | tunnel
interface-number]
no logging source-interface [ethernet slot/port | loopback interface-number | mgmt
interface-number | port-channel port-channel-number | vlan interface-number | tunnel
interface-number]
Specifies Ethernet as the source interface. The range for the Ethernet option
is from 1 to 253.
Specifies loopback as the source interface. The range for the loopback option
is from 1 to 1023.
management option is 0.
Specifies port-channel as the source interface. The range for the port-channel
option is from 1 to 4096.
Specifies VLAN as the source interface.
Specifies tunnel as the source interface.
Modification
This command was introduced.
Description
Displays the configured syslog information.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
logging source-interface
-SM-115