D-Link DGS-510 Reference Manual page 658

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
71-6
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
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 VLAN 100 as the source interface for SYSLOG packets.
Switch# configure terminal
Switch(config)# logging source-interface vlan100
Switch(config)#
71-7
show logging
This command is used to display the system messages logged in the local message buffer.
show logging [all | [REF-SEQ] [+ NN | - NN]]
Parameters
all
REF-SEQ
+ NN
- NN
Default
None.
Specifies the interface whose IP address will be used as the source
address of the SYSLOG packet.
Specifies to display all log entries starting from the latest message..
Specifies to start the display from the reference sequence number.
Specifies the number of messages that occurred after the specified
reference sequence number. If the reference index is not specified,
it starts from the eldest message in the buffer.
Specifies the number of messages that occurred prior to the
specified reference sequence number. If the reference index is not
specified, the message display starts from the last message written
in the buffer.
655

Advertisement

Table of Contents
loading

Table of Contents