cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
553
Views
0
Helpful
2
Replies

Cisco LMS3.2 Netconfig

k.desrosiers
Level 1
Level 1

Hello,

I just started a new job and I am now in charge of the exploitation and surveillance of many different customer networks.

Most of these networks are managed with Cisco LMS (v3.2) which I'm not very familiar with.

I managed to create user-defined jobs so I could deploy different basic functionnalities over hundred of devices. Cool....

Nevertheless, I am now stuck with a job I can't figure out how to do...

I actually have to add ip sla command lines to around 150 devices (C1812) for a new customer.

The problem is that the 3rd and last octets of the ip adresses in there change: 3rd octet can be 2,3,12 and 13 and last octet would go from 10 to 254. accordind to the router (vlan id).

I found that Parameterized Templates might help me but I don't know how to proceed with that.

Any idea or tips from someone who have already used this?

Thanks in advance!

KatyD

ip sla  11
udp-jitter  172.27.3.43 16245 source-ip 172.27.13.43
frequency 300
tos 0 
exit
ip sla  schedule 11 start-time now life forever
!
ip sla  12
udp-jitter  172.27.2.43  16245 source-ip 172.27.12.43
frequency 300
tos 0 
exit
ip sla  schedule 12 start-time now life forever
!

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

Yes you have to use parameterized templates.  Your templates will look like:


ip sla  11
udp-jitter  $dest1 16245 source-ip $source1
frequency 300
tos 0 
exit
ip sla  schedule 11 start-time now life forever
!
ip sla  12
udp-jitter  $dest2 16245 source-ip $source2
frequency 300
tos 0 
exit
ip sla  schedule 12 start-time now life forever
!

Then, you will need to create parameter XML files according to http://SERVER/help/rme/fundamentals/netcfg_ParametTemplates.html#wp1380442 .

For example:

   172.27.3.43

  172.27.13.43

Hello,

Thanks a lot for your answer!

Your examples help me see how I can to use these parameterized templates.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco