Huawei S9300 Configuration Manual page 48

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
l
l
Procedure
Step 1 Configure available routes between the switch and the NM stations. Details for the configuration
procedure are not provided here.
Step 2 Enable the SNMP agent.
<Quidway> system-view
[Quidway] snmp-agent
Step 3 Configure the switch to run SNMPv1.
[Quidway] snmp-agent sys-info version v1
# 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 and allow NMS2 to manage every MIB object except HGMP on the
switch.
[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 trap address udp-domain 1.1.1.2 params
securityname 1.1.3.1
[Quidway] snmp-agent trap source Loopback0
[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 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
Issue 01 (2012-03-15)
Lifetime of trap packets
Equipment administrator's contact information
SNMPv1 SNMPv3
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 SNMP Configuration
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents