[c-nsp] Controlling allowed VLANs, alternatives?

sthaug at nethelp.no sthaug at nethelp.no
Tue Feb 16 17:17:28 EST 2010


> 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


More information about the cisco-nsp mailing list