Data Center

 View Only
  • 1.  Apstra Device Profile for Juniper interpretation

    Posted 07-09-2025 16:46

    Hi everyone,

    I am trying to understand how JUNOS version is listed in device profile.   

    Example:    Device profile for vQFX shows following for Version under Selector field:

    Version: (1[89]|2[0-2])\..*

    How should we interpret this ?  I  know JUNOS version is listed here . 

    Much appreciated!!



    ------------------------------
    Be kind!!
    ------------------------------


  • 2.  RE: Apstra Device Profile for Juniper interpretation
    Best Answer

    Posted 07-10-2025 12:53

    This is standard regex format. Here's a breakdown of each part:

    • (1[89]|2[0-2]):

      • 1[89] matches either 18 or 19 (the 1 is followed by either 8 or 9).

      • 2[0-2] matches 20, 21, or 22 (the 2 is followed by 0, 1, or 2).

      • The | acts as an OR, so this part matches 18, 19, 20, 21, or 22.

    • \.:

      • The backslash \ escapes the dot, so it matches a literal period character.

    • .*:

      • The dot . matches any character except a newline.

    Meaning, any Junos version of 18.X, 19.X, 20.X, 21.X, or 22.X



    ------------------------------
    Kyle Baxter
    ------------------------------



  • 3.  RE: Apstra Device Profile for Juniper interpretation

    Posted 07-12-2025 00:24

    Appreciated!!



    ------------------------------
    Be kind!!
    ------------------------------