clear-cache
The clear-cache command allows you to clear a specified cache entry on the Oracle Communications Session Border Controller.
clear-cache dns
Syntax
clear-cache dns <realm id | “all” > <cache entry key | “all”> 
                     		This command allows you to clear a specified DNS cache entry or all entries.
Arguments
- <realm id | all> Specify the realm whose DNS cache you want to clear or enter all if you want to clear the cache of all realms
 - <cache entry key> Enter a specific cache entry key or enter all for all entries. A specified cache entry key should take one of the following forms. 
			 
                           
- NAPTR entries—NAPTR:test.com
 - SRV entries—SRV:_sip_udp.test.com
 - A entries—A:test.com
 
 
Example
ORACLE# clear-cache dns public A:test.com 
                        		clear-cache enum
This command allows you to clear a specified ENUM cache entry or all entries.
Syntax
clear-cache enum <EnumConfig Name | “all”> [cache entry key | “all”] 
                     	 Arguments
- <EnumConfig Name> Enter the name of the specific EnumConfig for which you want to clear the cache
 - <cache entry key> Enter the cache key of the specific EnumConfig for which you want to clear the cache
 - <all> Enter all to clear all caches. In order for this command to work the DNS cache needs to be cleared.
 
Example
ORACLE# clear-cache enum enum1 
                        		clear-cache registration
The clear-cache registration command allows you to clear the registration cache for a specified protocol.
Syntax
clear-cache registration <sip | h323> <type> 
                     	 Arguments
Example
- <sip> Clear the SIP registration cache. The following are the types of information for which you can clear: 
			 
                           
- all
 - by-ip <IPaddress>
 - by-user <phone number>
 
 - <h323> Clear the H.323 registration cache. The following are the types of information for which you can query: 
			 
                           
- all
 - by-alias <terminalAlias>
 
 
ORACLE# clear-cache registration sip all