AmpCon-Campus provides powerful configuration templates to help you simplify the configuration writing process:
When you add a switch configuration, you need to select the configuration template to use.
When you push configurations to a switch after the switch is deployed or imported, you can also use one or multiple configuration templates.
Prepare configuration templates before you add a switch configuration or push configurations to a switch.
Adding a Configuration Template
To add a configuration template, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template.
In the New Template tab, input the following information:
Name: The name of the configuration template.
Descr: The description of the configuration template.
Model: Select the switch model that is applicable to the configuration template.
Version: Select the PicOS version that is applicable to the configuration template.
Action: Selec Config or Delete.
Optional: Click Update CLI Tree to refresh the CLI tree.
In the CLI Tree section, add one or multiple template configurations by clicking the plus icon. The selected template configurations appear on the right.
Click Save.
Viewing or Editing a Configuration Template
To view or edit a configuration template, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template. In the Template List tab, locate a switch, and then click View Template.
To view a configuration template, select the format for viewing the template in the pop-up window. You can see the template configurations.
To edit a configuration template, click Edit in the pop-up window to edit the template configurations as you need, and then click Save.
Optional: Removing a Configuration Template
To remove a configuration template, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template.
In the Template List tab, locate a switch, and then click Remove Template.
Click Yes to confirm the deletion.
Optional: Viewing or Updating Pre-Built Templates
To view or update pre-built configuration templates, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template, and then click the Template List tab.
To view the pre-built templates, click Show Pre-built Template.
To refresh the pre-built template list, click Update Pre-built Template.
Optional: Copying a Configuration Template
To copy a configuration template, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template.
In the Template List tab, locate a switch, and then click Copy.
Enter the new name for the copied template and a description (optional).
Click Save.
Optional: Exporting a Configuration Template
To export a configuration template, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template.
In the Template List tab, locate a switch, and then click Export.
Optional: Exporting All Configuration Template
To export all configuration templates, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template.
In the Template List tab, click Export All Template.
Optional: Adding a Label to a Configuration Template
To add a label to a configuration template, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template.
In the Template List tab, locate a switch, and then click Tag Management.
In the pop-up window, enter the name of the tag.
Click Add.
Click Save.
Optional: Uploading a Local Configuration Template
To upload a local configuration template, follow these steps:
In the AmpCon-Campus UI, click Service > Config Template.
In the Template List tab, click Upload Template.
In the pop-up window, enter the name of the configuration template and the template description (optional).
Click or drag a .txt template file to upload it.
Click Upload.