EasyManua.ls Logo

Huawei Quidway S5700 Series - Page 51

Huawei Quidway S5700 Series
415 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
[Quidway] display snmp-agent sys-info version
SNMP version running in the system:
SNMPv2c SNMPv3
Step 4 Configure the NM stations' access rights.
# Configure an ACL to allow NMS2 to manage and disallow NMS1 from managing the
switch.
[Quidway] acl 2001
[Quidway-acl-basic-2001] rule 5 permit source 1.1.1.2 0.0.0.0
[Quidway-acl-basic-2001] rule 6 deny source 1.1.1.1 0.0.0.0
[Quidway-acl-basic-2001] quit
# Configure a MIB view.
[Quidway] snmp-agent mib-view excluded allexthgmp 1.3.6.1.4.1.2011.6.7
# Configure a community name to allow NMS2 to manage the objects in the MIB view.
[Quidway] snmp-agent community write adminnms2 mib-view allexthgmp acl 2001
Step 5 Configure the trap function.
[Quidway] snmp-agent target-host inform address udp-domain 1.1.1.2 params
securityname 1.1.2.1 v2c
[Quidway] snmp-agent inform timeout 15 resend-times 3 pending 39
[Quidway] snmp-agent notification-log enable
[Quidway] snmp-agent notification-log global-ageout 12
Step 6 Configure the equipment administrator's contact information.
[Quidway] snmp-agent sys-info contact call Operator at 010-12345678
Step 7 Configure 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 SNMP community name.
<Quidway> display snmp-agent community
Community name:adminnms2
Group name:adminnms2
Acl:2001
Storage-type: nonVolatile
# 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 allexthgmp
View name:allexthgmp
MIB Subtree:hwCluster
Subtree mask:
Storage-type: nonVolatile
View Type:excluded
View status:active
# Check the target host.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management 1 SNMP Configuration
Issue 01 (2011-10-26) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
40

Table of Contents

Related product manuals