--- title: "Configuring the SMTP interface using the CLI" slug: "configuring-the-smtp-interface-using-the-cli" tags: ["Product Usage", "CMS 11.x", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Network Security"] updated: 2026-08-24T18:56:53Z published: 2026-08-24T18:56:53Z canonical: "docs.trellix.com/configuring-the-smtp-interface-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 the SMTP interface using the CLI Use the commands in this section to configure a static IP address for the SMTP interface. > [!WARNING] > Important > > Do not use the `interface pether3 ipv6 address` command to configure the IPv6 address, because it does not enable SMTP on the IPv6 address. Use the command in this procedure instead. > [!NOTE] > Note > > If you configure a second IPv4 or IPv6 address, it will overwrite the existing address. **To configure an SMTP interface address:** 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Do one of the following: - Configure an IPv4 address and network mask or mask length: `hostname (config) # interface pether3 ip address <ip address> {<netmask> | <mask length>}` - Configure an IPv6 address and mask length: `hostname (config) # email-analysis interface pether3 ipv6 address <IPv6 address> mask-len <mask length>` 3. Verify your changes: ``` hostname (config) # show email-analysis ``` 4. Save your changes: ``` hostname (config) # write memory ``` **To remove an SMTP interface address:** 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Do one of the following: - Remove the IPv4 address: `hostname (config) # no interface pether3 ip address` - Remove the IPv6 address: `hostname (config) # hostname (config) # no interface pether3 ipv6 address <IPv6 address>/<mask length>` 3. Verify your changes: `hostname (config) # show email-analysis` 4. Save your changes: `hostname (config) # write memory` ### Examples The following example configures a static IPv4 address for the SMTP interface. ``` hostname (config) # interface pether3 ip address 172.17.74.68 /12 hostname (config) # show email-analysis Email-Analysis:   enabled:                  yes   mode:                     block   interface:                pether3   interface ipv4 address:   172.17.74.68   ... ``` The following example configures a static IPv6 address for the SMTP interface. ``` hostname (config) # email-analysis interface pether3 ipv6 address 2001:xxx:xxxx:xxxx:xxx:xxxx:xxxx:xxxx mask-len 64 hostname (config) # show email-analysis Email-Analysis:   enabled:                  yes   mode:                     block   interface:                pether3   interface ipv6 address:   2001:xxx:xxxx:xxxx:xxx:xxxx:xxxx:xxxx   ... ```