Huawei NetEngine5000E Configuration Manual page 99

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
Procedure
Step 1 Configure available routes between the router and the NM stations. Details for the configuration
procedure are not provided here.
Step 2 Enable the SNMP agent.
<HUAWEI>
[~HUAWEI] snmp-agent
[~HUAWEI] commit
Step 3 Configure the router to run SNMPv2c.
[~HUAWEI] snmp-agent sys-info version v2c
[~HUAWEI] commit
# Check the configured SNMP version.
[~HUAWEI] display snmp-agent sys-info version
SNMP version running in the system:
Step 4 Configure the NM stations access rights.
# Configure an ACL to allow NMS2 to manage and disallow NMS1 from managing the
router.
[~HUAWEI] acl 2001
[~HUAWEI-acl-basic-2001] rule 5 permit source 1.1.1.2 0.0.0.0
[~HUAWEI-acl-basic-2001] rule 6 deny source 1.1.1.1 0.0.0.0
[~HUAWEI-acl-basic-2001] commit
[~HUAWEI-acl-basic-2001] quit
# Configure a MIB view.
[~HUAWEI] snmp-agent mib-view excluded allexthgmp 1.3.6.1.4.1.2011.6.7
[~HUAWEI] commit
# Configure a community name to allow NMS2 to manage the objects in the MIB view.
[~HUAWEI] snmp-agent community write adminnms2 mib-view allexthgmp acl 2001
[~HUAWEI] commit
Step 5 Configure the trap function.
[~HUAWEI] snmp-agent target-host inform address udp-domain 1.1.1.2 params
securityname 1.1.2.1
[~HUAWEI] snmp-agent inform timeout 5 resend-times 6 pending 7
[~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:
Issue 01 (2011-10-15)
system-view
SNMPv2c SNMPv3
SNMPv2c SNMPv3
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 SNMP Configuration
91

Advertisement

Table of Contents
loading

Table of Contents