DXS-1210 Series Smart Managed Switch CLI Reference Guide
344
This example shows how to enable the logging of system messages with a severity higher than
warnings to the remote host 20.3.3.3.
Switch# configure terminal
Switch(config)#logging server 20.3.3.3 severity warnings
Switch(config)#
44-4
logging source-interface
This command is used to specify the interface whose IP address will be used as the source address
for sending the SYSLOG packet. Use the no form of this command to revert to the default setting.
logging source-interface INTERFACE-ID
no logging source-interface
Parameters
INTERFACE-ID
Specifies the interface whose IP address will be used as the source
address of the SYSLOG packet.
Default
By default, the IP address of the closest interface will be used.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to specify the interface whose IP address will be used as the source address of
the SYSLOG packet.
Example
This example shows how to configure VLAN100 as the source interface for SYSLOG packets.
Switch# configure terminal
Switch(config)#logging source-interface vlan 100
Switch(config)#
44-5
show logging
This command is used to display the system messages logged in the local message buffer.
show logging [all | [REF-SEQ] [increase NN | decrease NN]]
show logging info
Parameters
all
Specifies to display all log entries starting from the latest message..
REF-SEQ
Specifies to start the display from the reference sequence number.
increase NN
Specifies the number of messages that occurred after the specified
reference sequence number. If the reference index is not specified, it
Содержание DXS-1210-10TS
Страница 1: ......
Страница 246: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 243 ...
Страница 260: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 257 ...