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

[Junos Space] List of commands configured during device discovery

0

0

Article ID: KB23468 KB Last Updated: 21 Feb 2020Version: 3.0
Summary:

This article provides information about the Junos OS CLI commands that are configured on the device during device discovery.

Symptoms:

Information about the Junos OS CLI commands that are configured on the device during device discovery.

Solution:
  1. For a Junos Space-initiated connection, Space will configure the following commands on the device.  If SNMP is selected during device discovery, Space will send the command to set the SNMP target IP. For the below examples, 172.22.153.224 is used as an example representing Space IP.

    Standalone SRX

    set system syslog file default-log-messages any info
    set system syslog file default-log-messages match "(requested 'commit' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|GRES|(AIS_DATA_AVAILABLE)"
    set system syslog file default-log-messages structured-data
    set snmp trap-group space targets 172.22.153.224

    Cluster SRX

    set groups node0 system services ssh max-sessions-per-connection 32
    set groups node0 system syslog file default-log-messages any info
    set groups node0 system syslog file default-log-messages match "(requested 'commit' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|GRES|(AIS_DATA_AVAILABLE)"
    set groups node0 system syslog file default-log-messages structured-data
    set groups node1 system services ssh max-sessions-per-connection 32
    set groups node1 system syslog file default-log-messages any info
    set groups node1 system syslog file default-log-messages match "(requested 'commit' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|GRES|(AIS_DATA_AVAILABLE)"
    set groups node1 system syslog file default-log-messages structured-data
    set snmp trap-group space targets 172.22.153.224

    Ex

    set system syslog file default-log-messages any any
    set system syslog file default-log-messages match "(requested 'commit' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|cm_device|(Master Unchanged, Members Changed)|(Master Changed, Members Changed)|(Master Detected, Members Changed)|(vc add)|(vc delete)|(Master detected)|(Master changed)|(Backup detected)|(Backup changed)|(interface vcp-)|(AIS_DATA_AVAILABLE)"
    set system syslog file default-log-messages structured-data
    set snmp trap-group space targets 172.22.153.224

    QFX

    set system syslog file default-log-messages any any
    set system syslog file default-log-messages match "(requested 'commit' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|QF_NODE|QF_SERVER_NODE_GROUP|QF_INTERCONNECT|QF_DIRECTOR|QF_NETWORK_NODE_GROUP|(Master Unchanged, Members Changed)|(Master Changed, Members Changed)|(Master Detected, Members Changed)|(vc add)|(vc delete)|(Master detected)|(Master changed)|(Backup detected)|(Backup changed)|(interface vcp-)|(AIS_DATA_AVAILABLE)"
    set system syslog file default-log-messages structured-data
    set snmp trap-group space targets 172.22.153.224

    MX

    set system syslog file default-log-messages any info
    set system syslog file default-log-messages match "(requested 'commit' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|CFMD_CCM_DEFECT| LFMD_3AH | RPD_MPLS_PATH_BFD|(Master Unchanged, Members Changed)|(Master Changed, Members Changed)|(Master Detected, Members Changed)|(vc add)|(vc delete)|(Master detected)|(Master changed)|(Backup detected)|(Backup changed)|(interface vcp-)|(AIS_DATA_AVAILABLE)"
    set system syslog file default-log-messages structured-data
    set snmp trap-group space targets 172.22.153.224

  2. The device-initiated connection will configure the following commands, in addition to the above Junos Space-initiated connection commands:

    set system services outbound-ssh client 00000000EFBC device-id 5B88FE set system services outbound-ssh client 00187D0CEFBC secret "$ABC123" set system services outbound-ssh client 00000000EFBC services netconf set system services outbound-ssh client 00000000EFBC xxx.xxx.xxx.xxx port 7804

    Note: The document is based on Space 14.X versions.

Modification History:
2020-02-12: minor non-technical edits.
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