Add/Modify/Copy Initial Configuration File
The initial configuration file supports only the following parameters:
- ${snmpv1_community_read}: SNMPv1 read-only community name.
- ${snmpv1_community_write}: SNMPv1 read and write community name.
- ${telnet_user_name}: Telnet username.
- ${telnet_password}: Telnet password.
An initial configuration file can be rapidly generated through a template, which is an XML file comprising common configuration commands and must be saved in the folder client\conf\icc\auto_file in the installation path on the master server.
The template is in XML format. To correctly resolve the template, make sure that it contains the primary tag " template", two secondary tags "description" and "command" (representing the template description and the command initially deployed), and four parameters ${snmpv1_community_read}, ${snmpv1_community_write}, ${telnet_user_name}, and ${telnet_password}.
Sample template:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<template >
<description >this is a template of inc device.</description >
<command >
#
interface Vlan-interface1
ip address dhcp-alloc
#
telnet-server enable
#
snmp-agent
snmp-agent community read ${snmpv1_community_read}
snmp-agent community write ${snmpv1_community_write}
snmp-agent sys-info version all
#
user-interface vty 0 4
authentication-mode scheme
user privilege level 3
#
local-user ${telnet_user_name}
password simple ${telnet_password}
service-type telnet
level 3
#
return
</command >
</template >
Add Initial Configuration File
- Select the Service tab, click the Configuration Center in the navigation tree to enter the Auto Deployment Plan page.
- Click the Initial Configuration File Management link on the upper right of the page.
- Click Add. Input the file name, description, and file contents (which can be generated through an initial configuration file template), and click OK.
- To modify an initial configuration file, click the
link of the initial configuration file, modify information of the initial configuration file as needed, and then click OK.
- To copy an initial configuration file, click the
link of the initial configuration file, modify information of the initial configuration file as needed, and then click OK.
Parameters
- ${snmpv1_community_read}—SNMPv1 read-only community name that the system uses to access the device.
- ${snmpv1_community_write}—SNMPv1 read and write community name that the system uses to access the device.
- telnet_user_name—Telnet username that the system uses to access the device.
- telnet_password—Telnet password that the system uses to access the device.
Precautions
- If the SNMP and Telnet access parameter information is represented by parameters rather than values in the file, the parameter values are the values set in the Access Parameters area
- Make sure that the access parameters in the Access Parameters area are consistent with the SNMP and Telnet parameter information (represented by parameters or values) in the initial configuration template file.
- Initial configuration files support only SNMPv1.
- The extension name of an initial configuration file template must be .xml.
Related Topics