By default, the log buffer can store a maximum of 500 alarm logs. If the number of alarm
logs in the log buffer exceeds 500, the device will delete the alarm logs from the earliest
one.
----End
1.3.6 (Optional) Configuring the Constant Interface Index Feature
This section describes how to configure the constant interface index feature. This feature allows
some interface indexes remain unchanged in the case of interface deletion or addition, system
restart, or hardware or software configuration change to meet the need of some functions such
as accounting and fault diagnosis that require fixed interfaces.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ifindex constant
The constant interface index feature is enabled.
After the feature is enabled, the indexes for all the existing interfaces and newly created interfaces
are fixed. If the system needs to restart, the
save
command must be run to save interface
configurations; otherwise, the interface indexes will change after the system is restarted.
Step 3
Run:
set constant-ifindex max-number
number
The maximum number of interfaces indexed by fixed numbers is set.
If interfaces are frequently added or deleted during system operation, the interface index file
stored in the device may have a great size and consume too many system resources. Setting the
maximum number of interfaces indexed by fixed numbers can prevent the interface index file
from exceeding an expected size.
After the maximum number of interfaces indexed by fixed numbers is set, the system will allocate
fixed indexes to interfaces within the specified value range. If the specified value is smaller than
the number of interfaces configured on the device, the system allocates fixed interface indexes
to the interfaces enabled earlier. The interfaces enabled later are not indexed by fixed numbers.
By default, a maximum of 131070 interfaces can be indexed by fixed numbers. If the value is
set to 0, no interfaces will be indexed by fixed numbers.
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.
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
1 SNMP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
24