06-14-2010 02:00 AM
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
!
06-15-2010 09:10 PM
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
06-16-2010 05:11 AM
Hello,
Thanks a lot for your answer!
Your examples help me see how I can to use these parameterized templates.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide