R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)

179
System information formats
Formats
The system information format varies with output destinations. See Table 8.
Table 8 System information formats
Output destination Format Example
Console, monitor
terminal, logbuffer,
trapbuffer, SNMP
module, or log file
timestamp sysname
module/level/digest: content
%Jun 26 17:08:35:809 2008 Sysname
SHELL/4/LOGIN: VTY login from 1.1.1.1.
Log host
HP format:
<PRI>timestamp
Sysname %%vvmodule/level
/digest: source content
UNICOM format:
<PRI>timestamp Sysname
vvmodule/level/serial_numb
er: content
HP format:
<189>Oct 9 14:59:04 2009
Sysname %%10SHELL/5/SHELL_LOGIN(l):
VTY logged in from 192.168.1.21.
UNICOM format:
{ <186>Oct 13 16:48:08 2000 Sysname
10IFNET/2/210231a64jx073000020:
log_type=port;content=Vlan-interface1
link status is DOWN.
{ <186>Oct 13 16:48:08 2000 Sysname
10IFNET/2/210231a64jx073000020:
log_type=port;content=Line protocol on
the interface Vlan-interface1 is DOWN.
Field description
Field Descri
p
tion
PRI (priority)
The priority is calculated by using this formula: facility*8+level, where:
facility is the facility name. It can be configured with info-center loghost. It is
used to identify different log sources on the log host, and to query and filter logs
from specific log sources.
level ranges from 0 to 7. See Table 5 for more information.
Note that the priority field is available only for information that is sent to the log
host.
Timestamp
The timestamp records the time when the system information was generated.
System information sent to the log host and those sent to the other destinations
have different precisions, and their timestamp formats are configured with
different commands. See Table 9 and Table 10.