Category: switching

Q-in-Q in EX switch

I have prepared a small setup to test Q-in-Q or formally known as IEEE 802.1ad. There are several names given to this technique but the ones I prefer most are Provider Bridging or Stacked VLANs but I think most common name is QinQ. Anyway, I have set up the following lab. This is the physical
Read More »

Trunk between Cisco,EX switch and SRX

Today I needed to test communication between a Cisco switch and EX switch to carry traffic via a trunk port from a PC to the final destination SRX device. I thought it is worth putting my config here for future reference as I am not working with cisco/ex switches much. Above is my exact topology
Read More »

Effect of MRU setting on EX Switch

MRU (Maximum Receive Unit) has a close relation to MTU but as far as I can see it has different effects in various active devices. For example setting an MTU value of 1000 on an Ethernet interface of a Linux machine or an SRX box doesn’t prevent the larger packet from being accepted. However if
Read More »

Port mirroring in EX switches and SRX

If you want to mirror traffic entering and exiting a specific port (e.g ge-0/0/11.0) you can use the following configuration to mirror the traffic to any other port (e.g ge-0/0/10.0) Here is the configuration I wrote in an ex2200 switch. Port mirroring in EX switches [edit ethernet-switching-options analyzer port-mirror] root@ex2200-1# show input { ingress {
Read More »

Native vlan ID in EX switches

I would like to show an example how we can use native vlan id in an EX switch. Normally if you set the port mode of an interface as trunk in EX switch, untagged traffic can’t pass through this interface. You have to tell Junos how it should behave on untagged frames. This is my
Read More »