Wednesday, July 10, 2019

Juniper VLAN Interface vs IRB Interface

Hi All,

I'm still new to Juniper (I have a Cisco background though), and I'm trying to understand the difference between creating a VLAN interface, and attaching a VLAN to an IRB interface.

For example:

set interfaces vlan unit 10 family inet address 10.10.10.10/24; 

This appears to be the same as a Cisco SVI. This gives some layer-3 functionality to a VLAN.

On the other hand:

set interfaces irb unit 10 family inet address 10.10.10.10/24; set vlans NAME vlan-id 10; set vlans NAME l3-interface irb.10; 

This also appears to give a VLAN some layer-3 functionality.

So, I'm wondering what the difference between the two is. Is one for older versions and the other for newer versions? Are they different approaches to the same thing? Something else?

Thanks



No comments:

Post a Comment