Cisco Cisco Packet Data Interworking Function (PDIF) Prospecto
DNS Client Configuration Mode Commands
cache algorithm ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
3389
cache algorithm
Configures the method of use for the DNS VPN and session cache.
Product
MME
SCM
SGSN
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > DNS Client Configuration
configure > context context_name > dns-client client_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-dns-client)#
Syntax
cache algorithm { central | local } { FIFO | LRU | LFU }
default cache algorithm { central | local }
default
Sets the DNS VPN and session cache method to default setting.
central | local
central
: Specifies the central proclet (VPN manager)
local
: Specifies the local proclet (session manager)
FIFO | LRU | LFU
FIFO
: First in first out. This is the default setting for the central proclet.
LRU
: Least recently used. This is the default value for the local proclet.
LFU
: Least frequently used.
Usage
Use this command to configure the method by which entries are added and removed from the DNS cache.
Example
The following command configures the cache algorithm for the central proclet to least frequently used (LFU):
cache algorithm central lfu