Description

Juniper devices managed by Junos Space should have their corresponding release Device Management Interface (DMI) schema loaded, to ensure that users are able to access/implement all configuration options available for this release. Otherwise, Junos Space may use the bundled default schema, which means some configuration options may not be available. This article describes how to update the DMI schema on the Junos Space server.

Symptoms

Juniper devices managed by Space should have their corresponding release DMI schema loaded, to ensure that users are able to access/implement all configuration options available for this release. Otherwise, Junos Space may use the bundled default schema, which means some configuration options may not be available.

Solution

To check what DMI schema version needs to be updated on the Space server, navigate to the following location:

Devices > Device Management  (in tabular view)

It will list the devices managed by Junos Space. Under the Schema Version column, the entries that show Schema Update Needed  are the DMI schemas that should be downloaded to the Junos Space server.

To download and Install:
  1. Go to Network Management Platform > Administration > DMI Schemas > Update Schema . In the Update Schema window, select the SVN Repository checkbox and for URL , type the following link:

    https://xml.juniper.net/dmi/repository/trunk/

  2. Click Configure and enter the above URL. Use the Customer Support Centre username/password under User Name/Password , and click Save . Now click  Test Connection ; the connection is successful when the Connection Established message is displayed.
  3. Click Connect . The list of the latest DMI schemas for different devices families will be displayed. The already installed DMI schemas will be ticked and users will not be able to select them.

  4. Select the required DMI schema (by selecting the corresponding checkbox) and click Install .
  5. Verify that the selected DMI schemas are installed by viewing the list of DMI schemas. To view the list, go to Administration > Manage DMI Schemas .

    Once the DMI schemas are installed, the device list should not display the DMI schema version with 'Schema Update Needed'. 

Note : To perform an offline DMI schema update on Junos Space using SVN client on Windows, please refer to KB22263 - How to perform offline DMI schema update on Junos Space using SVN client on Windows [juniper.net]

On Linux, please refer to the documentation Creating a tgz File for Updating a DMI Schema .

As an alternative, use the following command:
 
wget -r -np -nH --cut-dirs=3 -P dmi --http-user= USER@DOMAIN --ask-password \
https://xml.juniper.net/dmi/repository/trunk/ FAMILY /releases/ RELEASE / -R index.html

tar zcfv VERSION .tar.gz dmi

 
and substitute your login name at USER@DOMAIN, login password at PASSWORD, junos family (eg: junos, junos-es, junos-ex, junos, qf, junos-qfx, etc.) at FAMILY, and VERSION such as 11.4R7.5 into the command above.


Note: Not every single release of Junos has it's perfectly matching schema. In those cases, a closest matching schema should be used instead. You will need to search and select this version manually, the "install missing schema" function isn't setup to easily find the closest available.

The "Schema update needed" message will disappear. no need to select "default" schema.

Modification History

2020-03-12 : Made changes to reflect correct path and column names.

Related Information