Configures the maximum size of the multicast cache.
By default, the size of the multicast cache is 32768 entries for IPv4 and 4096 entries for IPv6.
Router PIM configuration mode
If the max-mcache is changed to a value that is less than the current max-mcache value, the existing cache routes are not automatically deleted. The cache routes are deleted when new routes are added.
The no max-mcache form of the command restores the default size of the maximum multicast cache.
The following example changes the multicast cache to 500 entries for IPv4.
device(config)# router pim device(config-pim-router)# max-mcache 500
The following example changes the multicast cache to 500 entries for IPv6.
device(config)# ipv6 router pim device(config-ipv6-router-pim-vrf-default-vrf)# max-mcache 500