Configuring the SMTP interface with an IP Address using the CLI

Prev Next

Use the CLI commands in this procedure to configure the SMTP (pether3) interface with an IP address and mask length.

Important

Do not use the interface pether3 ipv6 address command to configure the SMTP (pether3) interface.

To configure the SMTP interface with an IP address:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Specify the IPv4 address and mask length for the pether3 interface.

    hostname (config) # interface pether3 ip address <IPv4_address> <mask_length>

  3. Specify the static IPv6 address and mask length for the pether3 interface.

    hostname (config) # email-analysis interface pether3 ipv6 address <IPv6_address> mask-len <mask_length>

  4. Verify your configuration for the IPv4 address and mask length for the pether3 interface.

    hostname (config) # show interface pether3 configured

  5. Verify your configuration for the static IPv6 address and mask length for the pether3 interface.

    hostname (config) # show ipv6 route

  6. Save your changes.

    hostname (config) # write memory

Example

This example shows how to configure the IPv4 address and mask length for the SMTP (pether3) interface.

hostname (config) # interface pether3 ip address 172.17.74.68 /12

hostname (config) # show interface pether3 configured

Interface pether3 configuration:
   Comment:
   Enabled:            yes
   DHCP:               no
   Zeroconf:           no
   IP address:         172.17.74.68
   Netmask:            255.240.0.0
   IPv6 enabled:       yes
   Autoconf enabled:   no
   Autoconf route:     yes
   Autoconf privacy:   no
   DHCPv6 enabled:     no
   IPv6 addresses:     3
   IPv6 address:       2001:470:84a7:1720:20c:bdff:fe04:9f73/5
   IPv6 address:       2001:470:84a7:1720:20c:bdff:fe04:9f74/5
   IPv6 address:       2001:470:84a7:1720:20c:bdff:fe04:9f75/5
   .....

This example shows how to configure the static IPv6 address and mask length for the pether3 interface.

hostname (config) # email-analysis interface pether3 ipv6 address 2001:470:84a7:1720:bdff:fe049f77 mask-len 64

hostname (config) # show ipv6 route

Destination prefix

Gateway Interface Source

-----------------------------------------------------------------------

::1/128

:: lo local

2001:470:84a7:1720::/64

:: pether3 interface

2001:470:84a7:1720:225:90ff:fef3:2476/128

:: lo local