stcli services asup Commands
This section lists and describes the Cisco Automatic Support (ASUP) commands. ASUP enables you to proactively obtain information about failures and responds immediately. It also helps in planning system performance and capacity.
![]() Note |
ASUP relies on SMTP. Before you enable ASUP, ensure that you configure SMTP in your network. |
stcli services asup [-h] {enable | disable | show | recipients}
Syntax Description
|
Option |
Required or Optional |
Description |
|---|---|---|
| disable |
One of set required. |
Disables ASUP. |
| enable |
One of set required. |
Enables ASUP. |
| recipients |
One of set required. |
Commands to support ASUP recipients list configuration. |
| show |
One of set required. |
Shows the ASUP configuration. |
Command Default
None. One option from the set is required.
Usage Guidelines
Accompany the stcli services asup command with one of the positional arguments enclosed in { } or optional arguments enclosed in [ ].
stcli services asup disable Command
Disables HX auto support (ASUP) support.
stcli services asup disable [-h]
Command Default
No additional options.
Usage Guidelines
Run the stcli services asup disable command.
# stcli services asup disable
stcli services asup enable Command
Enables HX auto support (ASUP) support.
stcli services asup enable [-h]
Command Default
No additional options.
Usage Guidelines
-
Ensure SMTP is configured. See the
stcli services asup smtpcommand. -
Run the
stcli services asup enablecommand.
# stcli services asup enable
stcli services asup recipients Commands
HX auto support (ASUP) recipient configuration operations.
stcli services asup recipients [-h] {set | clear | add | remove}
Syntax Description
|
Option |
Required or Optional |
Description |
|---|---|---|
| add |
One of set required. |
Adds ASUP email recipients to an existing list of ASUP recipients. |
| clear |
One of set required. |
Deletes the entire ASUP recipient list. To remove individual recipients, use |
| remove |
One of set required. |
Deletes the specified ASUP email recipients from an existing list. |
| set |
One of set required. |
Sets the ASUP recipient list. Replaces previously set list of recipients. To add recipients to an existing list, use |
Command Default
None. One option from the set is required.
Usage Guidelines
Accompany the stcli services asup recipients command with one of the positional arguments enclosed in { } or optional arguments enclosed in [ ].
-
Use
clearoption to delete all recipients from an existing list of recipients. -
Use
removeoption to delete specific email addresses from the list of recipients. -
Use
addoption to add new email addresses to the list of recipients. -
Use
setoption to replace the previous list of recipients with a new list of recipients.
stcli services asup recipients add Command
Adds ASUP email recipients to an existing list of ASUP recipients. The existing list can be currently empty. Use this command to add one or more recipients.
stcli services asup recipients add [-h] --recipients RECIPIENTS [RECIPIENTS . . .]
Syntax Description
|
Option |
Required or Optional |
Description |
|---|---|---|
| --recipients RECIPIENTS [RECIPIENTS . . .] |
Required. |
Add one or more email addresses to the current list of recipients that receive ASUP notifications. |
Command Default
None. At least one recipient is required.
Usage Guidelines
Accompany the stcli services asup recipients add command with at least one recipient. Separate multiple recipients with a space between email addresses.
# stcli services asup recipients add --recipients user1@mycompany.com user2@mycompany.com
stcli services asup recipients clear Command
Deletes the entire ASUP recipient list. To remove individual recipients, use asup recipients remove.
stcli services asup recipients clear [-h]
Command Default
No additional options.
Usage Guidelines
Run the stcli services asup recipients clear command to delete all email addresses from the recipient list.
stcli services asup recipient remove Command
Deletes the specified individual email recipients from an existing list of ASUP recipients.
stcli services asup recipients remove [-h] --recipients RECIPIENTS [RECIPIENTS . . .]
Syntax Description
|
Option |
Required or Optional |
Description |
|---|---|---|
| --recipients RECIPIENTS [RECIPIENTS . . .] |
Required. |
Delete individual email addresses from the current list of recipients that receive ASUP notifications. |
Command Default
None. At least one recipient is required.
Usage Guidelines
Accompany the stcli services asup recipients remove command with at least one recipient. Separate multiple recipients with a space between email addresses.
# stcli services asup recipients remove --recipients user1@mycompany.com user2@mycompany.com
stcli services asup recipients set Command
Replaces an existing list of ASUP email recipients with a provided list of email addresses. This deletes all recipients on
the existing list. To add recipients to an existing list and not deleted the existing recipients, use asup recipients add.
stcli services asup recipients set [-h] --recipients RECIPIENTS [RECIPIENTS . . .]
Syntax Description
|
Option |
Required or Optional |
Description |
|---|---|---|
| --recipients RECIPIENTS [RECIPIENTS . . .] |
Required. |
Add one or more email addresses to replace the existing list of recipients to receive ASUP notifications. Separate email recipients with a space. |
Command Default
None. At least one recipient is required.
Usage Guidelines
Accompany the stcli services asup recipients set command with at least one recipient. Separate multiple recipients with a space between email addresses.
# stcli services asup recipients set --recipients user1@mycompany.com user2@mycompany.com
stcli services asup show Command
Shows the ASUP configuration, this includes the ASUP recipient list and whether ASUP is enabled or disabled.
stcli services asup show [-h]
Command Default
No additional options available.
Usage Guidelines
Run the stcli services asup show command to list the applied ASUP settings.
This sample response indicates that ASUP is not enabled and there are no email addresses in the recipient list.
# stcli services asup show
recipientList:
enabled: False

Feedback