Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

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@example.com
switch(config-callhome)# transport email reply-to person@example.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.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Enters callhome configuration mode.switch(config)# callhome
Step 2
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.
switch(config-callhome)#
periodic-inventory notification [interval
days] [timeofday time]
Step 3
(Optional)
Displays information about Call Home.
switch# show callhome
Step 4
(Optional)
Saves this configuration change.
switch# copy running-config
startup-config
Step 5
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
Disabling Duplicate Message Throttle
You can limit the number of duplicate messages received for the same event. By default, the switch limits the
number of duplicate messages received for the same event. If the number of duplicate messages sent exceeds
30 messages within a 2-hour time frame, then the switch discards further messages for that alert type.
PurposeCommand
Disables duplicate message throttling for Call Home.
Enabled by default.
switch(config-callhome)# no duplicate-message
throttle
Enabling or Disabling Call Home
Once you have configured the contact information, you can enable the Call Home function in callhome
configuration mode.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
360 OL-16597-01
Configuring Smart Call Home
Configuring Periodic Inventory Notification