
Step 2
Configure a statistics file, including statistics collection interval, statistics uploading interval,
period for reserving the statistics file, and the primary URL to which the statistics file is uploaded.
# Set the statistics collection interval, the statistics uploading interval, and the period for
reserving the file named
file1
to 10 minutes. Set the primary URL of the statistics file to FTP
mode.
[Switch]
bulk-file file1
[Switch-bulk-file-file1]
collect interval 10
[Switch-bulk-file-file1]
transfer interval 10
[Switch-bulk-file-file1]
transfer remain-time 10
[Switch-bulk-file-file1]
transfer primary url ftp://user:pwd@server
Step 3
Configure the statistics objects.
# Collect statistics about a single object.
[Switch-bulk-file-file1]
object 1.3.6.1.2.1.2.1.0 class single
# Collect statistics about a column of objects.
[Switch-bulk-file-file1]
object 1.3.6.1.2.1.2.2.1.4 class column
Step 4
Enable the statistics file.
[Switch-bulk-file-file1]
collect enable
Step 5
Verify the configuration.
Run the
display bulk-stat
command to view information about the module enabled with the
batch statistics collection function and the
display bulk-stat filename
command to view details
about the statistics file.
# View details about the file named
file1
.
[Switch]
display bulk-stat file1
bulk file file1:
----------------------------------
storage: ephemeral
format: bulkASCII
collect interval: 10 min
transfer interval: 10 min
primary transfer URL: ftp://user:pwd@server
secondary transfer URL: NULL
transfer retry times: 5
file remain time: 10 min
status: ready
last transfer success time: NULL
last transfer fail time: NULL
total object number: 2
----------------------------------
index: 1
class: single
OID: 1.3.6.1.2.1.2.1.0
start index: NULL
instance number: NULL
----------------------------------
index: 2
class: column
OID: 1.3.6.1.2.1.2.2.1.4
start index: 0
instance number: 0
----------------------------------
----End
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-87