You are both correct and wrong in that assessment :-). Technically,
they are *not* macros (i.e. they won't show when using "show parser
macro"), but they are macros in a sense they "expand" into different
set of commands that are then inserted into the running configuration
of the device. The use of term "macro" needs to be taken very
liberally here and it mimics Cisco's own documentation and CiscoPress
publications.

Another example of a "macro" could be a VRF-level command
"route-target both X:X", which will expand into "route-target import
X:X" and "route-target export X:X".

--
Marko Milivojevic - CCIE #18427 (SP R&S)
Senior CCIE Instructor - IPexpert

On Fri, Jan 13, 2012 at 21:45, Anthony Burke <[email protected]> wrote:
> Correct me if I am wrong but I beleve the primary and secondary commands
> are macros as they set the priority to values that are predefined. I would
> think that setting a priority to say, 4096 would be manual and not a macro.
>
> Anthony. Pandom_
> On Jan 14, 2012 4:40 PM, "James Roc" <[email protected]> wrote:
>
>> Hi All,
>>
>> In task Vol3-Lab7-Task1.4, a few configuration items need to be configured
>> using macro. e.g 'Use macro to configure it as secondary root'.
>>
>> I used the following:
>>
>> macro name span
>> spanning-tree vlan 1-4094 root secondary
>> @
>> !
>> macro global apply span
>>
>> However, DSG doesn't use any macro scripts in the solution, e.g simply
>> 'spanning-tree vlan 1-4094 root secondary'.
>>
>> Is this the DSG incorrect or did I misread the question?
>>
>> Cheers
>> James
>> _______________________________________________
>> For more information regarding industry leading CCIE Lab training, please
>> visit www.ipexpert.com
>>
>> Are you a CCNP or CCIE and looking for a job? Check out
>> www.PlatinumPlacement.com
>>
>> http://onlinestudylist.com/mailman/listinfo/ccie_rs
>>
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please 
> visit www.ipexpert.com
>
> Are you a CCNP or CCIE and looking for a job? Check out 
> www.PlatinumPlacement.com
>
> http://onlinestudylist.com/mailman/listinfo/ccie_rs
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs

Reply via email to