Description

How to force a Junos device to send a new iJMB to Junos Space?

Symptoms

When Junos scripts are added to a JUNOS device, an intel-JMB (Juniper Message Bundle) is created and sent to Junos Space.
After this initial iJMB is sent, JUNOS sends a new iJMB every 7 days by default.

How can a new iJMB be initiated manually?

Solution

A config change to the Juniper-AIS config on the Junos device can cause a new iJMB to be created.

To initiate a new iJMB, delete and re-add the "juniper-ais" command to the devices "apply-groups".

For example:

Login to the Junos device and view the config:

root> show configuration apply-groups 
apply-groups juniper-ais;

Then edit the config. Delete and re-add the juniper-ais command to the apply-groups.
It is not necessary to commit the config in-between the delete and re-add.

root> edit 
Entering configuration mode
[edit]
root# delete apply-groups juniper-ais 
[edit]
root# set apply-groups juniper-ais 
[edit]
root# commit 
commit complete
[edit]
root# quit 
Exiting configuration mode
root> 

This will cause a new iJMB to be sent.