cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
519
Views
0
Helpful
1
Replies

Configuartion scripting in LMS or PI

johanfogel
Level 1
Level 1

Hi again everyone

Is looking into a bigger deployment where we want to change certain parameters to interfaces belonging to certain vlans.

Something like this

for each interface
if vlan=10
clicommand1
clicommand2
end if
next int

Is this possible using velocity and cli-templates ? or any other metod in either in LMS or PI? where should I begin my search ?


I tried to check the CLITemplateDBvariableQuery.properties file but couldn't find any pre-defined db-varibles for the interface properties like which vlan it belongs to.

I havent find any way to custimize the db-variables, is it possible ? I guess that it's is not supported by Cisco but in theory technically possible ?


Or is it the "Restful API" I have to use ?

1 Reply 1

johanfogel
Level 1
Level 1

To answer my own question

I still don't know if it is possible using LMS or PI and we will dodge the problem by using an EEM-script instead.

Review Cisco Networking for a $25 gift card