Displaying and maintaining information center, Information center configuration examples, Log output to a unix log host – H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 549

51-13
To do…
Use the command…
Remarks
Configure the output rules of
system information
info
-center source { modu-name |
default
} channel
{ channel-number | channel-name }
[ { log | trap | debug } { level
severity
| state state } ]*
Optional
Refer to
for the default
output rules of system information.
Set the format of time stamp in the
output information
info-center timestamp
{ log | trap
| debugging } { boot | date |
none
}
Optional
By default, the time stamp format
of the information output to the
SNMP NMS is date.
To send information to a remote SNMP NMS properly, related configurations are required on both the
device and the SNMP NMS.
Displaying and Maintaining Information Center
To do…
Use the command…
Remarks
Display information on an information
channel
display channel
[ channel-number |
channel
-name ]
Display the operation status of information
center, the configuration of information
channels, the format of time stamp
display info-center
[ unit unit-id ]
Display the status of log buffer and the
information recorded in the log buffer
display logbuffer
[ unit unit-id ]
[ level severity | size buffersize ]* [ |
{ begin | exclude | include }
regular-expression
]
Display the summary information recorded
in the log buffer
display logbuffer
summary [ level
severity
]
Display the status of trap buffer and the
information recorded in the trap buffer
display trapbuffer
[ unit unit-id ]
[ size buffersize ]
Available in any view
Clear information recorded in the log buffer
reset logbuffer
[ unit unit-id ]
Clear information recorded in the trap
buffer
reset trapbuffer
[ unit unit-id ]
Available in user view
Information Center Configuration Examples
Log Output to a UNIX Log Host
Network requirements
As shown in
, Switch sends the following log information to the Unix log host whose IP
address is 202.38.1.10: the log information of the two modules ARP and IP, with severity higher than
“informational”.