The traffic load balancing problem is relevant in modern networks that have many alternative routes between any pair of nodes. Balancing provides a uniform load of network resources. The paper proposes a method for
adaptive queueing policy configuration on a switch to get a uniform queue load on the switch output ports. Because modern applications require the data transmission delay to be around milliseconds, reinforcement
learning method DQN was applied to solve the problem. An experimental study demonstrated the convergence of the proposed method during the training to uniform queue load at output ports.