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
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:snmpModules.18
Subtree mask:
Storage type: nonVolatile
View Type:excluded
View status:active
Total number is 1
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
trap
command. You can view trap
configurations.
<Huawei>
display current-configuration | include trap
snmp-agent trap enable
Run the
display snmp-agent extend error-code status
command. You can view whether the
SNMP extended error code feature is enabled.
<Huawei>
display snmp-agent extend error-code status
Extend error-code status:enabled
Run the
display snmp-agent target-host
command. You can view information about the target
host.
<Huawei>
display snmp-agent target-host
Traphost list:
Target host name: nsm2
Traphost address: 1.1.1.2
Traphost portnumber: 162
Target host parameter: trapnsm2
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
1 SNMP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
21