Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Enters callhome configuration mode.switch(config)# callhome
Step 2
Associates an alert group with this
destination profile. Use the All keyword to
switch(config-callhome)# destination-profile
name alert-group {All | Cisco-TAC |
Step 3
associate all alert groups with the destination
profile.
Configuration | Diagnostic | Environmental |
Inventory | License | Linecard-Hardware |
Supervisor-Hardware | Syslog-group-port |
System | Test}
(Optional)
Displays information about one or more
destination profiles.
switch# show callhome destination-profile
[profile name]
Step 4
(Optional)
Saves this configuration change.
switch# copy running-config startup-config
Step 5
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
You can assign a maximum of five user-defined CLI show commands to an alert group.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Enters callhome configuration mode.switch(config)# callhome
Step 2
Adds the show command output to any Call Home
messages sent for this alert group. You must
switch(config-callhome)# alert-group
{Configuration | Diagnostic |
Step 3
enclose the show command in double quotes. Only
valid show commands are accepted.
Environmental | Inventory | License |
Linecard-Hardware |
Supervisor-Hardware | Syslog-group-port
| System | Test} user-def-cmd show-cmd
You cannot add user-defined CLI show
commands to the CiscoTAC-1 destination
profile.
Note
(Optional)
Displays information about all user-defined show
commands added to alert groups.
switch# show callhome user-def-cmds
Step 4
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
358 OL-16597-01
Configuring Smart Call Home
Adding show Commands to an Alert Group