The assign resource-mode command configures the resource allocation mode of the device.
The undo assign resource-mode command restores the default resource allocation mode of the device.
By default, the resource allocation mode of the S5720-EI is enhanced-mac and that of the S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S5731-S, S5731S-S, S6730-S, S6730S-S, S6730-H, S6730S-H, S6720-HI, S6720-EI, and S6720S-EI is enhanced-arp.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S5731-S, S5731S-S, S6730-S, S6730S-S, S6730-H, S6730S-H, S6720-HI, S6720-EI and S6720S-EI support this command.
assign resource-mode { enhanced-mac | enhanced-ipv4 | enhanced-ipv6 } [ slot slot-id | all ] (S5720-EI)
assign resource-mode { enhanced-mac | enhanced-arp | enhanced-ipv4 | ipv4-ipv6 6:1 | super-arp } [ slot slot-id | all ] (S6720-EI and S6720S-EI)
assign resource-mode { enhanced-mac | enhanced-arp | enhanced-ipv4 | enhanced-ipv6 | limiting-mac | eca | sac } [ slot slot-id | all ] (S6720-HI)
assign resource-mode { enhanced-arp | eca } [ slot slot-id | all ] (S5720-HI)
assign resource-mode { enhanced-arp | eca | sac } [ slot slot-id | all ] (S5730-HI, S5731-H, S5731S-H, S5731-S, and S5731S-S)
assign resource-mode { enhanced-arp | sac } [ slot slot-id | all ] (S6730-S, S6730S-S, and S5732-H)
assign resource-mode { enhanced-mac | enhanced-arp | enhanced-fib | sac } [ slot slot-id | all ] (S6730-H, and S6730S-H)
undo assign resource-mode [ slot slot-id | all ]
Parameter |
Description |
Value |
---|---|---|
enhanced-mac |
Sets the resource allocation mode to enhanced-mac. |
- |
enhanced-ipv4 |
Sets the resource allocation mode to enhanced-ipv4. |
- |
enhanced-ipv6 |
Sets the resource allocation mode to enhanced-ipv6. |
- |
enhanced-arp |
Sets the resource allocation mode to enhanced-arp. |
- |
enhanced-fib |
Sets the resource allocation mode to enhanced-fib. |
- |
ipv4-ipv6 6:1 |
Sets the resource allocation mode to ipv4-ipv6 6:1. |
- |
super-arp |
Sets the resource allocation mode to super-arp. |
- |
limiting-mac |
Sets the resource allocation mode to limiting-mac. |
- |
eca |
Sets the resource allocation mode to eca. |
- |
sac |
Sets the resource allocation mode to sac. |
- |
slot slot-id |
|
In a stack, the value is an integer and must be set according to the configuration in the stack. On a standalone switch where stacking is not enabled, the default value is 0. |
all |
Configures the resource allocation mode of the system. |
- |
Usage Scenario
If a device's MAC address entries, FIB entries, or ARP entries are insufficient to meet service requirements, you can use this command to change the resource allocation mode so as to extend the entry space.
On the S5720-HI, when the resource allocation mode is set to eca, the specifications of MAC, FIB, ARP, ND, and multicast entries will not be modified, and only the counter specifications of ACL resources will decrease from 65536 (64K) to 49152 (48K). To view the counter specifications of ACL resources, run the display acl resource command.
On the S5730-HI, S5731-H, S5731S-H, S5731-S, S5731S-S, when the resource allocation mode is set to eca or sac, the specifications of MAC, FIB, ARP, ND, and multicast entries will not be modified. For the S5730-HI, S5731-H, S5731S-H, S5731-S, S5731S-S, when the resource allocation mode is set to sac, NetStream aggregation flows will not be supported.
On the S6730-S and S6730S-S, when the resource allocation mode is set to sac, the specifications of MAC, FIB, ARP, ND, and multicast entries will not be modified.
On the S6720-HI, when the resource allocation mode is set to eca, the specifications of MAC, FIB, ARP, ND, and multicast entries will be modified, and the counter specifications of ACL resources will decrease from 65536 (64K) to 49152 (48K). To view the counter specifications of ACL resources, run the display acl resource command.
When the resource allocation mode of the following models is changed, the specifications of MAC, FIB, ARP, ND, or multicast entries will be modified.
Resource 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 (shared with IPv4 FIB) |
1K |
16K |
8K (shared with ARP) |
4000 |
2000 (shared with Multicast IPv4) |
2K |
enhanced-ipv4 |
32K |
16K |
8K (shared with IPv4 FIB) |
0K |
16K |
8K (shared with ARP) |
4000 |
2000 (shared with Multicast IPv4) |
2K |
enhanced-ipv6 |
32K |
8K |
4K (shared with IPv4 FIB) |
2K |
16K |
8K (shared with ARP) |
4000 |
2000 (shared with Multicast IPv4) |
2K |
Resource Allocation Mode |
MAC |
IPv4 FIB |
IPv6 FIB |
ARP |
ND |
Multicast IPv4 |
Multicast IPv6 |
Number of NAC Users |
---|---|---|---|---|---|---|---|---|
enhanced-arp (default) |
128K |
192K (shared) |
80K (shared) |
140K (shared) |
80K (shared) |
64K-1 (shared) |
4K |
16K |
sac |
96K |
192K (shared) |
80K (shared) |
96K (shared) |
80K (shared) |
64K-1 (shared) |
4K |
16K |
On the S5732-H, IPv4 FIB, IPv6 FIB, ARP, ND, and Multicast IPv4 share hardware resources. The specifications listed in the preceding table indicate the maximum number of entries of a single type and cannot reach the maximum value simultaneously.
Resource 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 (shared with IPv4 FIB) |
1K |
48K |
44K (shared with ARP) |
4000 |
2K |
enhanced-mac |
288K |
12K |
6K (shared with IPv4 FIB) |
1K |
16K |
8K (shared with ARP) |
4000 |
2K |
enhanced-ipv4 |
32K |
256000 |
128K (shared with IPv4 FIB) |
0K |
16K |
8K (shared with ARP) |
4000 |
2K |
ipv4-ipv6 6:1 |
32K |
64K |
10K |
10K |
16K |
8K (shared with ARP) |
4000 |
2K |
super-arp |
96K |
12K |
6K (shared with IPv4 FIB) |
1K |
128K |
48K (shared with ARP) |
4000 |
2K |
Resource Allocation Mode |
MAC |
IPv4 FIB |
IPv6 FIB |
ARP |
ND |
Multicast IPv4 |
Multicast IPv6 |
Number of NAC Users |
---|---|---|---|---|---|---|---|---|
enhanced-arp (default) |
64K |
55K (shared) |
22K (shared) |
55K (shared ) |
22K (shared ) |
32K-1 (shared ) |
2K |
10000 |
enhanced-mac |
128K |
16K |
8K |
16K (shared with FIBv4) |
8K (shared with FIBv6) |
4K |
4K |
8K |
enhanced-ipv4 |
16K |
128K |
4K |
16K (shared with FIBv4) |
4K (shared with FIBv6) |
4K |
4K |
8K |
enhanced-ipv6 |
16K |
8K |
32K |
8K (shared with FIBv4) |
32K (shared with FIBv6) |
4K |
4K |
8K |
limiting-mac |
256000 |
512 (shared with FIBv6/ND/ARP) |
32 (shared with FIBv4/ND/ARP) |
512 (shared with FIBv4/FIBv6/ND) |
32 (shared with FIBv4/FIBv6/ARP) |
256 |
32 |
0 |
eca and sac |
32K |
32K (Min. 8K, shared with others) |
11K (Min. 2K, shared with others) |
32K (shared with FIBv4) |
11K (shared with FIBv6) |
16K-1 (Min. 2K, shared with others) |
2K |
8K |
On the S6720-HI, 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 S6720-HI, the S6720-HI cannot function as an authentication point for user access.
On the S6720-HI, the specifications in eca and sac mode are the same.
Resource Allocation Mode |
MAC |
IPv4 FIB |
IPv6 FIB |
ARP |
ND |
Multicast IPv4 |
Multicast IPv6 |
Number of NAC Users |
---|---|---|---|---|---|---|---|---|
enhanced-arp (default) |
128K |
192K (shared) |
80K (shared) |
140K (shared) |
80K (shared) |
64K-1 (shared) |
4K |
10000 |
enhanced-mac |
384K |
32K |
8K |
32K (shared with FIBv4) |
8K (shared with FIBv6) |
4K |
4K |
8K |
enhanced-fib |
32K |
256K (shared) |
80K (shared) |
128K (shared) |
80K (shared) |
4K |
4K |
8K |
sac |
96K |
192K (shared) |
80K (shared) |
96K (shared) |
80K (shared) |
64K-1 (shared) |
4K |
8K |
On the S6730-H, and S6730S-H, 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.