![Cisco ASR 14000 Series Скачать руководство пользователя страница 616](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667616.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
SNMP Server Commands on Cisco IOS XR Software
snmp-server ifmib stats cache
SMR-614
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
snmp-server ifmib stats cache
To enable retrieval of cached statistics instead of real-time statistics, use the
snmp-server ifmib stats
cache
command. To revert to the default, use the
no
form of this command.
snmp-server ifmib stats cache
no snmp-server ifmib stats cache
Syntax Description
This command has no arguments or keywords.
Defaults
Cached statistics are not enabled.
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Cisco IOS XR statistics infrastructure maintains a cache of statistics for all interfaces. This cache is
updated every 30 seconds. Use the
snmp-server ifmib stats cache
command to enable the IF-MIB to
retrieve these cached statistics rather than real-time statistics. Accessing cached statistics is less
CPU-intensive than accessing real-time statistics.
Task ID
Examples
The following example shows how to enable the IF-MIB caches statistics:
RP/0/RP0/CPU0:Router(config)#
snmp-server ifmib stats cache
RP/0/RP0/CPU0:Router(config)#
exit
Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:
yes
RP/0/RP0/CPU0:Router#
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
snmp
read, write