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 Ciscoworks to update netmask on mgmt interface for multiple switches

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Using Ciscoworks to update netmask on mgmt interface for mul

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.

1 REPLY
Cisco Employee

Re: Using Ciscoworks to update netmask on mgmt interface for mul

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.

159
Views
0
Helpful
1
Replies
CreatePlease to create content