17-12
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 17 Configuring Auto SmartPort Macros
Configuring Auto SmartPorts
Table 17-4 lists the supported shell keywords your can apply in your macros and antimacro statements.
Table 17-5 lists the shell keywords that are not supported in macros and antimacros.
Table 17-4 Supported Cisco IOS Shell Keywords
Command Description
{ Begin the command grouping.
} End the command grouping.
[[ Use as a conditional construct.
]] Use as a conditional construct.
else Use as a conditional construct.
-eq Use as a conditional construct.
fi Use as a conditional construct.
if Use as a conditional construct.
then Use as a conditional construct.
-z Use as a conditional construct.
$ Variables that begin with the $ character are
replaced with a parameter value.
# Use the # character to enter comment text.
Table 17-5 Unsupported Cisco IOS Shell Reserved Keywords
Command Description
| Pipeline.
case Conditional construct.
esac Conditional construct.
for Looping construct.
function Shell function.
in Conditional construct.
select Conditional construct.
time Pipeline.
until Looping construct.
while Looping construct.