Configuring Collectors and Receivers
To configure the router to collect statistics:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Add names to the FTP host table for the primary and secondary (optional)
receivers.
See "Copying and Redirecting Files" on page 301 in "Managing the System" on
page 251, for information about adding names to the host table.
Specify the type of interface on which you want to collect statistics.
host1(config)#bulkstats interface-type ppp collector 2
Specify the parameters for the receivers.
host1(config)#bulkstats receiver 1 remote-name js:/ftptest/bulk%s%s.sts
sysName sysUpTime
Assign the data collector.
host1(config)#bulkstats collector 2
Specify the method for data collection.
host1(config)#bulkstats collector 2 collect-mode auto
Assign the primary receiver.
host1(config)#bulkstats collector 2 primary-receiver 1
(Optional) Assign the secondary receiver.
host1(config)#bulkstats collector 2 secondary-receiver 5
(Optional) Specify the time for which the system transfers data.
host1(config)#bulkstats collector 2 interval 1000
(Optional) Set the maximum size of the bulk statistics file.
host1(config)#bulkstats collector 2 max-size 20480
(Optional) Add descriptive information to the bulk statistics file.
host1(config)#bulkstats collector 2 description customer xyz
(Optional) Set the encoding scheme of the ifDescr and ifName objects.
host1(config)#bulkstats interfaces description-format common
(Optional) Set the system to retrieve bulk statistics once only.
host1(config)#bulkstats collector 2 single-interval
(Optional) Configure bulk statistics traps.
Chapter 4: Configuring SNMP
Collecting Bulk Statistics
199
Need help?
Do you have a question about the SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?
Questions and answers