Creating a Port Template

The controller allows you to configure switch port settings. However, there are many advanced port settings that are not supported by the controller. You have to configure these advanced port settings on the switch console. So, the controller introduces with Port Template to improvise the deployment of the advanced port settings.

You can apply port template to joined or online switch ports for which the firmware version is 08.0.95b or higher. If the switch port is newly added, you have to apply the template again.

Note: You cannot apply port template to ports that belong to offline switches.
Note: Apply the new untag VLAN to selected ports. Make sure to untag the default VLAN from these ports before applying the Port Template.

You can create or edit a port template and attach it to the target port in the following two ways.
  • Create or edit a port template and then assign it to target ports
  • Select a target port and then assign the port template

Creating a Port Template and Assigning Target Ports

You can apply port template and assign port to the template by performing the below steps.
  1. On the menu, click Network > Wired > Switches to display the Switches window.
  2. To create Port Template, select a Domain > Switch Group or Switch Group and in the Details tab, click Switches and Ports tab, or select a Switch and click Ports tab.
  3. In the Port Details tab, click Port Template icon to display the Port Template dialog box.

    Clicking Switches and Ports Tab

    Clicking Switches and Ports Tab

    Clicking Ports Tab

    Clicking Ports Tab
  4. In the Port Template dialog box, expand "+" icon to view a list of scheduled port templates, click icon to create a new port template, or click "x" if you want to delete an existing template. Click Next to update the port template.

    Choosing Port Template

    Choosing Port Template
  5. To create a port template, complete the following steps:
    1. Enter the name of the port template in the Name field.
    2. Variables helps to apply unique configuration to the switches. If you want to use variable in the CLI Configuration editor, it must start with a symbol “$” and a pair of curly braces {VARIABLE_NAME}. For example, IP address can be defined as a variable so that each switch gets assigned a unique IP address. In the Edit Variable field, enter the Name, Type, Value 1, Value 2, and Value 3 for IP address variables, where Value1 denotes the “Starting IP Address”, Value 2 denotes the “Ending IP Address”, and Value 3 is the “Netmask".
    3. In the Tag and Untag VLAN field, input the tag and untag VLAN for the port template.
    4. The CLI Configuration field provides a text editor to input command types for the template, including the variables.
    5. Click Examples to view the example command line references in the CLI Configuration editor.

    Editing Port Template

    Editing Port Template
  6. After editing, click OK to save or update the port template. Click Back to view the previous step. Click Cancel to close the window.
  7. Select a target port to apply the created template. To select a target port, select either switch group and click Switches and Ports tab, or select a switch and click Ports tab . After selecting the ports, click Apply Port Template.
    Note: You can select at most 250 ports for applying port template.

    Selecting Target Port by Clicking Switches and Ports Tab

    Selecting Target Port by Clicking Switches and Ports Tab

    Selecting Target Port by Clicking Ports Tab

    Selecting Target Port by Clicking Ports Tab
  8. After clicking Apply Port Template, a Port Template page is displayed that lists all the available port templates. Expand "+" to view a list of scheduled port templates. Select the target port template, and click Apply to review the applied configurations. You can select scheduled port template, and click Next to update the scheduled port template configurations.

    Applying Port Template

    Applying Port Template
  9. Verify the details for the target ports, Port Template CLIs, Tag and Untag VLANs and the variables in the Review page. Click "+" on the left of Review page to add more ports to the list. You can also organize the port list by selecting a port and dragging it above or below . Click "x" to delete switch port from the list. Select Apply Now to apply the port template immediately. Select Schedule Later to apply the port template at the specified schedule time. After selecting either Apply Now or Schedule Later, click OK.

    The various operations that can be performed on the ports in the port list are as shown below.

    Adding Ports to the List

    Adding Ports to the List

    Organizing the Port List

    Organizing the Port List

    Deleting Port from the List

    Deleting Port from the List
  10. A Port Template applied successfully message dialog box is displayed, click OK.

Selecting Target Ports and Assigning Port Template

You can apply the port template to selected target port by performing the below steps.
  1. From the main menu, go to Network > Wired > Switches.
  2. Select target port by either selecting a Domain > Switch Group or Switch Group, and clicking Switches and Ports tab, or selecting a Switch and clicking Ports tab.

    Clicking Switches and Port Tab to Select Target Ports

    Clicking Switches and Port Tab to Select Target Ports

    Clicking Ports Tab to Select target Ports

    Clicking Ports Tab to Select target Ports
  3. After selecting the target port, click Port Template tab. A Port Template page is displayed that lists the available port templates. Click Create to create a new port template, or expand "+" to view a list of scheduled port templates. Select an existing scheduled port template, and click Next to update the scheduled port template configurations. After selecting the target port template, click Apply.

    Creating Port Template

    Creating Port Template
  4. After creating a port template or selecting an existing template, input the below parameters and click Apply. Click Back to view the previous page. Click Cancel to close the window.

    Adding Parameters to Port Template

    Adding Parameters to Port Template
    1. Enter the name of the port template in the Name field.
    2. Variables helps to apply unique configuration to the switches. If you want to use variable in the CLI Configuration editor, it must start with a symbol “$” and a pair of curly braces {VARIABLE_NAME}. For example, IP address can be defined as a variable so that each switch gets assigned a unique IP address. In the Edit Variable field, enter the Name, Type, Value 1, Value 2, and Value 3 for IP address variables, where Value1 denotes the “Starting IP Address”, Value 2 denotes the “Ending IP Address”, and Value 3 is the “Netmask".
    3. In the Tag and Untag VLAN field, input the tag and untag VLAN for the port template.
    4. The CLI Configuration field provides a text editor to input command types for the template, including the variables.
    5. Click Examples to view the example command line references in the CLI Configuration editor.
  5. Verify the details for the target ports, Port Template CLIs, Tag and Untag VLANs and the variables in the Review page . Click "+" on the left of Review page to add more ports to the list. You can also organize the port list by selecting a port and dragging it above or below . Click "x" to delete switch port from the list. Select Apply Now to apply the port template immediately. Select Schedule Later to apply the port template at the specified schedule time. After selecting either Apply Now or Schedule Later, click OK.

    The various operations that can be performed on the ports in the ports list are as shown below.

    Adding Ports to the List

    Adding Ports to the List

    Organizing the Port List

    Organizing the Port List

    Deleting Port from the List

    Deleting Port from the List