How to exclude a port interface from a Global Collection for Port Monitoring
search cancel

How to exclude a port interface from a Global Collection for Port Monitoring

book

Article ID: 247727

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

We need to enable port monitoring on a port that is part of a Global Collection that prevents port monitoring.  How can we modify the Global Collection to remove a port so that we can monitor it?

Our Global Collection to disallow ports is based upon Network Link Type = No Link , but we want to override this behavior on a few devices based upon IfAlias values.

Environment

Release : 21.2.x, 10.4.x

Component :Spectrum OneClick

Cause

How To:

Resolution

As recommended from Techdoc 18184

We should be using the X_IfAlias instead of ifAlias or Internal IfAlias attributes

If we wanted to discriminate based upon multiple IfAlias conditions such as

 

IfAlias does not contain SP-ALARM

IfAlias does not contain WAN_ISP

IfAlias does not start with WAN

 

Our Search would look like this with the expression reading  

NetworkLinkType Equal To "No Link" AND (X ifAlias Does Not Contain "SP-ALARM" AND X ifAlias Does Not Contain "WAN_ISP" AND X ifAlias Does Not Start With "WAN")

If any one of these conditions are met after meeting Network Link Type is equal to No Link, then the port models would be excluded from the search and from Policy Manager and you could actively monitor these Ports by either placing in a new Global Collection and use Policy Manager or by manually enabling the attributes as described in techdoc 142119