Step 4
Run:
set constant-ifindex subinterface
{
dense-mode
|
sparse-mode
}
The memory distribution mode for the sub-interface index is set.
When a sub-interface is created, the system generates an index image file for the sub-interface
in the memory in a specified mode. You may use various sub-interface numbering modes, such
as the continuous mode or the discontinuous mode. In real-world situations, one of the following
distribution modes can be used as needed:
l
Sparse mode: applies to discontinuous sub-interface numbering.
l
Dense mode: applies to continuous sub-interface numbering.
----End
1.2.7 Checking the Configuration
After SNMPv1 functions are configured, you can view the SNMPv1 configurations.
Prerequisite
The configurations of basic SNMPv1 functions are complete.
Procedure
l
Run the
display snmp-agent community
command to check the configured community
name.
l
Run the
display snmp-agent sys-info
version
command to check the enabled SNMP
version.
l
Run the
display acl
acl-number
command to check the rules in the specified ACL.
l
Run the
display snmp-agent mib-view
command to check the MIB view.
l
Run the
display snmp-agent sys-info
contact
command to check the equipment
administrator's contact information.
l
Run the
display snmp-agent sys-info
location
command to check the location of the
device.
l
Run the
display snmp-agent target-host
command to check the information about the
target host.
l
Run the
display snmp-agent extend error-code status
command to check whether the
SNMP extended error code feature is enabled.
l
Run the
display constant-ifindex configuration
command to check the constant interface
index function and relevant configuration information.
----End
1.3 Configuring a Device to Communicate with an NM
Station by Running SNMPv2c
After SNMPv2c is configured, a managed device and an NM station can run SNMPv2c to
communicate with each other. To ensure normal communication, you need to configure both
sides. This section describes only the configurations on a managed device (the agent side). For
details about configurations on an NM station, see the pertaining NM station operation guide.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
1 SNMP Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
15