Switching

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  EX2200 I would like to set 4 ports for WAN usage

    Posted 10-11-2018 07:54

    I have EX2200 configured with some vlans but I would like to sacrifice 4 ports be configured as "unmanaged" to work with WAN ISP - I need extra 4 ports for that purpose so I can connect 3 device and ISP WAN.

     

    Basically, instead of placing an unmanaged switch, I would like to use these 4 ports. Should the config looks like this:

     

    interfaces {
    ge-0/0/0 {
    unit 0 {
    family ethernet-switching {
    storm-control default;
    }
    }
    }
    ge-0/0/1 {
    unit 0 {
    family ethernet-switching {
    storm-control default;
    }
    }
    }
    ge-0/0/2 {
    unit 0 {
    family ethernet-switching {
    storm-control default;
    }
    }
    }
    ge-0/0/3 {
    unit 0 {
    family ethernet-switching {
    storm-control default;
    }
    }
    }
     
    rstp {
    interface ge-0/0/0;
    interface ge-0/0/1;
    interface ge-0/0/2;
    interface ge-0/0/3;
     
    do I need anything else?


  • 2.  RE: EX2200 I would like to set 4 ports for WAN usage
    Best Answer

    Posted 10-14-2018 15:33

    What else do you have on the ex2200?

    The configuration you have will put these four ports into your current switch default vlan which is likely and internal one.

     

    I assume you want to isolate these four ports from all the internal vlans.  So you have two options:

     

    option 1 - layer 2 only vlan

    Create a new vlan with an unused vlan tag value to assign to all four ports.

    Make sure there are no layer 3 interfaces in this vlan so they cannot communicate with anything else

    I doubt you need to worry about loops on these ports to the upstream routers or firewalls so the rstp is probably not needed

     

    option 2 - isolated routing instance

    This will create more separation and guarantee no access to internal vlans

    Create a virtual router routing instance

    Assign all 4 ports to this routing instance

    The configuration you posted as just ethernet switching without need for vlans will work

     



  • 3.  RE: EX2200 I would like to set 4 ports for WAN usage

    Posted 10-16-2018 04:30

    Thank you Steve,

     

    I have few ports used by trunks so this option would be perfect:

     

    option 1 - layer 2 only vlan

    Create a new vlan with an unused vlan tag value to assign to all four ports.

    Make sure there are no layer 3 interfaces in this vlan so they cannot communicate with anything else

    I doubt you need to worry about loops on these ports to the upstream routers or firewalls so the rstp is probably not needed

     

    Thank you



  • 4.  RE: EX2200 I would like to set 4 ports for WAN usage

     
    Posted 10-14-2018 22:20

    Hello,

     

    You can create a separate vlan with 'set vlans test vlan-id <ID>' command.

    And then you can put interfaces from ge-0/0/0 to ge-0/0/3 in the VLAN created using command:

    'set vlans test interface <interface name>'

     

    This should put all these interfaces as L2 access interfaces in specific vlan.

     

    Regards,

     

    Rushi



  • 5.  RE: EX2200 I would like to set 4 ports for WAN usage

    Posted 10-16-2018 04:31

    thank you Rushi