Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
26-11
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 26 Configuring Smart Call Home
Configuring Call Home
This example shows how to configure the e-mail options for Call Home messages:
switch# configuration terminal
switch(config)# callhome
switch(config-callhome)# transport email smtp-server 192.0.2.10 use-vrf Red
switch(config-callhome)# transport email from person@company.com
switch(config-callhome)# transport email reply-to person@company.com
Configuring Periodic Inventory Notification
You can configure the switch to periodically send a message with an inventory of all software services
currently enabled and running on the device along with hardware inventory information. The switch
generates two Call Home notifications, periodic configuration messages and periodic inventory
messages.
To configure periodic inventory notification, perform this task:
This example shows how to configure the periodic inventory messages to generate every 20 days:
switch# configuration terminal
switch(config)# callhome
switch(config-callhome)# periodic-inventory notification interval 20
Step 3
switch(config-callhome)# transport email
smtp-server ip-address [port number]
[use-vrf vrf-name]
Configures the SMTP server as either the domain name
server (DNS) name, IPv4 address, or IPv6 address).
Optionally configures the port number. The port ranges
is from 1 to 65535. The default port number is 25.
Also optionally configures the VRF to use when
communicating with this SMTP server.
Step 4
switch(config-callhome)# transport email
from email-address
(Optional) Configures the e-mail from field for Call
Home messages.
Step 5
switch(config-callhome)# transport email
reply-to email-address
(Optional) Configures the e-mail reply-to field for Call
Home messages.
Step 6
switch(config-callhome)# show callhome
transport-email
(Optional) Displays information about the e-mail
configuration for Call Home.
Step 7
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# callhome
Enters callhome configuration mode.
Step 3
switch(config-callhome)#
periodic-inventory notification
[interval days][timeofday time]
Configures the periodic inventory messages. The
interval range is from 1 to 30 days. The default is 7
days. The timeofday value is in HH:MM format.
Step 4
switch(config-callhome)# show callhome
(Optional) Displays information about Call Home.
Step 5
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.