Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

NSM - How to reset NSM communications from the device side for Junos devices



Article ID: KB16662 KB Last Updated: 21 Feb 2020Version: 4.0
This article explains a simple procedure for resetting NSM device communications from the Junos device side
Sometimes circumstances lead to a device losing communication with NSM.  Rather than unsetting all NSM configuration parameters or deleting the device in NSM and re-adding it, there is a set of commands to reset the NSM communications.

On the Junos device, enter edit mode in the CLI, and perform the following steps:

  1. Confirm that the proper config exists for the device to connect to NSM:

    Run the command:    show system services outbound-ssh

    The output should be similar to below:

    #show system services outbound-ssh
    client nsm {
       device-id 2CEDC2;
       secret “$ABC123"; ## SECRET-DATA
       services netconf; port 7804;

  2. Deactivate outbound-ssh:

    # deactivate system services outbound-ssh
    # commit

  3. Re-activate outbound-ssh:

    # activate system services outbound-ssh
    # commit

Modification History:

2020-02-21: Changed encrypted password to “$ABC123".

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search