Dell PowerConnect PC5524 Reference Manual page 64

5500 series
Table of Contents

Advertisement

FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
keywords are visible if you enter more than three macro keywords. The
command can be anywhere within the macro.
When creating a macro, do not use the exit or end commands or change the
command mode using interface interface-id. Doing so might cause
commands that follow exit, end or interface interface-id to be executed in a
different command mode.
You can modify a macro by creating a new macro with the same name as the
existing macro. The newer macro overwrites the existing macro.
Examples
The following example shows how to create a macro that defines the duplex
mode and speed:
Switch(config) #
Enter macro commands one per line. End with the character '@'.
macro description dup
duplex full
speed auto
The following example shows how to create a macro with #macro keywords:
Switch(config) #
Enter macro commands one per line. End with the character '@'.
macro description duplex
duplex $DUPLEX
speed $SPEED
#macro keywords $ DUPLEX $ SPEED
@
The following example shows how to apply the macros to an interface:
Switch(config-if) #
Switch(config-if) #
WORDkeyword to replace with value e.g. $DUPLEX, $SPEED
<cr>
D E L L C O N F I D E N T I A L – P R E L I M I N A R Y 5 / 1 5 / 1 2 - F O R P R O O F O N LY
64
Macro Commands
CLI\files\750_Macro.fm
macro name dup
macro name duplex
macro apply duplex $DUPLEX full $SPEED auto
macro apply duplex ?

Advertisement

Table of Contents
loading

Table of Contents