1

Catalyst switches usually form a stack on boot up, even if they are not stacked. They just form a stack with themselves. So Prime Infrastructure reads out the model of the switch, that says it is a stack. This leads to the fact, that the device model will be displayed as Cisco Catalyst 29xx Stack-able Ethernet Switch in Prime.

enter image description here

There was a fix in IOS that told the switch to not report the stack, but the model via SNMP instead.

no snmp-server sysobjectid type stack-oid

This lead to a clean Prime Infrastructure database.

enter image description here

Now this command is not working on IOS-XE and this leads to the same bad database issue we have had in the past:

enter image description here

Does anybody know a fix for this in IOS-XE?

6
  • "Catalyst switches usually form a stack on boot up, even if they are not stacked." What does that mean? I can install a bunch of stackable switches without actually creating a stack, and the switches do not form a stack, even if they are directly connected to each other.
    – Ron Maupin
    Commented Oct 29, 2020 at 16:52
  • What XE version?
    – Ron Trunk
    Commented Oct 29, 2020 at 17:07
  • @RonTrunk: I am guessing it affects all XE versions, but i tested 16.6.4 & 16.09.06
    – Mario Jost
    Commented Oct 30, 2020 at 7:29
  • @RonMaupin: While booting up you can see this line in the log: %STACKMGR-4-SWITCH_ADDED: Switch 1 has been ADDED to the stack and if you issue show switch you can see that there is a stack with one member only.
    – Mario Jost
    Commented Oct 30, 2020 at 7:34
  • Right, a single stack switch is a stack with one member, but the switches do not form stacks with other stack switches, they are, themselves, stacks, and I would want that reported as such because if you add more switches to the stack, you would only see the stack as a single switch.
    – Ron Maupin
    Commented Oct 30, 2020 at 11:22

2 Answers 2

2

I can confirm command:

(no) snmp-server sysobjectid type stack-oid

is not implemented in IOS-XE 16.03.x / 16.06.x / 16.12.x - I assume all IOS-XE 16.x versions are affected. There is a Bug CSCvd39747 describing the issue with IOS-XE 16.3.2 - sadly no fixed versions are mentioned at all :o(

However the command was implemented and worked in legacy IOS-XE 3.x versions

1

A bit late to the party but that is Cisco's TAC reply:

  • If you want to differentiate the stack members, there are several other ways to do it, like polling such as (entPhysicalDescr or entPhysicalModelName).
  • If you would like to know the exact model of Cat9200 switch then we would propose polling different OID, such as (entPhysicalDescr or entPhysicalModelName)

In previous cases with the same problem, I see that there are no plans to reintroduce this command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.