Junos OS

 View Only
  • 1.  native-vlan-id missing from interface-range

    Posted 12-09-2024 15:35

    It appears native-vlan-id is no longer supported under interface-range, but it is supported under individual interfaces.  

    When upgrading to 23.x, config validation fails:

    Validating against /config/juniper.conf.gz
    /config/juniper.conf:447:(22) syntax error at 'native-vlan-id'
      [edit interfaces interface-range xyz]
        'native-vlan-id 10;'
          syntax error
    Validation failed

    The command set interfaces interface-range xyz native-vlan-id 10 is unavailable, but IS available for any particular interface (e.g. set interface ge-0/0/0 native-vlan-id 10 , with interface-mode trunk, works).

    Please advise. 



    ------------------------------
    ALEX H
    ------------------------------


  • 2.  RE: native-vlan-id missing from interface-range

    Posted 17 days ago

    You are right it got removed from interface-range on version 23.x

    You can try

    wildcard range set interfaces ge-0/0/[0-47] native-vlan-id 10

    -------------------------------------------



  • 3.  RE: native-vlan-id missing from interface-range

    Posted 15 days ago
    Edited by kronicklez2025 14 days ago

    Hi,

    I'm using 23.4 R2-S6 no issue and can set native-vlan-id in interface-range.

    Thanks



    ------------------------------
    kronicklez
    ------------------------------