add (command)

Adds the command to be executed to the command-list.
Syntax
add "command"
no add "command"
Command Default

By default, there are no commands added to the command list.

Parameters
command
Specifies the valid CLI command to be executed.
Modes

Time-profile-command-list configuration mode

Usage Guidelines

The command has to be provided within double quotes.

The no form of the command deletes the command from the command list.

Examples

The following example shows how to add multiple commands to the command list for a specific time-profile configuration. The exit command places the session back in time-profile configuration mode.

device# configure terminal
device(config)# time-profile profile1
device(config-time-profile-profile1)# command-list
device(config-time-profile-test-command-profile1)# add "clear statistics"
device(config-time-profile-test-command-profile1)# add "symmetrical-flow-control enable"
device(config-time-profile-test-command-profile1)# add "flow-control both"
device(config-time-profile-test-command-profile1)# exit
History
Release version Command history
10.0.20a This command was introduced.