Robin,
I'm not sure which version of switch you are using or which version of
IOS you're running, but 12.1(22)EA13 on a 2950 does as below:
config:
switchport trunk allowed vlan 1,3,5,7,9,11,13,15,17,19
sh run:
switchport trunk allowed vlan 1,3,5,7,9,11,13,15,17,19
For the second part, the switchport trunk allowed vlan command overwrote
what you entered the first time. So if you already have only certain
vlans allowed on the trunk, you have to use 'switchport trunk allowed
vlan add x,y,z,etc.' in order to add vlans to the allowed list.
Jake
Robin Betterley wrote:
> Hi Group,
>
> i noticed that after i issued the 'switchport trunk allow vlan
> a,b,c,d,e,f,g,h,i,j,k,l etc...'
>
> the sh run display:
>
> switchport trunk allow vlan a,b,c,d,e,f,g,h
> switchport trunk allowed vlan add i,j,k,l etc...
>
> Is there any specific reason why the IOS would append the 2 line with
> the remaining vlans?
>
> Is there really a limitation to how many vlans IOS can display in a
> singular line?
>
> It didnt really bother me until when i try to: switchport trunk allow
> vlan a,b,c,d,e,f,g,h,Z
>
> the sh run display:
>
> switchport trunk allow vlan a,b,c,d,e,f,g,h
> switchport trunk allowed vlan add Z
>
> it apparently DELETE my vlans for i,j,k,l etc... for the 2nd line :(
>
> Well i guess i learn it the hard way. BUT Is there really a limitation
> to how many vlans IOS can display in a singular line?
>
>
> 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
Received on Mon Oct 05 2009 - 12:08:16 ART
This archive was generated by hypermail 2.2.0 : Sun Nov 01 2009 - 07:50:59 ART