Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
PurposeCommand or Action
(Optional)
Saves this configuration change.
switch# copy running-config
startup-config
Step 5
This example shows how to add the show ip routing command o the Cisco-TAC alert group:
switch# configuration terminal
switch(config)# callhome
switch(config-callhome)# alert-group Configuration user-def-cmd "show ip routing"
Configuring E-Mail
You must configure the SMTP server address for the Call Home functionality to work. You can also configure
the from and reply-to e-mail addresses.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Enters callhome configuration mode.switch(config)# callhome
Step 2
Configures the SMTP server as either the domain
name server (DNS) name, IPv4 address, or IPv6
switch(config-callhome)# transport
email smtp-server ip-address [port
number] [use-vrf vrf-name]
Step 3
address). Optionally you can configure the port
number. The port ranges is from 1 to 65535. The
default port number is 25.
Also optionally you can configure the VRF to use
when communicating with this SMTP server.
(Optional)
Configures the e-mail from field for Call Home
messages.
switch(config-callhome)# transport
email from email-address
Step 4
(Optional)
Configures the e-mail reply-to field for Call Home
messages.
switch(config-callhome)# transport
email reply-to email-address
Step 5
(Optional)
Displays information about the e-mail configuration
for Call Home.
switch# show callhome transport-email
Step 6
(Optional)
Saves this configuration change.
switch# copy running-config
startup-config
Step 7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 359
Configuring Smart Call Home
Configuring E-Mail