Log Monitoring; Examples Of Log Configuration - D-Link xStack DGS-3610 Series Configuration Manual

Hide thumbs Also See for xStack DGS-3610 Series:
Table of Contents

Advertisement

Chapter 50 Log Configuration

50.3 Log Monitoring

To monitor log information, run the following commands in the privileged user mode:
Command
DGS-3610# show logging
DGS-3610# show logging count
DGS-3610# clear logging
DGS-3610# more flash:filename
Caution
50.3.1

Examples of Log Configuration

Here is a typical example to enable the logging function:
DGS-3610(config)# interface gigabitEthernet 0/1
DGS-3610(config-if)# ip address 192.168.200.42 255.255.255.0
DGS-3610(config-if)# exit
DGS-3610(config)# service sequence-numbers
DGS-3610(config)# service timestamps debug datetime //Enable debug information
DGS-3610(config)# service timestamps log datetime //Enable log information timestamp
in the date format
DGS-3610(config)# logging 192.168.200.2
DGS-3610(config)# logging trap debugging
to the syslog server
DGS-3610(config)# end
50-8
The format of the time stamp in the output result of show logging count
is the format in the latest log output.
DGS-3610 Series Configuration Guide
Function
View the log packets in memory buffer as well as
the statistical information of logs
View the statistical information of logs in every
module
Clear the log packets in the memory buffer
View the log files in the extended flash
//Enable sequence number
timestamp, in date format
//Specify the syslog server address
//Send the log information at all levels

Advertisement

Table of Contents
loading

Table of Contents