Template to change ePMP and 450b http to https

I've been searching how to change http to https in CnMaestro templates but I'm only find this parameters:

{
    "device_props": {
    "httpsPort": "443"
     }
}

Can anyone help me?

@lits33 

Please try the below templates. 

For ePMP Devices: 

           {

                 "device_props": {

                       "webService":   "2"

                    }
For PMP Devices: 

              {  

                  "userParameters": {

                                                "networkConfig": {

                                                                "webAccess": 2

                                                                }

                                                 }

                }




           }

2 Likes

Thank you very much

Do you have some manual for templates ?

Each platform/device type has its own set of parameters for configuration templates.  As far as I'm aware there is no manual documenting all template options for any device type.  However, I think some do align somewhat with their SNMP names, which are documented in their MIB files.

The process many users typically use to create their own templates is:

  1. On a test device configure the parameters you are interested in cofiguring with values that will be easy to search for.
  2. Export the device configuration. Via cnMaestro this is done by navigating to Configure -> Devices, selecting the device in the left-hand tree and then clicking the View Device Configuration link. This can also be done via the device web GUI, typically in the Administration or Operations section where there will be an Export button for configuration.
  3. View the configuration file in a text editor like Notepad++ and search for the values you entered in step 1. You can also search for the parameter name to try to find the correct lines.  Another option it to configure the value twice and export the configuration file each time.  Use a diff tool for those two files to see which parameter is changed.  https://jsoncompare.com/#!/diff/ is one option for this.
  4. Remove all configuration you are not intersted in while maintaining the tree path to your parameters you want to keep.
  5. Optionally replace the values with replacement variable text. This will allow you to set the value per device.

In addition to asking for template help here, you can also post to the specific platform forum for the device type you are configuring.  Experts there may be able to help faster depending on who is online.

1 Like