Adding Show Commands To An Alert Group; Configuring E-Mail - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Configuring Call Home
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
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:
Command
Step 1
switch# configuration terminal
Step 2
switch(config)# callhome
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
Step 4
switch(config-callhome)# show callhome
user-def-cmds
Step 5
switch(config)# copy running-config
startup-config
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
Step 1
switch# configuration terminal
Step 2
switch(config)# callhome
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
26-10
Chapter 26
Purpose
Enters configuration mode.
Enters callhome configuration mode.
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.
(Optional) Displays information about all user-defined
show commands added to alert groups.
(Optional) Saves this configuration change.
Purpose
Enters configuration mode.
Enters callhome configuration mode.
Configuring Smart Call Home
OL-16597-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents