Re: Macro command on 3750

From: Grammer, Christopher <cgrammer_at_essilorusa.com>
Date: Fri, 13 Aug 2010 09:23:10 -0500

it seems that the macro command has changed in the later 3750 IOS.
I dont have a 3560 to study with so I use 4 3750s.
I am working on a study lab that has a question to create and apply a macro
like:

macro name STANDARD_PORT
switchport access vlan 5
switchport mode access
switchport port-security
switchport port-security violation restrict
switchport port-security aging time 2
switchport port-security aging type inactivity
spanning-tree portfast
spanning-tree bpduguard enable

When I tried to create the macro on the 3750 the macro name command is not
available.
The macro is nothing special, but apparently there is a mind numbing amount
of hoola hoops to jump through now to make a simple port macro.

Chris

On Fri, Aug 13, 2010 at 4:50 AM, Robert Hosford
<rhosford_at_certifiednets.com>wrote:

> What was his macro?
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Grammer, Christopher
> Sent: Thursday, August 12, 2010 11:26 PM
> To: Steve Di Bias
> Cc: ccielab_at_groupstudy.com
> Subject: Re: Macro command on 3750
>
> Awesome!
>
> Thanks very much for the help guys.
> I will just use the hidden command :)
> I am not sure whether the auto execute macros are fair game, but I think
> they need to clear up the documentation if it is included.
> Jeff's macro made my head hurt.
> Do i need to compile that? ;)
>
>
> Chris
>
>
> On Thu, Aug 12, 2010 at 10:14 PM, Steve Di Bias <sdibias_at_gmail.com> wrote:
>
> > Hey Chris,
> > I have some 3750's lying around so I thought I would check and I'm
> > seeing the "macro name" command on mine
> >
> > DS(config)#macro ?
> > global Enter global macro apply
> > name Name of the macro
> >
> > Only differences are is that you are running IP services (122-53.SE2)
> > while I'm running IP Base (122-46.SE)
> >
> > DS3(config)#do sh ver | i IOS|System image Cisco IOS Software, C3750
> > Software (C3750-IPBASEK9-M), Version 12.2(46)SE, RELEASE SOFTWARE
> > (fc2) System image file is "flash:c3750-ipbasek9-mz.122-46.SE.bin"
> >
> > I went to the Cisco command lookup tool but didn't see 12.2-53 listed,
> > only 12.2-50. I put the command in and found this
> >
> > "Note Beginning with Cisco IOS Release 12.2(50)SE, the macro auto
> > execute command replaces the macro name command. Though not visible in
> > the command line, the macro name command is still active. The command
> > will become obsolete in a future Cisco IOS software release."
> >
> > It's worth a try "macro auto execute" ??
> >
> > Steve
> >
> >
> >
> >
> > On Thu, Aug 12, 2010 at 1:55 PM, Grammer, Christopher <
> > cgrammer_at_essilorusa.com> wrote:
> >
> >> I am using 3750s to study with, but I can not find a way to use the
> >> "macro name" to create a macro.
> >>
> >> SW1(config)#macro ?
> >> auto Macro autoexecution settings
> >> global Enter global macro configuration
> >>
> >> I seem to be missing something or the feature is not available.
> >> I checked CCO, but 3750 macro guide does not show anything special to
> >> enable the macro creation feature.
> >>
> >> show ver
> >> ...
> >> System image file is "flash:/c3750-ipservicesk9-mz.122-53.SE2.bin"
> >> cisco WS-C3750-48P (PowerPC405) processor (revision L0) with 131072K
> >> bytes of memory.
> >> ...
> >>
> >> I found a few forums on google discussing the problem, but no answer
> >> to resolve the problem.
> >>
> >>
> >> I have 1 3550 running a few revisions older IOS and the "macro name"
> >> command
> >> works fine.
> >>
> >> thanks in advance,
> >>
> >> Chris
> >>
> >>
> >> Blogs and organic groups at http://www.ccie.net
> >>
> >> _____________________________________________________________________
> >> __ Subscription information may be found at:
> >> http://www.groupstudy.com/list/CCIELab.html
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> > --
> > -Steve Di Bias
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Fri Aug 13 2010 - 09:23:10 ART

This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART