SRX

 View Only
last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 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 12-10-2024 02:21

    It works for me:

    set interfaces interface-range APInterfaces member-range ge-0/0/0 to ge-0/0/3
    set interfaces interface-range APInterfaces native-vlan-id 15
    set interfaces interface-range APInterfaces unit 0 family ethernet-switching interface-mode trunk
    set interfaces interface-range APInterfaces unit 0 family ethernet-switching vlan members v15
    set interfaces interface-range APInterfaces unit 0 family ethernet-switching vlan members v11
    set interfaces interface-range APInterfaces unit 0 family ethernet-switching vlan members v1114

    Model: ex4100-f-12p
    Junos: 23.4R2-S2.1 (edit: tried it on 23.4R2-S3 on EX2300 too, also works)

    What is your exact version and switch model?




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

    Posted 12-10-2024 15:34

    H/W: SRX320-POE

    S/W: JUNOS 23.4R2.13



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



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

    Posted 12-12-2024 10:19

    Do you have a spare SRX you can upgrade to 23 with no-validate as a test? This maybe just a validation bug...



    ------------------------------
    Nikolay Semov
    ------------------------------



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

    Posted 12-12-2024 10:24

    I'll roll this back to 22, apply the config change, and try upgrade with no-validate.



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