Re: Custom Macro, multiple interfaces

From: Roy Waterman <roy.waterman_at_gmail.com>
Date: Sun, 11 Oct 2009 07:30:36 +0100

Hi G2

Im afraid this is standard behaviour.

You need to do:

macro name DEFAULT
srr-queue bandwidth shape 0 0 250 0
@
int range f1/0/1 - 24
macro apply DEFAULT

OR

macro name DEFAULT
srr-queue bandwidth shape 0 0 250 0
@
define interface-range macro SW3 f1/0/1 - 24
int range macro SW3
macro apply DEFAULT

In summary you cant as far as I am aware use interface range WITHIN a
smartport macro.

Regards
Roy

2009/10/10 G2 <farawayguy_at_gmail.com>

> > Guys,
> >
> > Running into an odd issue doing a custom macro:
> >
> > Trying to configure this line on a range of ports inside a macro:
> > "srr-queue bandwidth shape 0 0 250 0"
> >
> > macro name DEFAULT
> > int range f1/0/1 - 24
> > srr-queue bandwidth shape 0 0 250 0
> > @
> >
> > macro global apply DEFAULT
> >
> > However, only port f1/0/1 gets the configuration. For some reason,
> > the custom macro does not want to take on all the ports. So I then
> > defined a interface-range macro and link it in the custom macro
> > (nesting the macro), but that didn't work either.
> >
> > define interface-range macro SW3 f1/0/1 - 24
> >
> > macro name DEFAULT
> > int range macro SW3
> > srr-queue bandwidth shape 0 0 250 0
> > @
> >
> >
> > Doesn't help, it still only does it to the first port in the range.
> >
> > Anyone seen this before?
> >
> > Thanks,
> > Gary
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Regards
Roy
Blogs and organic groups at http://www.ccie.net
Received on Sun Oct 11 2009 - 07:30:36 ART

This archive was generated by hypermail 2.2.0 : Sun Nov 01 2009 - 07:50:59 ART