Huawei AR150/200 Series Configuration Manual page 44

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
# Check the target host.
<Huawei> display snmp-agent target-host
# When an alarm is generated, run the display trapbuffer command to view the details.
<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 : 0
Current messages : 98
#Oct 11 2010 18:57:59+00: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 95,
the change loop count is 0, and the maximum number of records is 4095.
# Check the equipment administrator's contact information.
<Huawei> display snmp-agent sys-info contact
The contact person for this managed node:
----End
Configuration Files
Configuration file of the router
#
acl number 2001
rule 5 permit source 1.1.1.2 0
rule 6 deny source 1.1.1.1 0
#
interface Ethernet1/0/0
ip address 1.1.2.1 255.255.255.0
#
ospf 1
area 0.0.0.0
network 1.1.2.0 0.0.0.255
#
snmp-agent local-engineid 000007DB7FFFFFFF00001AA7
snmp-agent community write adminnms2 mib-view dnsmib acl 2001
snmp-agent sys-info contact call Operator at 010-12345678
snmp-agent sys-info version v1
Issue 02 (2012-03-30)
View name:dnsmib
MIB Subtree:hwDnsMib
Subtree mask:
Storage type: nonVolatile
View Type:included
View status:active
Traphost list:
Target host name: nms2
Traphost address: 1.1.1.2
Traphost portnumber: 162
Target host parameter: trapnms2
Total number is 1
Parameter list trap target host:
Parameter name of the target host: trapnms2
Message mode of the target host: SNMPV1
Trap version of the target host: v1
Security name of the target host: adminnms2
Total number is 1
call Operator at 010-12345678
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 SNMP Configuration
33

Advertisement

Table of Contents
loading

Table of Contents