Quantcast
Channel: THWACK: All Content - Network Configuration Manager
Viewing all articles
Browse latest Browse all 6057

NCM Config Template Help

$
0
0

I am trying to make a template to do the following:

 

1. Find my node (from device lists on NCM)

2. Allocate a vlan to these nodes (By allow user input of the vlan or vlan's)

3. Give a name to this vlan (By allowing user input of the vlan name or names)

4. Put this vlan into mode fabricpath.

 

So it would look like this:

 

Config t

 

vlan 3 (VARIABLE ADDED BY USER INPUT)

name TESTVLAN3 (VARIABLE ADDED BY USER INPUT)

mode fabricpath (no input required)

exit (no input required)

 

vlan 4 name TESTVLAN4

mode fabricpath

exit

vlan 5 name TESTVLAN5

mode fabricpath

exit

vlan 5 name TESTVLAN5

mode fabricpath

exit

 

I have been trying to re-use the Change vlan membership on ports template that is already in the templates but I'm struggling with no knowledge

of scripting and I'm not getting very far.

If anyone already has a script that adds multiple vlan's/names I can then add in the extra parts.

 

Any help appreciated.

Thanks

Sam


Viewing all articles
Browse latest Browse all 6057

Trending Articles