Example
Run the
display snmp-agent usm-user
command. You can view SNMP user information.
<HUAWEI>
display snmp-agent usm-user
User name: John
Engine ID: 800007DB03360102101100 active
Authentication Protocol: md5
Privacy Protocol: des56
Group-name: group1
Run the
display snmp-agent sys-info version
command. You can view the SNMP version
running on the agent.
<HUAWEI>
display snmp-agent sys-info version
SNMP version running in the system:
SNMPv3
Run the
display acl
acl-number
command. You can view the rules in the specified ACL.
<HUAWEI>
display
acl
2000
Basic ACL 2000, 1 rule
Acl's step is 5
rule 5 permit source 1.1.1.1 0 (0 times matched)
Run the
display snmp-agent mib-view
command. You can view the MIB view.
<HUAWEI>
display snmp-agent mib-view
View name:ViewDefault
MIB Subtree:internet
Subtree mask:
Storage-type: nonVolatile
View Type:included
View status:active
View name:ViewDefault
MIB Subtree:snmpUsmMIB
Subtree mask:
Storage-type: nonVolatile
View Type:excluded
View status:active
View name:ViewDefault
MIB Subtree:snmpVacmMIB
Subtree mask:
Storage-type: nonVolatile
View Type:excluded
View status:active
View name:ViewDefault
MIB Subtree:snmpCommunityMIB
Subtree mask:
Storage-type: nonVolatile
View Type:excluded
View status:active
Run the
display snmp-agent sys-info
contact
command. You can view the equipment
administrator's contact information.
<HUAWEI>
display snmp-agent sys-info contact
The contact person for this managed node:
R&D Beijing, Huawei Technologies co.,Ltd.
Run the
display snmp-agent sys-info
location
command. You can view the location of the
device.
<HUAWEI>
display snmp-agent sys-info location
The physical location of this node:
Beijing China
Run the
display current-configuration
|
include
max-size
command. You can view the
allowable maximum size of an SNMP packet.
<HUAWEI>
display current-configuration | include max-size
snmp-agent packet max-size 1800
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
3 SNMP Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
84