Cisco CCNA (640-553) Security Training

 

Using the “cache clear age” command

 

By Charles Ross CCNA - CCNP #CSCO10444244

 

In today’s article, I’m going to quickly inform you about the Cisco IOS AAA filter configuration mode command named “cache clear age”

 

CCNAs (like you) use the “cache clear age” command to specify when cache entries expire, in minutes, and the cache is cleared.

 

In other words, network administrators (like you) use the command to indicate (in minutes) how long a cache entry should stay in cache before it’s removed.

 

Note: If you don’t use the command, the default time a cache entry will remain in cache is 1440 minutes or 1 day.

 

Below is the command’s syntax:

 

cache clear age minutes

 

As you can see, the command is very simple to perform, and the minutes argument is the number of “minutes” a cache entry should stay in cache. The minutes argument value can be any number from 0 to 4294967295. 

 

Below is an example of the command being used:

 

Router>enable

Router#configure terminal

Router(config)#aaa cache filter

Router(config-aaa-filter)#cache clear age 30

Router(config-aaa-filter)#end

Router#copy run start

 

In the example above, the router will keep a (AAA) cache entry for 30 minutes before it gets rid of it (removes it from cache).

 

And, like with mostly all Cisco IOS commands; you can use the word “no” in front of the command to remove (disable) the configured command; like you see below:

 

Router(config-aaa-filter)#no cache clear age 30

 

By the way, if you decide to use the command, make sure your router(s) is running Cisco IOS 12.2(13)T or higher.

 

I hope this article was very informative and helped you quickly understand the usage of the cache clear age command. If you need to learn more; I suggest you visit my website, (www.ittechtips.com) were you’ll find the latest information regarding the Cisco CCNA (640-553) Security exam techniques.

 

To your success,

 

Charles Ross

CCNA- CCNP #CSCO10444244

http://www.ittechtips.com