max-mcache

Configures the maximum number of PIM cache entries.
Syntax
max-mcache num
no max-mcache num
Command Default

If this command is not configured, the maximum value is determined by the system max pim-hw-mcache command or by available system resources.

Parameters
num
Specifies the maximum number of multicast cache entries for PIM. Valid values range from 1 through 12288. The default is 12288.
Modes

PIM router configuration mode

PIM router VRF mode

Usage Guidelines

Configure the max-mcache command to define the maximum number of repeated cache entries for PIM traffic being sent from the same source address and being received by the same destination address. To define this maximum for the default VRF, configure the command in router PIM configuration mode; to define the maximum for a specific VRF, first configure the router pim vrf command.

The no form of the command restores the default.

Examples

The following example configures the maximum number of PIM cache entries for the default VRF to 999.

device# configure terminal
device(config)# router pim
device(config-pim-router)# max-mcache 999

The following example configures the maximum number of PIM cache entries for VRF green to 888.

device# configure terminal
device(config)# router pim vrf green
device(config-pim-router-vrf-green)# max-mcache 88