Logging Function 257
5 Display the test results.
[S5500-remote-ping-administrator-icmp] display remote-ping results
administrator icmp
[S5500-remote-ping-administrator-icmp] display remote-ping history
administrator icmp
Logging Function
Introduction to
Info-center
The Info-center serves as an information center of the system software modules.
The logging system is responsible for most of the information outputs, and it also
makes detailed classification to filter the information efficiently. Coupled with the
debugging program, the info-center provides powerful support for network
administrators and support personnel to monitor the operating state of networks
and diagnose network failures.
When the log information is output to terminal or log buffer, the following parts
will be included:
%Timestamp Sysname Module name/Severity/Digest: Content
For example:
%Jun 7 05:22:03 2003 4500 IFNET/6/UPDOWN:Line protocol on interface
Ethernet1/0/2, changed state to UP
When the log information is output to the info-center, the first part will be
“
<Priority>”.
For example:
<187>Jun 7 05:22:03 2003 4500 IFNET/6/UPDOWN:Line protocol on
interface Ethernet1/0/2, changed state to UP
The description of the components of log information is as follows:
1 Priority
The priority is computed according to following formula: facility*8+severity-1. The
default value for the facility is 23. The range of severity is 1~8, and the severity will
be introduced in a separate section.
The value of the facility can be set by command info-center loghost, .local1 to
local7 corresponding to 16 to 23 respectively, for detailed information, refer to
RFC3164 (The BSD syslog Protocol).
Priority is only effective when information is send to loghost. There is no character
between priority and timestamp.
2 Timestamp
If the logging information is sent to the log host, the default format of the
timestamp is the date, and it can be changed to
boot format or none format
through the command:
info-center timestamp log { date | boot | none }
The date format of timestamp is "mm dd hh:mm:ss yyyy".
"mm" is the month field, such as: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct,
Nov, Dec.
"dd" is the day field, if the day is less than the 10th, one blank should be added,
such as " 7".