This article provides solution to an issue where native-vlan-id option is not available under interface-range hierarchy after upgrading device to version 23.4R1 or higher.
This issue occurs when users try to configure the native-vlan-id under the group LAN interfaces hierarchy, leading to a syntax error during configuration. It happens when attempting to set native-vlan-id under groups or interface ranges via CLI or MIST. The problem affects all VLAN IDs, not just wildcards. Below is the sample configuration and the error message.
user@router> ...ch "interface-range|irb" | display setset interfaces interface-range test member-range ge-0/0/x to ge-0/0/yset interfaces interface-range test flexible-vlan-taggingset interfaces interface-range test native-vlan-id xxxxset interfaces interface-range test unit 0 family ethernet-switching interface-mode trunkset interfaces interface-range test unit 0 family ethernet-switching vlan members all
++ Even though configuration is present, it does not apply to interface as shown below-user@router# show interfaces ge-0/0/X | display inheritanceunit 0 {'ethernet-switching' was expanded from interface-range 'test'family ethernet-switching {'trunk' was expanded from interface-range 'test'interface-mode trunk;
## 'vlan' was expanded from interface-range 'test'vlan {
## 'all' was expanded from interface-range 'test'members all;
++ If you try to delete that, it gives below error, but the commit goes through.
config/ABCsyntax error: native-vlan-id[edit interfaces interface-range test]'native-vlan-id;'syntax error
This is a known issue and has been addressed in version 23.4R2-S4. Please refer to the following link for more information - PR1847366