Hi,
I have been going through various templates in past couple of days and whipped up the NCM Admin guide as well.
Requirement:
I need a NCM template for the deployment of new VLANs on multiple switches. Through which and l2 VLAN and SVI is configured on one set of switches and the created VLAN ID must be spanned on multiple interfaces in another set of switches. This template must prompt for variables in terms of VLAN ID and VLAN name.
Thought Process:
I was thinking of a custom script for the SVI part and automated pre-defined variable script using arrays for the l2 vlan and trunk port spanning part.
My question on this is: Can a script be created for real time prompts for VLAN IDs and Names? If not, can I run a loop for each VLANID & Name defined in the arrays at the beginning of script? for example:
Enter configuration mode
CLI
{
configure terminal
}
// Loop through the VLAN IDs
foreach (@vlanID in @vlanIDs & @vlanNAME in @vlanNAMEs)
{
CLI
{
vlan @vlanID
name @vlanNAME
}
I am not sure if that possible through NCM?
Thanks & Regards,