cache-memory-max
To set a percentage of the system memory for cache, use the cache-memory-max command. To remove a
percentage of system memory for cache, use the no form of this command.
cache-memory-max cache-config-percentage
no cache-memory-max cache-config-percentage
Syntax Description
A percentage of the system memory for cache.
cache-config-percentage
Command Default
10 percent.
Command Modes
mDNS configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SE
Usage Guidelines
The number of services learned in a network could be large, so there is an upper limit on the amount of cache
memory that can be used. The memory is set by default to a maximum of 10 percent of the system memory.
You can override the default value by using this command.Note
When you try to add new records, and the cache is full, the records in the cache that are close to expiring are
deleted to provide space for the new records.
Examples
This example sets 20 percent of the system memory for cache:
Device(config-mdns)# cache-memory-max 20
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
213
cache-memory-max