set collection-interval

To specify the interval at which statistics are collected from the system, use the set collection-interval command.

set collection-interval { 1minute | 2minutes | 30seconds | 5minutes }

Syntax Description

1minute

Statistics are collected at an interval of one minute.

2minutes

Statistics are collected at an interval of two minutes.

30seconds

Statistics are collected at an interval of thirty seconds.

5minutes

Statistics are collected at an interval of five minutes.

Command Default

Statistics are collected at an interval of one minute.

Command Modes

Statistics collection policy (/monitoring/stats-collection-policy)

Command History

Release Modification
1.0(1)

This command was introduced.

Usage Guidelines

Use this command to specify the interval at which statistics are collected from the system. You can specify the collection interval separately for chassis, port, host, adapter, and server statistics.

Examples

This example shows how to set the port statistics collection interval to five minutes:

switch-A# scope monitoring
switch-A /monitoring # scope stats-collection-policy port
switch-A /monitoring/stats-collection-policy # set collection-interval 5minutes
switch-A /monitoring/stats-collection-policy* # commit-buffer
switch-A /monitoring/stats-collection-policy #

Related Commands

Command

Description

set reporting-interval

 

show stats-collection-policy