Configuring a Separate Bulkstats Config File
You can configure a separate destination file for storing the bulk statistics sub-mode configuration. Run the
show configuration bulkstats
command to confirm the configuration.
The bulkstats configuration file stores the configuration that was previously stored in the system configuration
file under the bulk statistics sub-mode.
The Global Configuration mode
bulkstats config
command creates the separate configuration file in the
system configuration.
configure
[no] bulkstats config [ schema | supplement ] url
end
The optional
schema
keyword allows you to replace only the schema using the file provided and preserve
the server configuration. The optional
supplement
keyword allows you to supplement the running bulkstats
configuration with the contents of the configuration file provided. These keywords only work on existing
files.
url
specifies the location of the bulkstats configuration file. If the destination file already exists, it is replaced
with the new file (except when the
schema
or
supplement
keywords are used). The new file will only be
created if you save the configuration after completing changes. The Exec mode
show configuration bulkstats
command displays the URL for the bulkstats configuration mode destination file if it has been configured.
You can copy the bulkstats configuration file from the
url
, edit it and copy it back to /flash. Changes can be
applied by using the
no
form of the
bulkstats config
command followed by reconfiguring the
bulkstats
config
command.
When the
bulkstats config
command is enabled, StarOS removes the existing bulk statistics sub-mode
configuration from the system configuration file. You must save the system configuration to retain the
configuration change.
If
no bulkstats config
is used to disable the new destination file after it has been enabled. StarOS does not
remove the file. You must save the system configuration to retain the configuration change.
After completing changes to the bulk statistics configuration, you must save the system configuration to
save the changes. If the
bulkstats config
command is enabled, the bulkstats configuration file will be
updated.
Important
Using show bulkstats Commands
There are several Exec mode
show bulkstats
commands that display information about defined parameters.
•
show bulkstats data
–
displays criteria contained in the statistics gathering scheme for up to four files.
See
Viewing Collected Bulk Statistics Data, on page 120
.
•
show bulkstats schemas
–
displays the scheme used to gather statistics including collection and
transmission statistics. See
Verifying Your Configuration, on page 119
.
•
show bulkstats variables
–
displays available bulkstat variables (%
variable
%) by schema type that can
be incorporated into a schema format.
ASR 5500 System Administration Guide, StarOS Release 21.5
118
Bulk Statistics
Configuring a Separate Bulkstats Config File