![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 50](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294050.webp)
Macro Commands
78-20269-01 Command Line Interface Reference Guide
51
3
Use the following guidelines to create a macro:
•
Use the macro name command to assign a name to the macro.
•
Enter one macro command per line.
•
Use the @ character to end the macro.
•
Use the # character at the beginning of a line to enter comment text within
the macro. In addition, # is used to identify certain preprocessor commands
that can only be used within a macro. There are two possible preprocessor
commands:
-
#macro key description - Each macro can be configured with up to 3
keyword and description pairs. When a macro is displayed from the GUI,
its keywords and descriptions are displayed (if they exist).
The syntax for this preprocessor command is as follows:
-
#macro key description: $
keyword1
:
description_string
-
#$
keyword2
:
description_string
-
#$
keyword3
:
description_string
Parameters:
-
keyword - A keyword must be prefixed with '$'
-
description-string - description of the keyword
-
#macro keywords - This preprocessor command accepts up to 3
keywords. The command creates a CLI help string with the keywords for
the macro. The help string will be displayed if help on the macro is
requested from the macro apply/trace and macro global apply trace
commands. The GUI also uses the keywords specified in the command
as the parameter names for the macro. See Example 2 and 3 below for a
description of how this command is used in the CLI.
The syntax for this preprocessor command is as follows:
-
#macro keywords: $
keyword-name1
$
keyword-name2
Parameter:
-
keyword-name - User-defined name of the keyword (parameter)
prefixed with '$'
It is important to consider the scope of any user-defined macro. Because of the
potential hazards of applying unintended configurations, do not change
Содержание Small Business 300 1.1 Series
Страница 1: ...Cisco Small Business 300 1 1 Series Managed Switch Administration Guide CLI GUIDE ...
Страница 527: ...DHCP Relay Commands 78 20269 01 Command Line Interface Reference Guide 528 38 Servers 1 1 1 1 2 2 2 2 ...
Страница 705: ...Revision History 78 20269 01 Command Line Interface Reference Guide 936 4 ...