System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Configure bulk statistics transfer options

Want to summarize with AI?

Log in

Configure options to determine how collected bulk statistics (MIB) data are transferred from the device to a remote management station.


Set up periodic transfer of collected bulk MIB data using SNMP bulkstat, ensuring efficient file management and reliable delivery to a network management system.

Before starting, ensure you have defined both bulk statistics object lists and bulk statistics schemas. These prerequisites must be configured to enable bulk statistics transfer. The following steps guide you through configuring the transfer options for periodic MIB data collection.

Before you begin

  • Bulk statistics object lists must be defined.

  • Bulk statistics schemas must be defined.

Procedure

1.

Define the bulk statistics transfer configuration.

Example:

Router# configure terminal
Router(config)# snmp-server mib bulkstat transfer bulkstat1
2.

(Optional) Set the maximum buffer size (in bytes) for the data file:

Example:

Router(config-bulk-tr)#buffersize 3072

The valid range is from 1024 to 2147483647 bytes.

Note

If the maximum buffer size for a bulk statistics file is reached before the transfer interval time expires, all additional data received is deleted. To correct this behavior, you can decrease the polling frequency, or increase the size of the bulk statistics buffer.

3.

(Optional) Specify the format of the statistics file:

Example:

Router(config-bulk-tr)#format schemaASCII
Note

Only schemaASCII is supported for transfers.

4.

Associate one or more schemas with the transfer configuration:

Example:

Router(config-bulk-tr)#schema TenGigE 0/5/0/11/1
5.

(Optional) Set how often the statistics file is transferred (in minutes).

Example:

Router(config-bulk-tr)#transfer-interval 20
6.

Define the primary transfer destination and protocol (URL).

Example:

Router(config-bulk-tr)# url primary 
ftp://user:password@host/folder/bulkstat1
7.

Define a secondary (backup) transfer destination:

Example:

Router(config-bulk-tr)# url secondary 
tftp://10.1.0.1/tftpboot/user/bulkstat1
8.

Set the number of transfer retries if the transfer fails:

Example:

Router(config-bulk-tr)#retry 1
9.

Set how long (in minutes) the statistics file is retained after transfer:

Example:

Router(config-bulk-tr)#retain 60

The valid range is from 0 to 20000. For retries, retain must be greater than 0.

10.

Enable the bulk statistics transfer process.

Example:

Router(config-bulk-tr)#enable

The device is now configured to periodically collect and transfer bulk statistics (MIB data) to the specified network management station. Data transfer will begin based on the defined interval and will follow your chosen file size, format, destinations, and retry options.