Huawei S9300 Configuration Manual page 56

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
# Configure an SNMPv3 user group and add a user to the group, and configure authentication
for the NMS administrator and encryption for the data transmitted between the switch and NMS2.
[Quidway] snmp-agent group v3 testgroup privacy write-view testview notify-view
testview acl 2001
[Quidway] snmp-agent usm-user v3 testuser testgroup authentication-mode md5
87654321 privacy-mode des56 87654321
Step 5 Configure the trap function.
[Quidway] snmp-agent trap enable
[Quidway] snmp-agent target-host trap address udp-domain 1.1.1.2 params
securityname testuser v3
[Quidway] snmp-agent trap source LOOPBACK 0
[Quidway] snmp-agent trap queue-size 200
[Quidway] snmp-agent trap life 60
Step 6 Configure the equipment administrator's contact information.
[Quidway] snmp-agent sys-info contact call Operator at 010-12345678
Step 7 Configure the NMS2.
For details on how to configure NMS2, see the relevant NMS configuration guide.
Step 8 Verify the configuration.
After the configurations are complete, run the following commands to verify that the
configurations have taken effect.
# Check information about the user group.
<Quidway> display snmp-agent group testgroup
# Check information about the user.
<Quidway> display snmp-agent usm-user
# Check the configured ACL.
<Quidway> display acl 2001
Basic ACL 2001, 2 rules
Acl's step is 5
rule 5 permit source 1.1.1.2 0
rule 6 deny source 1.1.1.1 0
# Check the MIB view.
<Quidway> display snmp-agent mib-view viewname testview
Issue 01 (2012-03-15)
Group name: testgroup
Security model: v3 AuthPriv
Readview: ViewDefault
Writeview: testview
Notifyview: testview
Storage-type: nonVolatile
Acl:2001
User name: testuser
Engine ID: 000007DB7F00000100004C3F active
View name:testview
MIB Subtree:iso
Subtree mask:80(Hex)
Storage-type: nonVolatile
View Type:included
View status:active
View name:testview
MIB Subtree:hwCluster
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 SNMP Configuration
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents