![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 94](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487094.webp)
snmp-agent notification-log
{
global-ageout
ageout
|
global-limit
limit
} *
The aging time of alarm logs and the maximum pieces of alarm logs allowed to be saved in the
log buffer are set.
By default, the aging time of alarm logs is 24 hours. If the aging time expires, the alarms logs
are automatically deleted.
By default, the log buffer can save a maximum of 500 alarm logs. If the number exceeds the
limit, the alarm log saved earliest is deleted first.
----End
1.18.8 Checking the Configuration
After sending traps in Inform mode is enabled, you can view corresponding parameters.
Prerequisite
The configurations of the Alarms in the Informing Mode are complete.
Procedure
l
Run the
display snmp-agent target-host
command to view the information about
destination host.
l
Run the
display snmp-agent inform
[
address
udp-domain
ip-address
[
vpn-instance
vpn-instance-name
]
params
securityname
security-string
] command to view the
parameters about the Informing mode configured globally or on specified destination host
and statistics about the host.
l
Run the
display snmp-agent notification-log
info
command to view the information about
alarm logs in the alarm buffer.
----End
Example
Run the
display snmp-agent target-host
command, and you can view information about the
destination host.
<Quidway>
display snmp-agent target-host
Target-host NO. 1
-----------------------------------------------------------
IP-address : 2.2.2.2
VPN instance : -
Security name : abc
Port : 23
Type : inform
Version : v2c
Level : No authentication and privacy
NMS type : NMS
-----------------------------------------------------------
Target-host NO. 2
-----------------------------------------------------------
IP-address : 1.1.1.1
VPN instance : -
Security name : aaa
Port : 22
Type : trap
Version : v2c
Level : No authentication and privacy
1 SNMP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1-66
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)