Macro global – Dell PowerEdge VRTX User Manual

Page 80

Advertising
background image

80

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

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

console(config-if)# macro description dup

console(config-if)# macro description duplex

console(config-if)# end

console(config)# exit

console# show parser macro description

Global Macro(s):

Interface Macro Description(s)

------------ --------------------------------------------------

gi0/2 dup

gi0/3 duplex | dup | duplex

--------------------------------------------------------------

console# configure

console(config)# interface gi0/2

console(config-if)# no macro description

console(config-if)# end

console(config)# exit

console# show parser macro description

Global Macro(s):

Interface Macro Description(s)

--------- ---------------------------------------------------

gi0/3 duplex | dup | duplex

macro global

Use the macro global Global Configuration command to apply a macro to a

switch (with or without the trace option).

Syntax

macro global {apply | trace}

macro-name

[

parameter-name1 value

]

[

parameter-name2 value

]

[parameter -name3 value

]

Parameters

apply—Apply a macro to the switch.

Advertising