configure sharing port-based key

configure sharing [ load_sharing_key | default] ports port_list

Description

Sets the load_sharing_key for all ports in the port_list.

Syntax Description

load_sharing_key

Specifies the load sharing key. Valid load sharing keys are in the range [0-15].

default

Unconfigures and resets the load sharing keys for ports in the port_list to default values.

ports

Specifies the logical port for a load-sharing group.

port_list

Specifies one or more ports or slots and ports to be grouped in the LAG.

Default

N/A.

Usage Guidelines

This command sets the load_sharing_key for all ports in the port_list. default unconfigures and resets the load sharing keys for ports in port_list to default values.

Configured load sharing keys are displayed in the output of the show configuration hal command. Both configured and default load sharing keys are displayed in the output of the "show sharing port-based keys" command.

Example

The following example causes all packets received on ports in slot 1 to choose the lowest port number in all aggregators for distribution.:
configure sharing port-based key 0 ports 1
Note

Note

If you attempt to configure a load sharing key on a BDX module that is not configured to use packet-based hashing, the following error message is displayed:
Error: Slot 1 is not configured for packet - based fabric hashing.

Use the configure forwarding fabric hash packet slot slot command before configuring load sharing keys on a slot.

History

This command was first available in ExtremeXOS 15.4.

Platform Availability

This command is available on all platforms.