add cmd
To add a show command to a command data set, use the add cmd command in command data set mode. To remove a show command from the data set, use the no form of this command.
add cmd command-line
no add cmd command-line
Syntax Description
command-lne |
Specifies show commands for which the output should be collected. |
Command Default
None
Command Modes
Command bulkstat data set configuration
Command History
Release | Modification |
---|---|
Release 5.2.2 |
This command was introduced. |
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID | Operation |
---|---|
bulkstat |
read, write |
Examples
This example shows how to use the add cmd command:
RP/0/RSP0/CPU0:router # config
RP/0/RSP0/CPU0:router (config) # bulkstat data show-snmp type command
RP/0/RSP0/CPU0:router (config-bs-ds-cmd) # add cmd show ip interface brief