E Commands

email-contact (Call Home)

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

Syntax Description

email-address

E-mail address. The address can be a maximum of 255 alphanumeric characters in e-mail address format and cannot contain spaces.

Command Default

None

Command Modes


Callhome configuration mode

Command History

Release

Modification

This command was introduced.

Examples

This example shows how to configure an e-mail address:


switch(config-callhome)# email-contact abc@xyz.com
 
switch(config-callhome)# 

enable (Call Home)

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

Syntax Description

This command has no arguments or keywords.

Command Default

Disabled

Command Modes


Callhome configuration mode

Command History

Release

Modification

This command was introduced.

Usage Guidelines

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.

Examples

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)#