
37
Table 3
Default output rules for different output destinations
LOG TRAP DEBUG
Output
destination
Modules
allowed
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Enabled/
disabled
Severity
Console
default (all
modules)
Enabled
Informatio
nal
Enabled Debug Enabled Debug
Monitor
terminal
default (all
modules)
Enabled
Informatio
nal
Enabled Debug Enabled Debug
Log host
default (all
modules)
Enabled
Informatio
nal
Enabled Debug Disabled Debug
Trap buffer
default (all
modules)
Disabled
Informatio
nal
Enabled
Informatio
nal
Disabled Debug
Log buffer
default (all
modules)
Enabled
Informatio
nal
Disabled Debug Disabled Debug
SNMP
module
default (all
modules)
Disabled Debug Enabled
Informatio
nal
Disabled
Debug
Web
interface
default (all
modules)
Enabled Debug Enabled Debug Disabled Debug
Log file
default (all
modules)
Enabled Debug Enabled Debug Disabled Debug
System information format
The format of system information varies with the output destinations.
1.
If the output destination is not the log host (such as console, monitor terminal, logbuffer, trapbuffer,
SNMP, or log file), the system information is in the following format:
timestamp sysname module/level/digest:content
For example, a monitor terminal connects to the device. When a terminal logs in to the device, the log
information in the following format is displayed on the monitor terminal:
%Jun 26 17:08:35:809 2011 Sysname SHELL/4/LOGIN: VTY login from 1.1.1.1
2.
If the output destination is the log host, the system information is in one of the following formats:
•
H3C format
<PRI>timestamp sysname %%vvmodule/level/digest: source content
For example, if a log host is connected to the device, when a terminal logs in to the device, the following
log information is displayed on the log host:
<189>Oct 9 14:59:04 201 MyDevice %%10SHELL/5/SHELL_LOGIN(l):VTY logged in from
192.168.1.21.
•
UNICOM format
<PRI>timestamp sysname vvmodule/level/serial_number: content
For example, if a log host is connected to the device, when a port of the device goes down, the following
log information is displayed on the log host:
<186>Oct 13 16:48:08 2011 H3C 10IFNET/2/210231a64jx073000020:
log_type=port;content=Vlan-interface1 link status is DOWN.