I am fairly new to Juniper as an engineer and I have been doing some reading lately concerning IRB versus vlans. I have noticed we use them in most configurations throughout our environment, IRB that is. Can anyone share some of the advantages associated with both of these? From my understanding VLAN is generally used more with our EX series equipment due to it being layer 2, I do however see it on some router configurations.

When would one use one over another or both in the same configuration for that matter?

1 Answer 1


I suspect that you probably have a mix of First Generation (EX2200, EX3200, EX3300, EX4200, EX4500, EX4550) and Second Generation (EX2300, EX3400, EX4300, EX4600, QFX5100) hardware in your network.

First generation platforms assign L3-interfaces to vlans using vlan.x, whereas the newer platforms (much like the MX-series) use the Juniper's ELS (Enhanced Layer-2 Switching) configuration style which use the irb.x interface for assigning L3 to a VLAN.

Functionally they are identical, but you don't necessarily choose one over the other, merely use the style supported by the platform you are configuring.

Juniper have a complete breakdown of all the configuration differences between traditional EX-style and ELS-style here:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.