Huawei NetEngine5000E Configuration Manual page 103

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
Step 3 Configure the router to run SNMPv3.
[~HUAWEI] snmp-agent sys-info version v3
[~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 an SNMPv3 user group and add a user to the group, and configure authentication
for the NMS administrator and privacy for the data transmitted between the router and NMS2.
[~HUAWEI] snmp-agent usm-user v3 nms2-admin admin authentication-mode md5 87654321
privacy-mode des56 87654321
[~HUAWEI] snmp-agent group v3 admin privacy write-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 v3
[~HUAWEI] snmp-agent trap enable
Warning: All switches of SNMP trap/notification will be open. Continue? [Y/N]: Y
[~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 the NM station.
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 the user group information.
<HUAWEI> display snmp-agent group admin
Issue 01 (2011-10-15)
SNMPv3
SNMPv3
Group name: admin
Security model: USM privacy
Readview: ViewDefault
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 SNMP Configuration
95

Advertisement

Table of Contents
loading

Table of Contents