< Home

bulk-file

Function

The bulk-file command creates a batch performance statistics file and accesses the bulk-file view.

The undo bulk-file command deletes a batch performance statistics file.

Format

bulk-file file-name

undo bulk-file file-name

Parameters

Parameter Description Value
file-name Specifies the name of a batch performance statistics file. The value is a string of 1 to 31 characters. The file name can contain only numbers, characters, or symbols " _ " and "-".

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command can be used only after the batch statistics function is enabled through the bulk-stat enable command.

If the file specified by file-name is created, you can directly enter the bulk-file view after running this command.

Ensure that the batch performance statistics file exists and statistics collection is stopped before deleting the batch performance statistics file; otherwise, corresponding error prompt is displayed.

Example

# Create a batch performance statistics file named iftable.

<sysname> system-view
[sysname] bulk-stat enable
[sysname] bulk-file iftable
[sysname-bulk-file-iftable]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >