To configure the maximum number of unicast dynamic MAC (L2) MAC entries hardware can learn in the system, in a configured time interval, use the command mac-learn-rate in Global Configuration Mode. The no form of the command removes the limit on number of unicast MAC entry indications (limit value is set as 0) and resets the configured time interval to default value.
In next subsequent time interval, hardware can learn number of previously learnt MAC entries plus present MAC entries, this cycle will continue until MAC learning reaches to maximum number of L2 unicast dynamic entries learning capacity of the system. If rate limit is changed while timer is running, new rate limit value takes effect on next timer restart. This limit is to control the number of MAC entries indication to control plane from hardware, when hardware MAC learning is enabled. Configuration value '0' disables this feature in the system.
Parameter | Type | Description |
---|---|---|
<no of MAC entries(0-2147483647)> |
Enter to configure the maximum number of unicast dynamic MAC (L2) entries that can be learned in the switch within the specified time interval. The configured value takes effect on next timer restart if this value is changed while the timer is running. This value is used to control the number of MAC entries indicated to control plane from the hardware, when hardware MAC learning is enabled and ranges from 0 to 2147483647. The value 0 represents that no limit is set in the switch. This limit value does not impose any restrictions on multicast / broadcast and dynamic / static / protocol (MMRP) MAC learning capability limits. | |
interval |
Enter to configure the time interval (in milli-seconds) for maximum number of MAC entries to be learned in the switch. The configured value takes effect from the next timer restart. This value ranges from 1 to 100000 milli-seconds.. | |
<milliseconds(1-100000)> |
Enter an interval value. The configured value takes effect from the next timer restart and ranges from 1 to 100000 milli-seconds. |
Global Configuration Mode
iS5comm (config)# mac-learn-rate 100 interval 500