Task ID
Operations
Task ID
read, write
monitor
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
statistics
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
RP/0/0/CPU0:router(config-ipsla-udp-jitter)#
statistics hourly
RP/0/0/CPU0:router(config-ipsla-op-stats)#
The following example shows how to collect statistics for a specified time interval, using the
statistics
command in an IP SLA UDP jitter operation:
RP/0/0/CPU0:router#
configure
RP/0/0/CPU0:router(config)#
ipsla operation 1
RP/0/0/CPU0:router(config-ipsla-op)#
type udp jitter
RP/0/0/CPU0:router(config-ipsla-udp-jitter)#
statistics interval 60
RP/0/0/CPU0:router(config-ipsla-op-stats)#
The following example shows how to set the number of hours in which statistics are maintained for the IP
SLA MPLS LSP monitor ping operation, using the
statistics
command:
RP/0/0/CPU0:router#
configure
RP/0/0/CPU0:router(config)#
ipsla
RP/0/0/CPU0:router(config-ipsla)#
mpls lsp-monitor
RP/0/0/CPU0:router(config-ipsla-mplslm)#
monitor 1
RP/0/0/CPU0:router(config-ipsla-mplslm-def)#
type mpls lsp ping
RP/0/0/CPU0:router(config-ipsla-mplslm-lsp-ping)#
statistics hourly
RP/0/0/CPU0:router(config-ipsla-mplslm-stats)#
Related Commands
Description
Command
Sets the number of hours in which statistics are kept.
buckets (statistics hourly), on page 123
Refers to the data buckets in which the enhanced
history statistics are kept.
buckets (statistics interval), on page 125
Sets the number of statistics distributions that are kept
for each hop during the lifetime of the IP SLA
operation.
distribution count, on page 134
Sets the time interval (in milliseconds) for each
statistical distribution.
distribution interval, on page 136
Configures an IP SLA MPLS LSP monitor instance.
monitor, on page 168
Configures MPLS label switched path (LSP)
monitoring.
mpls lsp-monitor, on page 172
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
257
IP Service Level Agreement Commands
statistics