buckets (statistics hourly)
To set the number of hours for which statistics are kept, use the bucket command in the appropriate
configuration mode. To use the default value, use the no form of this command.
buckets hours
no buckets
Syntax Description
Number of hours for which statistics are maintained for the IP SLA operations. Range is
0 to 25 in IP SLA operation statistics configuration mode, and 0 to 2 in IP SLA MPLS LSP
monitor statistics configuration mode.
hours
Command Default
The default value is 2.
Command Modes
IP SLA operation statistics configuration
IP SLA MPLS LSP monitor statistics configuration
Command History
ModificationRelease
This command was introduced.Release 3.3.0
This command was added to IP SLA MPLS LSP monitor statistics
configuration mode.
Release 3.5.0
Usage Guidelines
The buckets command with the hours argument is valid only for the statistics command with the hourly
keyword.
Task ID
OperationsTask ID
read, writemonitor
Examples
The following example shows how to set the number of hours in which statistics are maintained for the IP
SLA UDP jitter operation for the buckets command:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# ipsla
RP/0/0/CPU0:router(config-ipsla)# operation 1
RP/0/0/CPU0:router(config-ipsla-op)# type udp jitter
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 123
IP Service Level Agreement Commands
buckets (statistics hourly)