Example For Configuring A Device To Communicate With An Nm Station By Using Snmpv2C - Huawei NetEngine5000E Configuration Manual

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
# Check the contact information of the equipment administrator.
<HUAWEI> display snmp-agent sys-info contact
The contact person for this managed node:
----End
Configuration Files
Configuration file of the router
#
acl number 2001
rule 5 permit source 1.1.1.2 0.0.0.0
rule 6 deny source 1.1.1.1 0.0.0.0
#
interface GigabitEthernet1/0/0
undo shutdown
ip address 1.1.2.1 255.255.255.0
#
interface loopback0
ip address 1.1.3.1 255.255.255.255
#
ospf 1
area 0.0.0.0
network 1.1.2.0 0.0.0.255
network 1.1.3.1 0.0.0.0
#
snmp-agent
snmp-agent local-engineid 800007DB03360102101100
snmp-agent community write
#
snmp-agent sys-info contact call Operator at 010-12345678
snmp-agent sys-info version v1 v3
snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname
1.1.3.1
#
snmp-agent mib-view excluded allexthgmp hwCluster
#
snmp-agent trap enable
#
return
3.5.2 Example for Configuring a Device to Communicate with an
NM Station by Using SNMPv2c
This section provides an example to describe how to configure a device to communicate with
an NM station by using SNMPv2c and how to specify the MIB objects that can be managed by
the NM station.
Networking Requirements
On a single NE5000E, an interface is numbered in the format of slot number/card number/
interface number. In the multi-chassis scenario, an interface is numbered in the format of chassis
ID/slot number/card number/interface number. This requires the chassis ID to be specified along
with the slot number.
Issue 01 (2011-10-15)
call Operator at 010-12345678
CAUTION
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
adminnms2 mib-view allexthgmp acl 2001
3 SNMP Configuration
89

Advertisement

Table of Contents
loading

Table of Contents