Description

Commit was failing while applying below configurations 

set interfaces irb unit 4063 description :TRANS:VIDEO:ENT-Remote-PHY:
set interfaces irb unit 4063 vlan-id 4063
set interfaces irb unit 4063 family inet address 10.0.0.1/28
set interfaces irb unit 4063 family inet address 172.16.0.1/28
set interfaces irb unit 4063 family inet address 192.168.0.1/27

Symptoms

root@CE11_RE# load set terminal 
[Type ^D at a new line to end input]
set interfaces irb unit 4063 description :TRANS:VIDEO:ENT-Remote-PHY:
set interfaces irb unit 4063 vlan-id 4063
set interfaces irb unit 4063 family inet address 10.0.0.1/28
set interfaces irb unit 4063 family inet address 172.16.0.1/28
set interfaces irb unit 4063 family inet address 192.168.0.1/27
load complete

[edit]
root@CE11_RE# commit check 
[edit interfaces irb]
  'unit 4063'
    vlan-id out of range (0..1023)
error: configuration check-out failed

[edit]
root@CE11_RE# 

Solution

Issue was due to an incorrect configuration. VLAN-ID can only be specified on tagged ethernet interfaces.
In the above configuration, "interface irb.4064" has "vlan-id 4064" configured and hence the errors. Removing the incorrect configuration will resolve the issue 


root@CE11_RE# show | compare 
[edit interfaces irb]
+    unit 4063 {
+        description :TRANS:VIDEO:ENT-Remote-PHY:;
+        vlan-id 4063;
+        family inet {
+            address 10.0.0.1/28;
+            address 172.16.0.1/28;
+            address 192.168.0.1/27;
+        }
+    }

[edit]
root@CE11_RE# commit check 
[edit interfaces irb]
  'unit 4063'
    vlan-id out of range (0..1023)
error: configuration check-out failed

[edit]
root@CE11_RE# delete interfaces irb unit 4063 vlan-id 

[edit]
root@CE11_RE# commit check 
configuration check succeeds

 

Modification History

2024-04-11 : Article Created