Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Vlan Trunk between 2 Switches

    Posted 08-24-2015 20:38

    Hai,

     

    I need to setup a simple vlan network as per diagram. Multiple Vlan over single trunk between switches. Vlan 100 and Vlan 200. All the vlan will be deliver via single link that has been configured as trunk port at switch1 and switch2. 

    each switch will have 1xtrunk port and 2xaccess port each for trunk, customer A and customer B. Port facing to customer is only access port but a member of vlan 100 or 200.

     

    switch vlan trunk.png

    Config Switch1

     

    interfaces {
    ge-0/0/0 { [facing to Switch2]
    unit 0 {
    family ethernet-switching {
    port-mode trunk;
     }

    }

    }

     

     

    ge-0/0/1 {
    unit 0 {
    family ethernet-switching;
    }
    }

     

    ge-0/0/2 {
    unit 0 {
    family ethernet-switching;
    }
    }

     

    Name Tag Interfaces
    Vlan100 100
    ge-0/0/0.0, ge-0/0/1.0
    Vlan200 200
    ge-0/0/0.0, ge-0/0/2.0

     

     

    Config Switch2

     

    interfaces {
    ge-0/0/0 { [facing to Switch1]
    unit 0 {
    family ethernet-switching {
    port-mode trunk;
    }

    }

    }

     

     

    ge-0/0/1 {
    unit 0 {
    family ethernet-switching;
    }
    }

     

    ge-0/0/2 {
    unit 0 {
    family ethernet-switching;
    }
    }

     

    Name Tag Interfaces
    Vlan100 100
    ge-0/0/0.0, ge-0/0/1.0
    Vlan200 200
    ge-0/0/0.0, ge-0/0/2.0

     

    run show ethernet-switching interfaces
    ge-0/0/0.0 down Vlan100 100 tagged blocked by STP
    Vlan200 200 tagged blocked by STP
    ge-0/0/1.0 down Vlan100 100 untagged blocked by STP
    ge-0/0/2.0 down Vlan200 200 untagged blocked by STP

     

    show ethernet-switching-options
    storm-control {
    interface all;
    }

     

    May i know if I miss anything here? do i need to set dot1q-tunneling and ether-type? 

    Please guide me further. Thanks

     

    Edited



  • 2.  RE: Vlan Trunk between 2 Switches
    Best Answer

     
    Posted 08-25-2015 05:14

    You need to cleanup your configuration(for instance you added on the trunk ports the vlans using their id and their name).

     

    Also, to improve the readability of the configuration, use only one method of configuring interfaces and their assigned vlans: either assign the vlans to the interfaces or assign the interfaces to the vlans. You have a mix now. It's not incorrect, but it's a little bit harder to read the configuration.

     

    The interfaces were blocked by STP. Do you have any switches connected to these two? What is your ethernet-switching-options configuration?


    =====

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.



  • 3.  RE: Vlan Trunk between 2 Switches

    Posted 08-26-2015 19:47

    Hai,

     

    Thank you. I've change the config above.