Huawei S9300 Configuration Manual page 52

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
<Quidway> system-view
[Quidway] snmp-agent
Step 3 Configure the switch to run SNMPv2c.
[Quidway] snmp-agent sys-info version v2c
# Check the configured SNMP version.
[Quidway] 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
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 included allexthgmp iso
[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 trap enable
[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
# 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.
Issue 01 (2012-03-15)
SNMPv2c SNMPv3
Community name:adminnms2
Group name:adminnms2
Acl:2001
Storage-type: nonVolatile
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 SNMP Configuration
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents