[c-nsp] Controlling allowed VLANs, alternatives?

Tim Jackson jackson.tim at gmail.com
Tue Feb 16 17:15:17 EST 2010

switchport trunk vlan allowed add/remove:

nsvltnit-office-3560(config-if)#switchport trunk allowed vlan ?
 WORD    VLAN IDs of the allowed VLANs when this port is in trunking mode
 add     add VLANs to the current list
 all     all VLANs
 except  all VLANs except the following
 none    no VLANs
 remove  remove VLANs from the current list

On Tue, Feb 16, 2010 at 4:05 PM, Randy McAnally <rsm at fast-serv.com> wrote:
> 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?
> --
> Randy
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/

More information about the cisco-nsp mailing list