Command Reference Guide
Logging Commands
CLI Command Reference
September 2014 Page 180
HP Moonshot Switch Module CLI Command Reference
logging syslog source-interface
This command configures the syslog source-interface (source IP address) for syslog server configuration. The
selected source-interface IP address is used for filling the IP header of management protocol packets. This
allows security devices (firewalls) to identify the source packets coming from the specific switch. If a source-
interface is not specified, the primary IP address of the originating (outbound) interface is used as the source
address.
Example: The following shows examples of the command.
(config)#logging syslog source-interface loopback 0
(config)#logging syslog source-interface tunnel 0
(config)#logging syslog source-interface 0/4/1
(config)#logging syslog source-interface 1/0/1
no logging syslog source-interface
This command disables syslog logging.
show logging
This command displays logging configuration information.
Format
logging syslog source-interface {unit/slot/port|{loopback loopback-id}|{vlan vlan-
id}}
Mode Global Config
Parameter Description
unit/slot/port VLAN or port-based routing interface.
loopback-id Configures the loopback interface to use as the source IP address. The range of the
loopback ID is 0 to 7.
tunnel-id Configures the tunnel interface to use as the source IP address. The range of the tunnel ID
is 0 to 7.
vlan-id Configures the VLAN interface to use as the source IP address. The range of the VLAN ID is
1 to 4093.
Format
no logging syslog
Mode Global Config
Format
show logging
Mode Privileged EXEC