Re: Differences between remove and except in trunking

From: Ravi Singh (way2ccie@googlemail.com)
Date: Tue Mar 31 2009 - 10:00:24 ART


Hi Salah

One small correction. the keyword Except will ADD all the VLANs to the
allowed list except for the ones specified in the command.

e.g switchport trunk allowed vlan except 4

will allow all the vlans through the trunk except VLAN4

Vincent,
There does not seem to be much difference between the two commands
since both of them specify the vlans that are NOT allowed on the
trunk, but the remove keyword is used when you already have a defined
list of vlans allowed through the trunk and you want to remove some of
them from the list without repopulating the entire list again. The
except keyword is used when you have a long list of allowed vlans but
just a few of them which you do not wish to be allowed, So you would
be better off with using the except keyword rather than specifying the
complete list of the allowed vlans.

HTH

Ravi

On Tue, Mar 31, 2009 at 5:06 AM, Salah ElShekeil
<salah.elshekeil@gmail.com> wrote:
> remove it will remove just what u specify
>
>
>
> ex. sw tr all vlan remo 88
>
>
>
> it will remove 88 from the list,
>
>
>
> except, it will remove them all except what u specify
>
>
>
> HTH
>
>
>
> Salah
>
> On Tue, Mar 31, 2009 at 5:56 AM, Vincent Tay <vtay.75@gmail.com> wrote:
>
>> Hi all,
>>
>> Any can explain the differences between the remove and except option in
>> trunking mode?
>>
>> SW1(config-if)#switchport trunk allowed vlan ex
>> SW1(config-if)#switchport trunk allowed vlan except ?
>> WORD VLAN IDs of disallowed VLANS when this port is in trunking mode
>> SW1(config-if)#switchport trunk allowed vlan remove ?
>> WORD VLAN IDs of disallowed VLANS when this port is in trunking mode
>>
>> Regards
>> Vincent
>>
>>
>> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Apr 06 2009 - 06:44:08 ART