Command Reference Guide
clear ip cache
Use the clear ip cache command to delete cache table entries. Add the counters parameter to reset the
counters on the cache table. The command can be limited to a specific VPN routing and forwarding (VRF).
Variations of this command include:
clear ip cache
clear ip cache counters
clear ip cache vrf <name>
clear ip cache vrf <name> counters
Syntax Description
counters
vrf <name>
Default Values
No default values are necessary for this command.
Command History
Release 11.1
Release 14.1
Release 16.1
Functional Notes
VRF on AOS products allows a single physical router to be partitioned into multiple virtual routers. Each
router instance has its own route table and interface assignments. Beginning with Release 16.1, all AOS
routers supporting multiple VRF instances (multi-VRF) have an unnamed default VRF instance regardless
of whether multi-VRF is configured. Therefore, executing the abovementioned commands without
specifying a VRF will only affect the default unnamed VRF.
Usage Examples
The following example removes all entries from the cache table:
>enable
#clear ip cache
The following example resets all fast-cache entries just for the VRF RED:
>enable
#clear ip cache vrf RED counters
60000CRG0-35E
Optional. Resets counters in the cache table.
Optional. Clears all fast-cache entries for a specific VRF.
Command was introduced.
Command was expanded to include the counters parameter.
Command was expanded to include the vrf parameter.
Copyright © 2012 ADTRAN, Inc.
Enable Mode Command Set
118
Need help?
Do you have a question about the AOS Version R10.1.0 and is the answer not in the manual?
Questions and answers