Skip to main content

Juniper Junos

Description

The Juniper Junos connector connects to Junos OS devices via NETCONF over SSH (RFC 6241) and issues a <get-configuration> RPC to retrieve the system/login configuration stanza. It enumerates local user accounts and their assigned login classes, classifying super-user and super-user-local class assignments as privileged.

System Type Classification

FieldValue
System TypeInfrastructure
Default Scan Priority200

Version Support

OrbisID EditionSupported
CommunityNo
ProYes
EnterpriseYes

Supported Protocol

ProtocolPortNotes
NETCONF over SSH830 TCPRFC 6241; SSH subsystem netconf

What OrbisID Discovers

DataSource
Local user accounts<user> elements under <configuration><system><login>
Login class assignments<class> child of each <user> element
Privilege classificationsuper-user / super-user-local class → privileged
MembershipsUser-to-login-class associations

Connection Requirements

Required Permissions

The scanning credential must belong to a Junos user with NETCONF access and read access to the system login configuration.

Minimum permissions:

  • Junos login class with view-configuration or higher permissions
  • NETCONF access enabled (set system services netconf ssh)

Credential Mapping

OrbisID FieldValue
credential.usernameJunos local username
credential.passwordJunos password
system.hostnameDevice management IP or hostname
system.portNETCONF SSH port (default 830)

Network Requirements

The OrbisID server must have TCP access to the Juniper device on port 830.

Configuration Steps

  1. Enable NETCONF on the device:
    set system services netconf ssh
    commit
  2. Create a dedicated read-only scanner account:
    set system login user orbisid-scanner class read-only
    set system login user orbisid-scanner authentication plain-text-password
    commit
  3. Create a Credential in OrbisID:
    • Username: orbisid-scanner
    • Password: Junos password
  4. Navigate to Systems → Add System
  5. Fill in the fields:
FieldValue
NameDescriptive name (e.g., Juniper MX – Core Router)
OS TypeJuniperJunos
System TypeInfrastructure
HostnameDevice management IP or hostname
Port830
CredentialThe scanning credential
  1. Click Test Connection
  2. Click Save

Troubleshooting

SymptomLikely CauseResolution
Connection refused on port 830NETCONF not enabledRun set system services netconf ssh and commit
Authentication failedInvalid credentialsVerify the Junos user and password
No users in responseLogin class restricts show configurationUse a class with view-configuration permission
XML parse errorDevice returned error RPC-replyCheck the NETCONF response for <rpc-error> elements