The format of the time stamp in the output result of show logging count
is the format in the latest log output.
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 //Enable sequence number
DGS-3610(config)# service timestamps debug datetime //Enable debug information
timestamp, in date format
DGS-3610(config)# service timestamps log datetime //Enable log information timestamp
in the date format
DGS-3610(config)# logging 192.168.200.2 //Specify the syslog server address
DGS-3610(config)# logging trap debugging //Send the log information at all levels
to the syslog server
DGS-3610(config)# end