cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
467
Views
0
Helpful
1
Replies

Using Ciscoworks to update netmask on mgmt interface for multiple switches

david.fernandes
Level 1
Level 1

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

Joe Clarke
Cisco Employee
Cisco Employee

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.

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

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.

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: