Enterprise Advanced SONiC: Use Case: AI Fabric 6.1 Adaptive Routing Configuration Adaptive Routing and Switching (ARS) dynamically distributes traffic across equal-cost paths based on real-time port utilization metrics, including past, current, and projected load. Unlike static ECMP hashing, ARS continuously monitors congestion and redirects flows to less- utilized paths, preventing hotspots and maximizing fabric throughput. This capability is essential for AI/ML workloads where GPU-to-GPU traffic patterns create unpredictable bursts that can overwhelm individual links. 1. Configure the switch-level binding. Leaf1(config)# ars profile Leaf1(config-ars-profile-default)# exit !
Leaf1(config)# ars bind profile ! Leaf1(config)# ars profile Leaf1(config-ars-profile-default)# port-load-past Leaf1(config-ars-profile-default)# port-load-future Leaf1(config-ars-profile-default)# port-load-current 2. Configure the port-level binding. Leaf1(config)# ars port-profile Leaf1(config-ars-port-profile)# enable Leaf1(config)# interface Eth{slot/port}[/breakout-port] Leaf1(config-if)# ars bind 3. Configure the next-hop-group-level binding. Leaf1(config)# ars object Leaf1(config)# route-map permit Leaf1(config-route-map)# set ars-object Leaf1(config-route-map)# exit ! Leaf1(config)# ip protocol any route-map [vrf {vrf- name}] 50