Huawei NetEngine5000E Configuration Manual page 96

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
[~HUAWEI] snmp-agent community write adminnms2 mib-view allexthgmp acl 2001
[~HUAWEI] commit
Step 5 Configure the trap function.
[~HUAWEI] snmp-agent target-host trap address udp-domain 1.1.1.2 params
securityname 1.1.3.1
[~HUAWEI] snmp-agent trap enable
[~HUAWEI] commit
Step 6 Configure the contact information of the equipment administrator.
[~HUAWEI] snmp-agent sys-info contact call Operator at 010-12345678
[~HUAWEI] commit
Step 7 Configure NMS2.
For details on how to configure NMS2, see the relevant NMS configuration guide.
Step 8 Verify the configuration.
After the configuration is complete, run the following commands to verify that the configuration
has taken effect.
# Check the configured SNMP version.
[~HUAWEI] display snmp-agent sys-info version
SNMP version running in the system:
# Check information about the SNMP community name.
<HUAWEI> display snmp-agent community
# Check the configured ACL.
<HUAWEI> display acl 2001
Basic ACL 2001, 2 rules
Acl's step is 5
rule 5 permit source 1.1.1.2 0.0.0.0
rule 6 deny source 1.1.1.1 0.0.0.0
# Check the MIB view.
<HUAWEI> display snmp-agent mib-view viewname allexthgmp
View name:allexthgmp
# Check the target host.
<HUAWEI> display snmp-agent target-host
Target-host NO. 1
-----------------------------------------------------------
Host-name
IP-address
VPN instance
Security name : 1.1.3.1
Port
Type
Version
Level
NMS type
-----------------------------------------------------------
Issue 01 (2011-10-15)
SNMPv1 SNMPv3
Community name:adminnms2
Group name:adminnms2
Acl:2001
Storage-type: nonVolatile
MIB Subtree:huaweiUtility.7
Subtree mask:
Storage-type: nonVolatile
View Type:excluded
View status:active
: targetHost_1_25846
: 1.1.1.2
: -
: 162
: trap
: v1
: No authentication and privacy
: NMS
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 SNMP Configuration
88

Advertisement

Table of Contents
loading

Table of Contents