Dell PowerEdge VRTX User Manual

Page 78

Advertising
background image

78

Macro Commands

FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Plasma-ARC

2+3\new_system_mifs_ARC2_latest\Macro.fm

D E L L C O N F ID E N T IA L – P R E L IM I N A RY 4 / 3 /1 4 - FO R P R O O F O N LY

name is appended to the macro history of the interface. The show parser

macro command displays the macro history of an interface.
A macro applied to an interface range behaves the same way as a macro

applied to a single interface. When a macro is applied to an interface range, it

is applied sequentially to each interface within the range. If a macro

command fails on one interface, it is nonetheless attempted to be applied and

may fail or succeed on the remaining interfaces.

Examples.

Example 1 - The following is an example of a macro being applied to an

interface with the trace option.

console(config)# interface gi0/2

console(config-if)# macro trace dup $DUPLEX full $SPEED 100

Applying command… ‘duplex full’

Applying command… ‘speed 100’

console(config-if)#

Example 2 - The following is an example of a macro being applied without

the trace option.

console(config)# interface gi0/2

console(config-if)# macro apply dup $DUPLEX full $SPEED 100

console(config-if)#

Example 3 - The following is an example of an incorrect macro being applied.

console(config)# interface gi0/1

console(config-if)# macro trace dup

Applying command...'duplex full'

Applying command...'speed auto'

% bad parameter value

console(config-if)#

Advertising