Optional) Disabling The Log Counter Function - Huawei AR150 Series Configuration Manual

Hide thumbs Also See for AR150 Series:
Table of Contents

Advertisement

Huawei AR150&200&1200&2200&3200 Series Enterprise
Routers
Configuration Guide - Device Management
Step 2 Run:
info-center timestamp log { { date | short-date | format-date } [ precision-time
{ tenth-second | millisecond } ] | boot | none }
The timestamp format of logs is configured.
By default, the timestamp format of logs is date.
----End

3.6.1.5 (Optional) Disabling the Log Counter Function

Context
Logs generated on the Router contain sequence numbers. That is, the log counter function is
enabled by default. For example, you can run the display logbuffer command to view the
sequence numbers of logs.
<Huawei> display logbuffer
Logging buffer configuration and contents: enabled
Allowed max buffer size: 1024
Actual buffer size: 512
Channel number: 4, Channel name: logbuffer
Dropped messages: 0
Overwritten messages: 167
Current messages: 512
May 10 2012 13:42:59+00:00 Huawei %%01DEFD/4/CPCAR_DROP_MPU(l)[0]:Some packets are
dropped by cpcar on the MPU. (Packet-type=arp-request, Drop-
Count=912)
May 10 2012 13:32:59+00:00 Huawei %%01DEFD/4/CPCAR_DROP_MPU(l)[1]:Some packets are
dropped by cpcar on the MPU. (Packet-type=arp-request, Drop-
Count=684)
May 10 2012 13:22:59+00:00 Huawei %%01DEFD/4/CPCAR_DROP_MPU(l)[2]:Some packets are
dropped by cpcar on the MPU. (Packet-type=arp-request, Drop-
Count=684)
May 10 2012 13:12:59+00:00 Huawei %%01DEFD/4/CPCAR_DROP_MPU(l)[3]:Some packets are
dropped by cpcar on the MPU. (Packet-type=arp-request, Drop-
Count=912)
May 10 2012 13:02:59+00:00 Huawei %%01DEFD/4/CPCAR_DROP_MPU(l)[4]:Some packets are
dropped by cpcar on the MPU. (Packet-type=arp-request, Drop-
Count=684)
...
If the Router has been running for a long time, many logs may be generated.
l
l
l
Issue 05 (2014-01-16)
To enable the Router not to encapsulate sequence numbers in logs sent to the log buffer,
log file, console, or terminal, disable the log counter function.
To re-collect statistics on logs sent to the log buffer, log file, console, or terminal, disable
the log counter function, disable the log counter function, and then enable the log counter
function.
To view logs sent to the log buffer, log file, console, or terminal, disable the log counter
function, enable the log counter function so that logs contain sequence numbers in
ascending order.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 Information Center Configuration
36

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar1200 seriesAr200 seriesAr2200 seriesAr3200 series

Table of Contents