[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Using the Bulk Statistics Formatter

The bulk statistics formatter allows you to set a remote filename dynamically and specify the format for the end of each line in the bulkstats file.

Setting Remote Filenames

The router supports the following special characters for remote filenames:

The % variables in the remote name are replaced at runtime with the sysName and sysUpTime parameters to produce variable filenames on the remote host.

See the bulkstats receiver remote-name command.

host1(config)#bulkstats receiver 1 remote-name "bulk%s%d.sts" sysName 
collectorSequence

Guidelines

The current capabilities and limitations of the bulk statistics formatter are:

  1. Use sequential values, beginning from 1
  2. Persist through system reboot

Specifying End of Line Format

By default, the bulk statistics application generates a DOS-compatible file that contains both a carriage return (CR) and line feed (LF) at the end of each line. The existence of a carriage return at the end of a line may cause formatting issues with some applications that do not ignore or remove carriage returns.

You can set up the system to remove the carriage return and leave only a line feed at the end of each line.

bulkstats file-format endOfLine-LF


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]