Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

using a variable at LMS>RME > Baseline Templates

Hi

I using RME Baseline Templates

to deploy RTR commands to group of 450 routers 800

Series,

The problem is that i need to use the dymnamic varaible of ip and I dont know what is the parameter ????

the ip is the default gateway and also is the device

name at the CISCOWORKS

here my example ;

+ rtr 69

+ type echo protocol ipIcmpEcho 1.71.254.253 source-ipaddr X.X.X.X

+ timeout 1000

+ threshold 40

+ frequency 86400

+ rtr schedule 69 life forever start-time now

+ exit

1 REPLY
Cisco Employee

Re: using a variable at LMS>RME > Baseline Templates

You can try something like this:

+ ip address [ip-address] [netmask]

+ ip address [#10\.76\.38\..*#] [netmask]

+ ip address [#10\.72\..*\..*#] [netmask]

To find a match for any octet in an IP address you must use \..*.

In the examples shown above, the command will apply for all the devices with the IP address starting with 10.76.38.* [netmask] and 10.72.*.* [netmask].

The regular expressions must be enclosed with #.

The Baseline template uses java.util.regex engine for regular expressions.

156
Views
0
Helpful
1
Replies
CreatePlease login to create content