![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 99](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487099.webp)
Pre-configuration Tasks
None.
Data Preparation
To configure the constant interface index feature, you need the following data.
No.
Data
1
Maximum number of interfaces with constant indexes
2
Memory distribution mode when the sub-interface is used
1.21.2 Enabling the Constant Interface Index Feature
After the constant interface index feature is configured, indexes of the current interfaces and
newly-created interfaces are constant. Before restarting the switch, you need to run the save
command to save the interface configuration. Otherwise, the interface index changes after the
switch startup.
Context
NOTE
Do as follows on the switch enabled with the SNMP agent.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ifindex constant
Constant interface index feature is enabled.
Before swapping the interface board or restarting the system, use the
save
command to save the
configuration file of the current interface index. Otherwise, the interface index may change after
the system restarted.
----End
1.21.3 Setting the Maximum Number of Interfaces with Constant
Indexes
As the system runs, interfaces are added or deleted frequently, generating large number of
interface index files. These files are stored in the storage device, which consumes excessive
system resources. To ensure that the interface index file is within the expected size, you can set
the maximum number of fixed indexes for the interface.
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-71