06-07-2010 02:58 PM
Is it possible to user Ciscoworks LMS 3.2 to update the netmask for a management interface on multiple switches? For example, say I have a 3750 access switch management network, 172.28.185.0/27 (default gateway 172.28.185.1) that we're resizing to a /26. Is there a simple way to update just the netmask for the management interface on those devices using Netconfig?
-David
Solved! Go to Solution.
06-07-2010 10:36 PM
Unfortunately not. You could use Netconfig or even baseline compliance for this, but since you need to know each interface's IP, that means you'd have to create parameterized templates. Therefore, you would have to create a template "answer" file for each device in this subnet which had their IP address for the interface in question.
Baseline compliance might be a little easier with a template like:
Commandlet : CheckIP
IsPrereq : Yes
Submode : interface [#.*Ethernet.*#]
+ ip address [#172.58.185.\d+#] 255.255.255.224
Commandlet : ReplaceIP
Parent : CheckIP
+ ip address [IP] 255.255.255.192
You would still need to provide a value for [IP] for each device when performing a deployment.
06-07-2010 10:36 PM
Unfortunately not. You could use Netconfig or even baseline compliance for this, but since you need to know each interface's IP, that means you'd have to create parameterized templates. Therefore, you would have to create a template "answer" file for each device in this subnet which had their IP address for the interface in question.
Baseline compliance might be a little easier with a template like:
Commandlet : CheckIP
IsPrereq : Yes
Submode : interface [#.*Ethernet.*#]
+ ip address [#172.58.185.\d+#] 255.255.255.224
Commandlet : ReplaceIP
Parent : CheckIP
+ ip address [IP] 255.255.255.192
You would still need to provide a value for [IP] for each device when performing a deployment.
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