Description

Configuring static ARP for an IRB interface over an l2 interface may fail with the below error if the l2 interface does not contain the VLAN associated with that IRB as a VLAN member.

 

root@QFX5100# set vlans test vlan-id 10

root@QFX5100# set vlans test l3-interface irb.10

root@QFX5100# set interfaces irb unit 10 family inet address 192.168.1.1/24 arp 192.168.1.2 l2-interface ae0.0

root@QFX5100# set interfaces irb unit 10 family inet address 192.168.1.1/24 arp 192.168.1.2 mac aa:bb:cc:dd:ee:ff

 

{master:0}[edit]

root@QFX5100# show | compare

[edit interfaces]

+  irb {

+    unit 10 {

+      family inet {

+        address 192.168.1.1/24 {

+          arp 192.168.1.2 l2-interface ae0.0 mac aa:bb:cc:dd:ee:ff;

+        }

+      }

+    }

+  }

[edit vlans]

+  test {

+    vlan-id 10;

+    l3-interface irb.10;

+  }

 

{master:0}[edit]

root@QFX5100# commit check

error: IRB interface(irb.10) and l2-interface(ae0.0) do not belong to the same routing instance

error: configuration check-out failed

 

Solution

The error message indicates that the VLAN associated with irb.10 is not a member of ae0.0 interface.

 

Check the configuration of ae0 interface - it does not have the VLAN "test" with VLAN-ID 10 as its member.

 

root@QFX5100# show interfaces ae0 | display set

set interfaces ae0 unit 0 family ethernet-switching interface-mode trunk

set interfaces ae0 unit 0 family ethernet-switching vlan members v20

set interfaces ae0 unit 0 family ethernet-switching vlan members v30

 

To fix this, add the VLAN "test" to the ae0 interface VLAN members list.

 

root@QFX5100# set interfaces ae0.0 family ethernet-switching vlan members test

 

root@QFX5100# commit check

configuration check succeeds

 

Modification History

Changing to validated