forwarding custom-profile
Use this command to configure forwarding table sizes.
Note: You must reboot after any profile change, except a change to the default profile. The configuration is applied only after a reboot.
Use
show-running configuration or
show forwarding profile limit to verify the selected profile.
Use the forwarding custom-profile default command (with no parameters) to set the forwarding table size to its default.
Command Syntax
Tomahawk platform:
forwarding custom-profile {l2-banks <1-4>|l3-banks <1-4>|lpm-banks 2}
Helix4 platform:
forwarding custom-profile {l2-banks <1-24>|l3-banks <1-23>|vlan-xlate-banks <1-23>|ep-vlan-xlate-banks <1-23>}
Tomahawk and Helix4 platforms:
forwarding custom-profile default
Parameters
l2-banks
L2 banks. Unspecified banks are used as L2 banks.
<1-4>
Number of L2 banks. Each bank size is 32k entries and each entry is 105 bits.
<1-24>
Number of L2 banks. Each bank size is 1k entries and each entry is 420 bits.
l3-banks
L3 banks. Unspecified banks are used as L2 banks.
<1-4>
Number of L3 banks. Each bank size is 32k entries and each entry is 105 bits.
<1-23>
Number of L3 banks. Each bank size is 1k entries and each entry is 420 bits.
lpm-banks
Longest-prefix match banks. Unspecified banks are used as L2 banks.
2
Two LPM banks per entry. The remaining banks can be used by any.
vlan-xlate-banks
VLAN translate banks. Unspecified banks are used as L2 banks.
<1-23>
Number of VLAN translate banks. Each bank size is 1k entries and each entry is 420 bits.
ep-vlan-xlate-banks
Egress VLAN translate banks. Unspecified banks are used as L2 banks.
<1-23>
Number of EP VLAN translate banks. Each bank size is 1k entries and each entry is 420 bits.
default
Use L2 profile Three; the size of the l2 table (MAC address table) and L3 table (host table) is almost equal.
Default
By default, the forwarding table size is L2 profile three: the sizes of the L2 table (MAC address table) and L3 table (host table) are almost equal.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
This command only applies to Tomahawk and Helix4 platforms.
Examples
#configure terminal
(config)#forwarding custom-profile l3-banks 4
Last modified date: 08/28/2023