configure forwarding internal-tables

configure forwarding internal-tables [ l2-and-l3 | more [l2 | l3-and-ipmc | routes {ipv6-mask-length [64 | 128]}]]

Description

Customizes the internal hardware forwarding tables based on the customer‘s network requirements.

Syntax Description

forwarding Configure settings for hardware forwarding.
internal-tables Configure settings for internal lookup tables.
l2-and-l3 Program the internal lookup tables for layer-2 MAC FDB and layer-3 hosts and IP multicast (default).
more Configure the internal lookup tables for additional entries of specified types.
l2 Program the internal lookup tables for additional layer-2 MAC FDB entries.
l3-and-ipmc Program the internal lookup tables for additional layer-3 hosts and IP multicast.
routes Programs the internal lookup tables for additional IPv4 routes and IPv6 routes (mask 0–64) using Algorithmic Longest-Prefix Match (ALPM). This option is only available on the ExtremeSwitching X670-G2, , X690, X695, X465, X870, 5520 series switches or stacks.
ipv6-mask-length Optimizes ALPM route capacity by choosing the maximum number of bits in the IPv6 route subnet mask length.
64

Maximizes IPv4 route capacity (default).

IPv6 routes mask length:
  • 0–64 bits use ALPM hardware
  • 65–128 use ACL hardware without route sharing
128 Maximizes IPv6 route capacity for mask length 65–128 bits. All routes use ALPM hardware with route sharing.

Default

For internal tables: l2-and-l3.

For IPv6 mask length: 64.

Usage Guidelines

Use this command to customize the internal hardware forwarding tables based on the customer‘s network requirements.

The ExtremeSwitching X450-G2, X460-G2, X670-G2, X690, X695, X465, X870, 5520 have hardware forwarding tables internal to the switch chips that can be partitioned in a flexible manner.

To display the current configuration, use the show forwarding configuration command.

Example

By default, the internal tables have L2 and L3 capacity whose relative size is similar to existing products. The default is:

# configure forwarding internal-tables l2-and-l3

There are three other choices. You can elect to have more L2 hardware table entries:

# configure forwarding internal-tables more l2

Or, you can choose to have more L3 unicast and multicast entries:

# configure forwarding internal-tables more l3-and-ipmc
The following example configures the switch to use ALPM to increase IPv4 and IPv6 route scaling:
# configure forwarding internal-tables more routes

The current and configured values are shown in the output of the show command:

# show forwarding configuration 

L2 and L3 Forwarding table hash algorithm:
    Configured hash algorithm:              crc32
    Current hash algorithm:                 crc32

L3 Dual-Hash configuration:
    Configured setting:                     on
    Current setting:                        on
    Dual-Hash Recursion Level:              1

Hash criteria for IP unicast traffic for L2 load sharing and ECMP route sharing
    Sharing criteria:                       L3_L4

IP multicast:
    Group Table Compression:                on
    Local Network Forwarding:               slow-path
    Lookup-Key:                             (SourceIP, GroupIP, VlanId)

Internal lookup tables:
    Configured Setting:                     more l2
    Current Setting:                        l2-and-l3
NOTE: A save and reboot are required before the configured setting will take effect.

Switch Settings:
    Switching mode:                         store-and-forward

L2 Protocol:
    Fast convergence:                       on

Rate Limit:
    Overhead Bytes:                         20

Fabric Flow Control:
    Fabric Flow Control:                    auto
ARP and ND Settings:
    ARP Suppression Filters:                per-port
    ND Suppression Filters:                 per-port

History

This command was first available in ExtremeXOS 15.4.

The routes option was added in ExtremeXOS 22.2.

The ipv6-mask-length option was added in ExtremeXOS 22.5.

Platform Availability

ExtremeSwitching X450-G2, X460-G2, X670-G2, X465, X590, X690, X695, X870 , and 5520 (standalone or in a stack).