You could do the opposite if you only want to remove vlan 1.
"switchport trunk allowed vlan except vlan 1", this will allow all vlans except 
1

Best Regards,

Thomas


On 18/01/09 16:47, "a.l.m.bu...@lboro.ac.uk" <a.l.m.bu...@lboro.ac.uk> wrote:

Hi,

>   interface GigabitEthernet0/14
>     switchport trunk encapsulation dot1q
>     switchport mode trunk
>     switchport trunk allowed vlan 2,10,200-300
>
>     switchport access vlan X
>     switchport trunk native vlan X
>     switchport nonegotiate

you cant have a 'switchport access' and 'switchport mode trunk'
(especially with nonegotiate).

but the rest of it is the way to go for sure.

alan
_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to