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-10
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 associate all alert groups with the destination profile Noc101:
switch# configuration terminal
switch(config)# callhome
switch(config-callhome)# destination-profile Noc101 alert-group All
Adding show Commands to an Alert Group
Note You cannot add user-defined CLI show commands to the CiscoTAC-1 destination profile.
To assign a maximum of five user-defined CLI show commands to an alert group, perform this task:
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.
To configure e-mail, perform this task:
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# callhome
Enters callhome configuration mode.
Step 3
switch(config-callhome)# alert-group
{Configuration | Diagnostic |
Environmental | Inventory | License |
Linecard-Hardware | Supervisor-Hardware
| Syslog-group-port | System | Test}
user-def-cmd show-cmd
Adds the show command output to any Call Home
messages sent for this alert group. You must enclose
the show command in double quotes. Only valid show
commands are accepted.
Step 4
switch(config-callhome)# show callhome
user-def-cmds
(Optional) Displays information about all user-defined
show commands added to alert groups.
Step 5
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# callhome
Enters callhome configuration mode.