Configuring Traffic Collector
Perform these tasks to configure the traffic collector.
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
configure Example:
|
Enters mode. |
||
Step 2 |
traffic-collector Example:
|
Enables traffic collector and places the router in traffic collector configuration mode. |
||
Step 3 |
statistics collection-interval value Example:
|
(Optional) Sets the frequency that the traffic collector collects and posts data, in minutes. Valid values are 1, 2, 3, 4, 5, 6, 10, 12,15, 20, 30, and 60. The default interval is 1. |
||
Step 4 |
statistics history-size value Example:
|
(Optional) Specifies the number of entries kept in the history database. Valid values are from 1 to 10. The default is 5.
|
||
Step 5 |
statistics history-timeout value Example:
|
(Optional) When a prefix SID or a tunnel-te interface is deleted, the history-timeout sets the length of time, in hours, that the prefix SID and tunnel statistics are retained in the history before they are removed. The minimum is one hour; the maximum is 720 hours. The default is 48.
|
||
Step 6 |
interface type l3-interface-address Example:
|
|
||
Step 7 |
Use the commit or end command. |
commit —Saves the configuration changes and remains within the configuration session.
|