[c-nsp] Controlling allowed VLANs, alternatives?

Randy McAnally rsm at fast-serv.com
Tue Feb 16 17:21:02 EST 2010


Nothing wrong...it's exactly what I needed.  

Long hours of coding makes me overlook these kinds of things and I really
appreciate the added eyes of the community :)

--
Randy

---------- Original Message -----------
From: sthaug at nethelp.no
To: rsm at fast-serv.com
Cc: cisco-nsp at puck.nether.net
Sent: Tue, 16 Feb 2010 23:17:28 +0100 (CET)
Subject: Re: [c-nsp] Controlling allowed VLANs, alternatives?

> > Is there a simpler way to add/remove VLANs from a trunk port without having to
> > redefine the allowed list each time?  I'm trying to script the adding and
> > removing of allowed VLANs and I would rather simple add/remove commands to add
> > or remove a single vlan (like 'tagged' or 'no tagged' on a per-VLAN basis in
> > Foundry) instead of redefining every VLAN each on the trunk port every time
> > the script runs.  But I don't think it's possible?
> 
> What is wrong with "switchport trunk allowed vlan add ..." and the
> corresponding "switchport trunk allowed vlan rem ..." ?
> 
> Steinar Haug, Nethelp consulting, sthaug at nethelp.no
------- End of Original Message -------



More information about the cisco-nsp mailing list