--- title: "Configuring a domain with next-hop failover using the CLI" slug: "configuring-a-domain-with-next-hop-failover-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:10Z published: 2026-08-24T19:53:10Z canonical: "docs.trellix.com/configuring-a-domain-with-next-hop-failover-using-the-cli" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring a domain with next-hop failover using the CLI An MTA domain can be configured to fail over to another domain if an unrecoverable failure occurs. This procedure describes how to use the appliance CLI to configure a default failover MTA next-hop domain for email analysis. ### Prerequisites - An established connection between the Email Security - Server appliance and the Internet. - You are logged in to the Email Security - Server appliance CLI as an Admin or Operator. **To configure an MTA next hop fail over domain:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Add a default failover MTA next-hop domain for email analysis and forwarding. ``` hostname (config) #  email-analysis domain at1.com next-hop-fail-over 10.11.121.14 ``` 3. Verify your changes. ``` hostname (config) # show email-analysis ``` 4. Save your changes. ``` hostname (config) # write memory ```