# Configuring the Scheduler Hierarchy for Hashed Load Balancing in 802.3ad Link Aggregation Groups

The type of load balancing that the system performs depends on the configuration of the scheduler hierarchy in the QoS profile.

To configure the scheduler hierarchy for hashed load balancing:

1. Configure a QoS profile.
   host1(config)#qos-profile hashed-lag
2. Configure the nodes and queues, including an Ethernet queue.
   host1(config-qos-profile)#ethernet queue traffic-class best-effort host1(config-qos-profile)#ethernet queue traffic-class tc1 host1(config-qos-profile)#ethernet queue traffic-class tc2
3. Create the LAG interface and attach the QoS profile.
   host1(config)#interface lag lg1 host1(config-if)#qos-profile hashed-lag

#### Related Documentation

- QoS for 802.3ad Link Aggregation Interfaces Overview
- Hashed Load Balancing for 802.3ad Link Aggregation Groups Overview
- interface lag
- node
- qos-profile
- queue