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
-SM-115
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
logging source-interface
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.
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
]
Syntax Description
Command Default
None.
Command Modes
Global configuration mode
Command History
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
ethernet
slot
/
port
Specifies Ethernet as the source interface. The range for the Ethernet option
is from 1 to 253.
loopback
interface-number
Specifies loopback as the source interface. The range for the loopback option
is from 1 to 1023.
mgmt
interface-number
Specifies management as the source interface. The interface number
management option is 0.
port-channel
port-channel-number
Specifies port-channel as the source interface. The range for the port-channel
option is from 1 to 4096.
vlan
interface-number
Specifies VLAN as the source interface.
tunnel
interface-number
Specifies tunnel as the source interface.
Release
Modification
5.0(3)U5(1)
This command was introduced.
Command
Description
show logging info
Displays the configured syslog information.