
<Switch>
display snmp-agent group
Group name: test1
Security model: v3 noAuthnoPriv
Readview: a
Writeview: a
Notifyview :a
Storage-type: nonVolatile
Group name: test2
Security model: v3 noAuthnoPriv
Readview: b
Writeview: b
Notifyview :b
Storage-type: nonvolatile
# View information about the user.
[Switch]
display snmp-agent usm-user
User name: NMS1
Engine ID: 000007DB7FFFFFFF00005BD0 active
User name: NMS2
Engine ID: 000007DB7FFFFFFF00005BD0 active
# View information about the Inform mode.
<Switch>
display snmp-agent inform
Global config: resend-times 3, timeout 15s, pending 39
Global status: current notification count 3
Target-host ID: VPN instance/IP-Address/Security name
-/1.1.1.1/NMS1:
Config: resend-times 3, timeout 15s
Status: retries 0, pending 0, sent 0, dropped 0, failed 0, confirmed 0
-/1.1.1.2/NMS2:
Config: resend-times 3, timeout 15s
Status: retries 0, pending 0, sent 0, dropped 0, failed 0, confirmed 0
----End
Configuration Files
The configuration file on the Switch is as follows:
#
sysname Switch
#
vlan batch 100
#
interface Vlanif100
ip address 1.1.2.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 100
port hybrid untagged vlan 100
ospf 1
area 0.0.0.0
network 1.1.2.0 0.0.0.255
#
#
snmp-agent
snmp-agent local-engineid 000007DB7F000001000079AB
snmp-agent sys-info version v3
snmp-agent group v3 test1 read-view a write-view a notify-view a
snmp-agent group v3 test2 read-view b write-view b notify-view b
snmp-agent target-host inform address udp-domain 1.1.1.2 params securityname NMS2
v3
snmp-agent target-host inform address udp-domain 1.1.1.1 params securityname NMS1
v3
snmp-agent mib-view included a iso
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1 SNMP Configuration
Issue 03 (2010-09-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1-85