search cancel

Setting up threshold for DEVICE PORT COUNT EXCEEDED THRESHOLD alarm

book

Article ID: 13284

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

You are getting "DEVICE PORT COUNT EXCEEDED THRESHOLD" minor alarm on a device that has more than 1000 interfaces/ports. You wish you can configure the threshold value. This article describes how you can configure the threshold value of that alarm and also recommend to filter interfaces modeling.

Why do I get "DEVICE PORT COUNT EXCEEDED THRESHOLD" minor alarm? Can I configure the threshold value?

Environment

Release: 20.2.x
Component: SPCAEM - Events and Alarms

Resolution

Devices with large number of ports can cause performance issues to SpectroSERVER. By default, Spectrum generates "DEVICE PORT COUNT EXCEEDED THRESHOLD" minor alarm (cause code 0x1022e) if the port count is higher than 1000. Spectrum is monitoring the ifNumber attribute (attribute id = 0x100c3, OID = 1.3.6.1.2.1.2.1) to get the port count.

The threshold value can be configured in $SPECROOT/SS/.vnmrc using "high_port_count_threshold" parameter. E.g. if you want to increase to 5000 instead of 1000 (default value) add the following line in .vnmrc and restart SpectroSERVER.

high_port_count_threshold=5000 

IMPORTANT: If using Spectrum 21.2.x or 22.2.x, please refer to the following article instead: https://knowledge.broadcom.com/external/article/188662

However, the recommendation is to restrict Spectrum from modeling unnecessary ports on the device so that we can avoid performance issue. To do that please refer to https://knowledge.broadcom.com/external/article?articleId=50309