Ethernet Switching
Ethernet Switching


03.26.12   |  
‎03-26-2012 07:04 PM



I'm pretty new to JunOS, and am in the process of configuring a 5x EX3300 Stack, i'm having an issue with getting my port config right. I've had a lot of experience with Brocade but cant quite work out the translation Smiley Happy


What i want to do is have a port set with untagged packets on one vlan and tagged on another. In brocade land i would just do


vlan 10

untagged eth 47


vlan 20

tagged eth 47



The relevant code snippets are below for what we have on the EX3300

 ge-1/0/47 {
        unit 0 {
            family ethernet-switching {
                port-mode trunk;
                vlan {
                    members VLAN56;
                native-vlan-id VLAN40;



vlans {
    VLAN10 {
         vlan-id 10;
        interface {
           Userports;    <------ this interface range includes the  ge-1/0/47 as well, is that an issue?
        l3-interface vlan.10;
    VLAN20 {
        vlan-id 20;

Ethernet Switching

Re: EX3300 VLAN

03.27.12   |  
‎03-27-2012 04:22 AM
In JunOS, you generally either configure the VLANs at the port level, or ports at the VLAN level, but not both. I generally configure access-ports by adding them to the respective VLAN, and trunk ports by setting them at the interface level, but that is just my convention. In your code snippet, you haven't defined the objects VLAN40 and VLAN56 (you have 10 and 20??). Is that just an oversight? Anyways, I would also remove ge-1/0/47 from the interface-range. Ron