For When You Can't Have The Real Thing
[ start | index | login ]
start > Juniper > EX2200 > Port VLAN Gotcha

Port VLAN Gotcha

Created by dave. Last edited by dave, 10 years and 126 days ago. Viewed 3,834 times. #1
[edit] [rdf]
labels
attachments
(2013-11-15)

Problem

I have a VLAN with ports defined as so:

set vlans MyLAN interface ge-0/0/16.0

And then I come along and want to add other VLANs as trunked VLANs, as so:

set interfaces ge-0/0/16 description "System LAN trunk"
set interfaces ge-0/0/16 unit 0 family ethernet-switching port-mode trunk
set interfaces ge-0/0/16 unit 0 family ethernet-switching vlan members MyVLAN164
set interfaces ge-0/0/16 unit 0 family ethernet-switching native-vlan-id MyLAN

...and nothing works, not even untagged traffic on MyLAN.

Solution

The two VLAN definition methods are incompatible. Get rid of the original definition:

delete vlans MyLAN interface ge-0/0/16.0

...and things will work again.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt