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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Ciscoworks: Group creation

I Can't seem to get the group creating to work properly.

I have around 400 switches, and I want to seperate them into groups of 25, however, when I want to break up the 2924's, for example, I tried this:

:RME:INVENTORY:Device.Chassis.Model_Name equals "2924"

but.. when it goes to device selection, all my devices are still in the list to choose from.

the syntax is correct, but doesn't seem to filter out anything.

What am I doing wrong?

/edit

Ok, I figured it out a bit, but still not quite whereI want to get.

Under Common Services, there's a switches and hubs group. I want to mimic that group and create a group which contains all switches, and then break up that group into 25's or so. However, when I look at the properties of the parent of that group, it looks like:

/CS@prdcg4cwsw01

:RME:INVENTORY:Device.OID equals "ANY"

/CS@prdcg4cwsw01/System Defined Groups

(No rule entered)

/CS@prdcg4cwsw01/System Defined Groups/Switches and Hubs

(No rule entered)

I cannot use this selection method to enter in the group creation. the syntax is off, so I'm putting in the wrong thing.

Basically I just want to tell ciscoworks to create me a group for all switches in the network, and there is over 400.

I'm doing this because when I roll out changes I want to do it just a bit at a time, not to my entire group of switches, or types of switches that matter, considering there is over 300 2900 series switches.

1 REPLY
New Member

Re: Ciscoworks: Group creation

Heh.. there was probably an easier way to do this, but I went in to the bowels of Ciscoworks at the OS level and found where the MFId's for the devices were, then created a group for the switches...

So, if you'd like to do the same, then you'd have to paste this in your rule creation for variables. (This is just a sample of the list, but thought I might post it up in case anyone is looking to do the same thing.)

:CMF:DCR:Device.MDFId equals "999990224" OR

:CMF:DCR:Device.MDFId equals "999990225" OR

:CMF:DCR:Device.MDFId equals "999990180" OR

:CMF:DCR:Device.MDFId equals "999990266" OR

:CMF:DCR:Device.MDFId equals "270639109" OR

:CMF:DCR:Device.MDFId equals "270639173" OR

:CMF:DCR:Device.MDFId equals "999990243" OR

:CMF:DCR:Device.MDFId equals "268438117" OR

:CMF:DCR:Device.MDFId equals "276852992" OR

:CMF:DCR:Device.MDFId equals "268438119" OR

:CMF:DCR:Device.MDFId equals "268438120" OR

:CMF:DCR:Device.MDFId equals "999990302" OR

:CMF:DCR:Device.MDFId equals "270664707" OR

:CMF:DCR:Device.MDFId equals "999990231" OR

:CMF:DCR:Device.MDFId equals "999990232" OR

:CMF:DCR:Device.MDFId equals "270568133" OR

:CMF:DCR:Device.MDFId equals "270568125" OR

:CMF:DCR:Device.MDFId equals "999990321" OR

:CMF:DCR:Device.MDFId equals "999990312" OR

:CMF:DCR:Device.MDFId equals "268438053" OR

:CMF:DCR:Device.MDFId equals "270568134" OR

:CMF:DCR:Device.MDFId equals "270568138" OR

:CMF:DCR:Device.MDFId equals "278263702" OR

:CMF:DCR:Device.MDFId equals "270568136" OR

:CMF:DCR:Device.MDFId equals "270568135" OR

:CMF:DCR:Device.MDFId equals "270568137" OR

:CMF:DCR:Device.MDFId equals "268438059" OR

:CMF:DCR:Device.MDFId equals "278276826" OR

:CMF:DCR:Device.MDFId equals "278276791" OR

:CMF:DCR:Device.MDFId equals "278508728" OR

:CMF:DCR:Device.MDFId equals "268438062" OR

:CMF:DCR:Device.MDFId equals "270568145" OR

:CMF:DCR:Device.MDFId equals "270568146" OR

:CMF:DCR:Device.MDFId equals "270568147" OR

:CMF:DCR:Device.MDFId equals "275910556" OR

:CMF:DCR:Device.MDFId equals "275935029" OR

:CMF:DCR:Device.MDFId equals "277523496" OR

:CMF:DCR:Device.MDFId equals "275935124"

And voila!

New group! :)

252
Views
0
Helpful
1
Replies