How to manually register Stacked Switches in CMDB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2022 03:00 PM
Hi there,
Could you please navigate me an help me what is the best practise for Stacked switches registration? When we have one master switch and several slave switches? We do not use Discovery on Network devices and we do the registration manually. Currently we have it as one CI with multiple Serial Numbers which represents master and slave switches. Does any Class exist where we can mark it as Stack and master and slave? And also what kind of relation would you use between them?
Thanks a lot!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2022 08:26 PM
Hi Martina,
OOB stack switches are marked on IP switch table when creating the records. You can check the IP switch table and can find that there are fields like "Stack" and "Stack Mode". So, when you are creating stack switches you can set "Stack" field as "true" and "Stack Mode" as "Master or Slave".
Coming to relationship type, Parent record will be "Master" switch, Child record will be "Slave" switch and relationship type to be used is "Master of::Stack Member of".
Hope this helps.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2022 11:23 PM
Hi Martina,
The only thing to note is that both "Stack" and "Stack Mode" are Read-Only in OOB - presumably because they are considered to be owned by Discovery.
So if you want to use these in an environment that does not have Discovery, you would need to make then not read-only.
Regards
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2022 09:16 AM
Howdy, Sandeep. Stumbled across this recent post by you. I'm in a situation where we are using Juniper stacked switches and had to build out a custom pattern to account for the stacked environment since SN's OOTB stacked switches pattern really just focuses on Cisco. The pattern works fine, everything lines up exactly like it does for the OOTB pattern, but... not relationship is made for "Master of::Stack Member of". I cannot figure out why. They show as stacked, they show the master switch and the slave switches in the records, but no relationship. Do you know the condition that the relationship is looking for in order to catch it and connect them? If I bring in every field in list view for switches I see the Avaya switches we have and the Juniper switches we have line up with values. Any thoughts on the mystery?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 09:20 AM
Oooh ooh, found it. If anyone is interested in where Discovery actually sets this cmdb_rel, it's a pattern pre/post script called "IP-Switch Switch Stack"