{% extends 'base_software.html' %} {% from 'host/common.html' import edit_field %} {% from 'host/ip_range_dialog.html' import ip_range_dialog %} {% block head %} {% endblock %} {% block main %} {{ ip_range_dialog(ip_range_dialog_form) }}

Import Hosts

If the import data does not contain a region, the region selected below will be used.
The jump host and software profile are optional.

{{ edit_field(form.region, field_width="col-sm-4", class="form-control") }} {{ edit_field(form.jump_host, field_width="col-sm-4", class="form-control") }} {{ edit_field(form.software_profile, field_width="col-sm-4", class="form-control", placeholder="Optional") }}
Import Instructions

Click Import Instructions for more information.

  • Paste the import data onto the text window below.
  • The first row is the header which identifies the data being imported.
  • Mandatory header fields are hostname, ip, and connection (acceptable values: 'telnet' or 'ssh').
  • Acceptable header fields are hostname, region, location, roles, ip, username, password, connection, port, and enable_password.
  • The second row onwards are import data which must match the header and the data fields must be comma delimited.
  • The following data fields roles, ip, and port may contain multiple values.
  • If a data field contains multiple values, they must be separated by comma(s) and the data field must be double-quoted.
  • If a data field does not contain any value, leave it blank.
  • If no username and password is specified, the default host username and password defined on CSM Server will be used.
  • The enable_password field is only needed for IOS and IOS XE devices.
  • Acceptable characters for hostname and region are a-z, A-Z, 0-9, and (). -_

hostname,region,location,roles,ip,username,password,connection,port,enable_password <- header
myhost1,California USA,blg 20,,172.27.22.34,johnsmith,john123,telnet,, <- blank for empty fields
myhost2,California USA,blg 20,PE,172.27.22.35,davidsmith,david123,ssh,"2033,2034",
{{ edit_field(form.data_list, field_width="col-sm-12", spellcheck="false", rows="10", class="form-control") }}
{% endblock %}