--- title: "Switching Between WAN Chains - icom Data Suite" slug: "switching-between-wan-chains-en" updated: 2024-10-02T11:50:54Z published: 2024-10-02T11:50:54Z canonical: "docs.insys-icom.com/switching-between-wan-chains-en" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.insys-icom.com/llms.txt > Use this file to discover all available pages before exploring further. # Switching Between WAN Chains - icom Data Suite This Configuration Guide shows how to switch between two WAN chains of a router by changing their priority remotely using the Command Shell in Cumulocity Cloud or Telekom Cloud of Things. ## Situation Your router is configured for an application with two redundant WAN connections. Each WAN connection is defined by a WAN chain. A WAN chain is the sequential arrangement of interfaces that defines the establishment of a WAN connection. The first WAN chain will establish a connection to the primary WAN connection on startup. If the first WAN chain fails or the WAN connection is terminated, the second WAN chain will be started. You want to change the priority of the WAN chains via Cloud Control now. ## Solution It is prerequisite that you have a cloud service account. The router must be registered in the cloud service. Refer to the Configuration Guide [Registering and Sending a Value to the Cumulocity Cloud](/kb/docs/en/cumulocity-cloud-registering-and-sending-a-value-en) to see how to register a router in the Cumulocity Cloud. The version of the icom Data Suite must be 1.3 or later. 1. Log in to your Cumulocity Cloud account. 2. Click on *Other applications* () in the top right corner and select *Device management*. 3. Click on *All devices* and select your router in the list of all devices. 4. Click on *Shell* () 5. In the *>_* *Command* field, enter: `M3.wan.wans.wan_chain.sort_up=2` `M3.administration.profiles.activate` 6. Click on *Execute*. > [!NOTE] > Please note! > > The first command moves the WAN chain on position 2 to position 1, i.e. give it highest priority. > > The second command activates the profile that has been changed with the previous command; the profile activation will trigger a re-establishment of the WAN connection using the new primary WAN chain. > > The prefix `M3.` determines that the commands are sent to the **router**. The prefix `IDS.` would determine that the commands are sent to the icom Data Suite. The commands issued will appear in the command history as *PENDING*. The commands will modify the profile of the router and then activate the changed profile. After the WAN chain has established the new WAN connection, the command history will show *SUCCESSFUL* for the commands issued. ## Troubleshooting - The commands entered in the Command Shell are case-sensitive.