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

Configuring Collectors and Receivers

To configure the router to collect statistics:

  1. Add names to the FTP host table for the primary and secondary (optional) receivers.

    See Copying and Redirecting Files in Managing the System , for information about adding names to the host table.

  2. Specify the type of interface on which you want to collect statistics.
    host1(config)#bulkstats interface-type ppp collector 2
  3. Specify the parameters for the receivers.
    host1(config)#bulkstats receiver 1 remote-name js:/ftptest/bulk%s%s.sts sysName sysUpTime
  4. Assign the data collector.
    host1(config)#bulkstats collector 2
  5. Specify the method for data collection.
    host1(config)#bulkstats collector 2 collect-mode auto
  6. Assign the primary receiver.
    host1(config)#bulkstats collector 2 primary-receiver 1
  7. (Optional) Assign the secondary receiver.
    host1(config)#bulkstats collector 2 secondary-receiver 5
  8. (Optional) Specify the time for which the system transfers data.
    host1(config)#bulkstats collector 2 interval 1000
  9. (Optional) Set the maximum size of the bulk statistics file.
    host1(config)#bulkstats collector 2 max-size 20480
  10. (Optional) Add descriptive information to the bulk statistics file.
    host1(config)#bulkstats collector 2 description customer xyz
  11. (Optional) Set the encoding scheme of the ifDescr and ifName objects.
    host1(config)#bulkstats interfaces description-format common
  12. (Optional) Set the system to retrieve bulk statistics once only.
    host1(config)#bulkstats collector 2 single-interval
  13. (Optional) Configure bulk statistics traps.
    host1(config)#bulkstats traps nearly-full
  14. (Optional) Collect bulk statistics per virtual router.
    host1(config)#bulkstats virtual-router-group collector 2 routerISP3

    Note: The bulk statistics feature supports generating files on a per interface basis.

bulkstats collector

bulkstats collector

bulkstats collector

bulkstats collector

bulkstats collector

bulkstats collector

bulkstats collector

bulkstats collector

bulkstats interfaces description-format common

bulkstats interface-type

bulkstats receiver remote-name

bulkstats traps

bulkstats virtual-router-group


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