相关阅读
19、查看信息中心输出方向的配置信息
<HUAWEI> display info-center
Information Center:enabled
Log host:
10.1.1.1, channel number 2, channel name loghost,
language English , host facility local7
Console:
channel number : 0, channel name : console
Monitor:
channel number : 1, channel name : monitor
SNMP Agent:
channel number : 5, channel name : snmpagent
Log buffer:
enabled,max buffer size 1024, current buffer size 512,
current messages 512, channel number : 4, channel name : logbuffer
dropped messages 0, overwritten messages 53
Trap buffer:
enabled,max buffer size 1024, current buffer size 256,
current messages 256, channel number:3, channel name:trapbuffer
dropped messages 0, overwritten messages 6229
logfile:
channel number : 9, channel name : channel9, language : English
Information timestamp setting:
log - date, trap - date, debug - date millisecond
Sent messages = 270090, Received messages = 281030
IO Reg messages = 2 IO Sent messages = 10940
20、查看信息中心的统计信息
<HUAWEI> display info-center statistics
Information statistics data:
ModuleID ModuleName LogSend LogDrop DiagSend DiagDrop TrapSend
TrapDrop DebugSend DebugDrop
0x417d0000 6OVER4 0 0 0 0 0
0 0 0
0x41470000 AAA 0 0 0 0 0
0 0 0
0x406c0000 ACL 0 0 0 0 0
0 0 0
0x40ef0000 ACL6 0 0 0 0 0
0 0 0
0xff060000 ACLE 1 0 0 0 0
0 0 0
0xff380000 ADA_BFD 0 0 0 0 0
0 0 0
0x40e70000 ADDR 0 0 0 0 0
0 0 0
0xff3d0000 ADP_MSTP 64 0 0 0 0
0 0 0
0xff2f0000 ADP_RRPP 0 0 114 18 0
0 0 0
0xff950000 ADPIPV4 0 0 253 393 0
0 0 0
---- More ----
表1 display info-center statistics命令输出信息描述 | |
项目 | 描述 |
ModuleID | 表示模块在信息中心中注册的ID。 |
ModuleName | 产生日志信息的模块名称。 |
LogSend | 表示发送的日志信息条数。 |
LogDrop | 表示丢弃的日志信息条数。 |
DiagSend | 表示发送的诊断信息条数。 |
DiagDrop | 表示丢弃的诊断信息条数。 |
TrapSend | 表示发送的告警信息条数。 |
TrapDrop | 表示丢弃的告警信息条数。 |
DebugSend | 表示发送的调试信息条数。 |
DebugDrop | 表示丢弃的调试信息条数。 |
21、查看Log缓冲区记录的信息
1、查看Log缓冲区的所有日志信息。
<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 : 0
Current messages : 177
Oct 22 2013 12:10:21 HUAWEI %%01NETCONF/4/LOGOUT(s)[0]:User admin logout from 10
.135.34.97
Oct 22 2013 11:16:51 HUAWEI %%01NETCONF/4/LOGOUT(s)[1]:User admin logout from 10
.135.34.97
Oct 22 2013 11:16:12 HUAWEI %%01NETCONF/4/LOGIN(s)[2]:User admin login from 10.1
35.34.97
Oct 22 2013 11:13:37 HUAWEI %%01NETCONF/4/LOGOUT(s)[3]:User admin logout from 10
.135.34.97
Oct 22 2013 10:03:54 HUAWEI %%01HTTP/3/LOGINFAIL(s)[16]:User login failed. (User
Name=admin, IPAddr=10.135.34.97)
Oct 22 2013 09:59:30 HUAWEI %%01HTTP/3/LOGINFAIL(s)[17]:User login failed. (User
Name=admin, IPAddr=10.135.34.97)
Oct 22 2013 09:09:49 HUAWEI %%01SHELL/4/LOGINFAILED(s)[18]:Failed to login. (Ip=
10.135.18.80, UserName=**, Times=1, AccessType=TELNET)
Oct 21 2013 19:11:26 HUAWEI %%01SHELL/4/LOGINFAILED(s)[19]:Failed to login. (Ip=
10.135.13.11, UserName=**, Times=1, AccessType=TELNET)
Oct 21 2013 16:31:05 HUAWEI %%01SHELL/4/LOGINFAILED(s)[20]:Failed to login. (Ip=
10.135.18.58, UserName=**, Times=2, AccessType=TELNET)
Oct 21 2013 16:30:58 HUAWEI %%01SHELL/4/LOGINFAILED(s)[21]:Failed to login. (Ip=
10.135.18.58, UserName=**, Times=1, AccessType=TELNET)
Oct 21 2013 16:30:41 HUAWEI %%01SHELL/4/LOGINFAILED(s)[22]:Failed to login. (Ip=
10.135.26.211, UserName=**, Times=1, AccessType=TELNET)
Oct 21 2013 15:25:47 HUAWEI %%01SHELL/4/LOGINFAILED(s)[23]:Failed to login. (Ip=
10.135.26.211, UserName=**, Times=2, AccessType=TELNET)
---- More ----
2、查看概要的日志缓冲区的日志信息。
<HUAWEI> display logbuffer summary
SLOT EMERG ALERT CRIT ERROR WARN NOTIF INFO DEBUG
8 0 0 0 36 476 0 0 0
0 0 0 0 36 476 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0
22、查看日志文件信息
<HUAWEI> display logfile logfile/log.log
################################################################
# This logfile is generated at slot 8
################################################################
Jun 12 2012 09:37:08 HUAWEI %%01ALML/4/PUBLISH_EVENT(l)[40674]:Publish event. (
Slot=6,Eventid=BOARD_RESET)
Jun 12 2012 09:37:08 HUAWEI %%01LOAD/4/LOAD_RESULT(l)[40675]:Load result is "Bo
ard[6] is reset or power off or pulled out when loading ".
Jun 12 2012 09:37:09 HUAWEI ENTMIB/4/TRAP:OID 1.3.6.1.2.1.47.2.0.1 Entity MIB c
hange.
Jun 12 2012 09:38:47 HUAWEI %%01LOAD/4/LOAD_RESULT(l)[40680]:Load result is "
Software (include bootload) has been downloaded to LPU board on slot 6!
The LPU is being reset to finish startup download
Total 1 file(s) download to 6 LPU.
Download file(ID/Index):2010000/6 ".
Jun 12 2012 09:38:47 HUAWEI %%01ALML/4/ENTRESET(l)[40681]:LPU frame[1] board[6]
is reset, The reason is: Reset for load.
Jun 12 2012 09:38:47 HUAWEI %%01ALML/4/PUBLISH_EVENT(l)[40682]:Publish event. (
Slot=6,Eventid=BOARD_RESET)
23、查看Trap缓冲区记录的信息
<HUAWEI> display trapbuffer
Trapping buffer configuration and contents : enabled
Allowed max buffer size : 1024
Actual buffer size : 256
Channel number : 3 , Channel name : trapbuffer
Dropped messages : 0
Overwritten messages : 6248
Current messages : 256
#Sep 19 2012 04:38:03+08:00 HUAWEI DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011
.5.25.191.3.1 configurations have been changed. The current change number is 8,
the change loop count is 0, and the maximum number of records is 4095.
#Sep 19 2012 04:37:39+08:00 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.2
5.207.2.2 A user login. (UserIndex=34, UserName=VTY, UserIP=10.135.18.114, UserC
hannel=VTY0)
#Sep 19 2012 02:50:24+08:00 HUAWEI LINE/5/VTYUSERLOGOUT:OID 1.3.6.1.4.1.2011.5.
25.207.2.4 A user logout. (UserIndex=35, UserName=VTY, UserIP=10.135.18.164, Use
rChannel=VTY1)
#Sep 19 2012 02:40:19+08:00 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.2
5.207.2.2 A user login. (UserIndex=35, UserName=VTY, UserIP=10.135.18.164, UserC
hannel=VTY1)
#Sep 19 2012 02:35:23+08:00 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.2
5.207.2.2 A user login. (UserIndex=34, UserName=VTY, UserIP=10.135.18.57, UserCh
annel=VTY0)
……
© 版权声明
THE END
暂无评论内容