Optimizes IPv6 route lookup table capacity by selecting the maximum number of bits in IPv6 route subnet mask length. Setting ipv6-mask-length to 128 enables support for IPv6 routes with prefix lengths greater than 64 bits while reducing IPv4 route capacity.
| ipv6-mask-length | Configure IPv6 route table optimization. |
| 64 | Maximize IPv4 route capacity (default). IPv6 routes with mask length 0-64 bits use LPM hardware; routes 65-128 bits use ACL hardware without route sharing. |
| 128 | Maximize IPv6 route functionality for mask length 65-128 bits. All IPv6 routes use LPM hardware with route sharing. IPv4 route capacity is halved. |
64 (maximize IPv4 route capacity).
Use ipv6-mask-length 128 on platforms 4220, 5320, and 5420 to enable ECMP and full LPM support for IPv6 routes with mask length greater than 64 bits. This setting requires a save and reboot to take effect. When changing from 64 to 128, verify that existing configured reserved-entries values do not exceed the new platform maximum; if they do, reduce reserved-entries before making the change.
4220, 5320, 5420. Not applicable to 4120, 5120, 4630R.
A save and reboot are required for this configuration change to take effect. The current setting is displayed in 'show forwarding configuration' output.
The following example configures the switch to support IPv6 routes with mask length 65-128 bits:
configure forwarding iproute ipv6-mask-length 128
This command was first available in version 34.1.1.