Juniper network device importer
Versio.io can import, historize and process configuration data from Juniper Networks network devices.
Configuration
You can find the configuration option in Versio.io at Environment settings > OneImporter > Configurations > Juniper
.
Here you can edit all existing configurations, create new configurations or delete existing configurations.
To add a new configuration enter a Name
for your importer and an Entity suffix
(default: -juniper
) to clearly identify your Instana entities.
Note that the Entity suffix
is fixed and cannot be changed afterwards.
Click Add
to proceed to the configuration.
To edit an existing configurations click the arrow on the left of your importer name to expand the configuration options.
Following configuration options are available:
Field | Description | Advice |
---|---|---|
Name | Meaningful name | Add the word "Instana" to identify importer when viewing the logs |
Active | Option to activate and deactivate the configuration. Data is only imported if the configuration is activated. | |
Port | SSH port of the network devices. | Default is port 22 . |
Credential | Enter authorization for network device access. | Generate API token at Settings > Access Management > Credential Vaults |
Domains & IPs | Enter all network device Domains or IPs. | |
Entities | Select the entities to be inventoried by Versio.io. | |
Executing OneImporter | Select a Versio.io OneImporter to import the data based on the importer configuration. | Requires installed OneImporter: Installation instruction |
Schedule time (cron format) | Determine the frequency of imports in CRON format | Learn more about CRON format: https://en.wikipedia.org/wiki/Cron |
Table: Juniper network device configuration parameters
Create group and user on Juniper network device
Versio.io runs the following commands on your Juniper network device to inventory it:
show configuration | display json
show chassis environment | display json
show chassis hardware | display json
show chassis firmware | display json
show configuration | display set
show system configuration rescue | no-more | display json
show chassis mac-addresses | no-more | display json
# Network topology
show lldp neighbors detail | no-more | display json
show ethernet-switching table | no-more | display json
Commands: Executed commands for inventory
For the inventory it is necessary to create a group and a user so that Versio.io can authorize itself on the Juniper network device. You can create group and user with the following commands:
cli
configure
# Create an inventory group on Juniper network device
set system login class versioGroup permissions all
set system login class versioGroup allow-commands "^(quit|show (configuration|system configuration rescue|interfaces|lldp neighbors detail|ethernet-switching table|(chassis (hardware|environment|firmware|mac-addresses))))$"
set system login class versioGroup deny-commands .*
# Create an inventory user on Juniper network device
set system login user versioUser class versioGroup
set system login user versioUser authentication encrypted-password <PASSWORD>
commit and-quit
Commands: Create an inventory group and user*