Configuring autosupport for system event notifications using the CLI

Prev Next

Use the commands in this section to configure autosupport for system event notifications. (See Viewing system events for information about viewing a full list of events.)

To configure autosupport:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Enable autosupport email notifications (disabled by default):

    hostname (config) # email autosupport enable
  3. Display the current configuration for generating autosupport emails for system events:

    hostname (config) # show email
  4. Specify each event for which autosupport email notifications should be sent:

    hostname (config) # email autosupport event <event> 
  5. Configure the supplemental Certificate Authority (CA) certificates that are used to verify the server certificates.

    • To use only the built-in list:

      hostname (config) # email autosupport ssl ca-list none
    • To use the default supplemental CA certificate list:

      hostname (config) # email autosupport ssl ca-list default-ca-list
  6. Configure a security type to use for autosupport email.

    • No TLS:

      hostname (config) # email autosupport ssl mode none
    • TLS:

      hostname (config) # email autosupport ssl mode TLS
    • TLS none:

      hostname (config) # email autosupport ssl mode tls-none
  7. Verify the server certificates:

    hostname (config) # email autosupport cert-verify
  8. Save your changes:

    hostname (config) # write memory