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.)
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Enable autosupport email notifications (disabled by default):
hostname (config) # email autosupport enable
Display the current configuration for generating autosupport emails for system events:
hostname (config) # show email
Specify each event for which autosupport email notifications should be sent:
hostname (config) # email autosupport event <event>
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
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
Verify the server certificates:
hostname (config) # email autosupport cert-verify
Save your changes:
hostname (config) # write memory