Configuring the Resource Mode of Extended Entry Space
Context
A device maintains many MAC address entries, FIB entries, and ARP entries when processing a large number of services. However, the number of the entries supported by the device is limited. If these entries cannot meet service requirements, the service processing efficiency degrades. A device provides the function that extends entry spaces and allows configuring the resource mode of the extended entry space to extend the MAC address, FIB entry, or ARP entry spaces as required.
Only the S5720EI, S5720HI, S5730HI, S6720HI, S6720EI and S6720S-EI support this configuration.
Procedure
- (Optional) Run display resource-mode configuration
The resource mode configuration of the extended entry space is displayed.
- Run system-view
The system view is displayed.
- Configure the resource mode of the extended entry space.
- On the S5720EI, run the assign resource-mode { enhanced-mac | enhanced-ipv4 | enhanced-ipv6 } [ slot slot-id | all ] command to configure the resource mode.
- On the S6720EI, S6720S-EI, run the assign resource-mode { enhanced-mac | enhanced-arp | enhanced-ipv4 | ipv4-ipv6 6:1 | super-arp } [ slot slot-id | all ] command to configure the resource mode.
- On the S6720HI, run the assign resource-mode { enhanced-mac | enhanced-arp | enhanced-ipv4 | enhanced-ipv6 | limiting-mac | eca } [ slot slot-id | all ] command to configure the resource mode.
- On the S5720HI, S5730HI, run the assign resource-mode { enhanced-arp | eca } [ slot slot-id | all ] command to configure the resource mode.
By default, the resource allocation mode of the S5720EI is enhanced-mac and that of the S5720HI, S5730HI, S6720HI, S6720EI, and S6720S-EI is enhanced-arp.
Table 2-1 Number of entries supported in different resource allocation modes on the S5720EIResource Allocation Mode MAC IPv4 FIB IPv6 FIB (0-64 Bits Mask) IPv6 FIB (Over 64 Bits Mask) ARP ND Multicast IPv4 Multicast IPv6 Number of NAC Users enhanced-mac(Default) 64K 12K 6K 1K 16K 8K 4000 2000(Share with Multicast IPv4) 2K enhanced-ipv4 32K 16K 8K 0K 16K 8K 4000 2000(Share with Multicast IPv4) 2K enhanced-ipv6 32K 8K 4K 2K 16K 8K 4000 2000(Share with Multicast IPv4) 2K - On the S5720EI, IPv4 FIB and IPv6 FIB (0-64 bits mask) share hardware resources. The specifications listed in the preceding table indicate the maximum number of FIB entries of a single type. Numbers of the two types of FIB entries cannot reach the maximum value simultaneously.
- On the S5720EI, ARP and ND share hardware resources. The value listed in the preceding table indicates the maximum number of entries of a single type. Numbers of the two types of entries cannot reach the maximum value simultaneously.
Table 2-2 Number of entries supported in different resource allocation modes on the S6720EI, S6720S-EIResource Allocation Mode MAC IPv4 FIB IPv6 FIB (0-64 Bits Mask) IPv6 FIB (Over 64 Bits Mask) ARP ND Multicast IPv4&IPv6 Number of NAC Users enhanced-arp(Default) 160K 12K 6K 1K 48K 44K 4000 2K enhanced-mac 288K 12K 6K 1K 16K 8K 4000 2K enhanced-ipv4 32K 256000 128K 0K 16K 8K 4000 2K ipv4-ipv6 6:1 32K 64K 10K 10K 16K 8K 4000 2K super-arp 96K 12K 6K 1K 128K 48K 4000 2K - On the S6720EI, S6720S-EI, ARP and ND share hardware resources. The value listed in the preceding table indicates the maximum number of entries of a single type. Numbers of the two types of entries cannot reach the maximum value simultaneously.
- When the S6720EI and S6720S-EI work in enhanced-arp, enhanced-mac, enhanced-ipv4, or super-arp mode, IPv4 FIB and IPv6 FIB (0-64 bits mask) share hardware resources. The value listed in the preceding table indicates the maximum number of FIB entries of a single type. Numbers of the two types of FIB entries cannot reach the maximum value simultaneously.
- When the S6720EI and S6720S-EI work in ipv4-ipv6 6:1 mode, IPv6 FIB (0-64 bits mask) and IPv6 FIB (over 64 bits mask) share hardware resources. The value listed in the preceding table indicates the maximum number of FIB entries of a single type. Numbers of the two types of FIB entries cannot reach the maximum value simultaneously.
- On the S6720EI and S6720S-EI, if the assign resource-mode command sets the resource allocation mode to enhanced-ipv4 or ipv4-ipv6 6:1, and the ipv4 destination-unreachable drop or ipv6 destination-unreachable dropcommand has been executed, the function that dropping the packets that do not match routing entries does not take effect.
- On the S6720EI, S6720S-EI, redirection to a low-priority next hop is not supported in enhanced-ipv4 or ipv4-ipv6 6:1 resource allocation mode.
- On the S6720EI, S6720S-EI, MPLS and Layer 3 VXLAN Gateway are not supported in super-arp resource allocation mode.
Table 2-3 Number of entries supported in different resource allocation modes on the S6720HIResource Allocation Mode MAC IPv4 FIB IPv6 FIB ARP ND Multicast IPv4 Multicast IPv6 Number of NAC Users enhanced-arp(Default) 64K 55K(Share) 22K(Share) 55K(Share) 22K(Share) 32K-1(Share) 2K 10000 enhanced-mac 128K 16K 8K 16K(Share with FIBv4) 8K(Share with FIBv6) 4K 4K 8K enhanced-ipv4 16K 128K 4K 16K(Share with FIBv4) 4K(Share with FIBv6) 4K 4K 8K enhanced-ipv6 16K 8K 32K 8K(Share with FIBv4) 32K(Share with FIBv6) 4K 4K 8K limiting-mac 256000 512(Share with FIBv6/ND/ARP) 32(Share with FIBv4/ND/ARP) 512(Share with FIBv4/FIBv6/ND) 32(Share with FIBv4/FIBv6/ARP) 256 32 0 eca 32K 32K(Min 8K, Other Share) 11K(Min 2K, Other Share) 32K(Share with FIBv4) 11K(Share with FIBv6) 16K-1(Min 2K, Other Share) 2K 8K On the S6720HI, the value listed in the preceding table indicates the maximum number of entries of a single type. Numbers of the two types of entries cannot reach the maximum value simultaneously. For example, ARP and FIBv4 share hardware resources, while ND and FIBv6 share hardware resources.
After the resource mode is set to limiting-mac on the S6720HI, the S6720HI cannot function as an authentication point for user access.