To configure the e-mail address for the primary person responsible for the switch, use the email-contact command. To remove an email contact, use the no form of this command.
email-contact email-address
no email-contact
email-address |
E-mail address. The address can be a maximum of 255 alphanumeric characters in e-mail address format and cannot contain spaces. |
None
Callhome configuration mode
Release |
Modification |
---|---|
|
This command was introduced. |
This example shows how to configure an e-mail address:
switch(config-callhome)# email-contact abc@xyz.com switch(config-callhome)#
Command |
Description |
---|---|
copy running-config startup-config |
Saves this configuration change. |
phone-contact |
Configures the phone number for the primary person responsible for the switch. |
show callhome |
Displays a summary of the Call Home configuration. |
To enable the Cisco Smart Call Home service after you have configured the contact information, use the enable command. To disable the Smart Call Home service, use the no form of this command.
enable
no enable
This command has no arguments or keywords.
Disabled
Callhome configuration mode
Release |
Modification |
---|---|
|
This command was introduced. |
You must configure an e-mail server. Your switch must have IP connectivity to an e-mail server. You must configure the contact name (SNMP server contact), phone, and street address information before you enable Call Home.
This example shows how to enable the Cisco Smart Call Home service:
switch(config-callhome)# enable contact email address is not configured callhome can not be enabled on the switch, because necessary configuration has not been done Please check if all of following configuration is done contact person name(sysContact) contact person's email contact person's phone number street addr To configure sysContact, please use snmp-server command switch(config-callhome)#
This example shows how to disable the Cisco Smart Call Home service:
switch(config-callhome)# no enable switch(config-callhome)#
Command |
Description |
---|---|
copy running-config startup-config |
Saves this configuration change. |
email-contact |
Configures the e-mail address. |
show callhome |
Displays a summary of the Call Home configuration. |