Hi Brad, I haven't played with 9.2 much recently, but if I remember PolicyMgr is now configured via a GUI in OneClick. Nevertheless, the principles around the old XML files should be the same.
The following policy configurations were added some time ago to Spectrum Wiki,
but they don't seem to be there in their entirety anymore. This setup will only
create BAD LINK DETECTED alarms on ports that have an actively modelled
connection in the Spectrum universe, regardless of port type. It should be easy
enough to modify, though, for what you're after.
In policy-rules.xml
<!--
================================================================================
PORT FAULT MANAGEMENT
'Router Link' : set management actions for router links
'Switch Link' : set management actions for switch links
'Shared Access Link' : set management actions for shared access links
'End Station Link' : set management actions for server links
'Unknown Link' : set management actions for unknown links
'Unlinked Port' : set management actions for unlinked ports
================================================================================
-->
<!-- DEFAULT RULES BELOW THIS POINT -->
<policy-rule name="Default Router Link Fault Management" >
<port-policy-search-criteria-name name="Router Link Ports" />
<policy-settings-name name="Live Pipes" />
</policy-rule>
<policy-rule name="Default Switch Link Fault Management" >
<port-policy-search-criteria-name name="Switch Link Ports" />
<policy-settings-name name="Passive Port Monitoring" />
</policy-rule>
<policy-rule name="Default Shared Access Link Fault Management" >
<port-policy-search-criteria-name name="Shared Access Link Ports" />
<policy-settings-name name="Disable Port Monitoring" />
</policy-rule>
<policy-rule name="Default End Station Link Fault Management" >
<port-policy-search-criteria-name name="End Station Link Ports" />
<policy-settings-name name="Disable Port Monitoring" />
</policy-rule>
<policy-rule name="Default Wide Area Link Fault Management" >
<port-policy-search-criteria-name name="Wide Area Link Ports" />
<policy-settings-name name="Live Pipes" />
</policy-rule>
<policy-rule name="Default Unknown Link Fault Management" >
<port-policy-search-criteria-name name="Unknown Link Ports" />
<policy-settings-name name="Live Pipes" />
</policy-rule>
<policy-rule name="Default Unlinked Port Fault Management" >
<port-policy-search-criteria-name name="Unlinked Ports" /> -->
<policy-settings-name name="Disable Port Monitoring" />
</policy-rule>
In policy-settings.xml (some exist in policy-settings-spectrum.xml, but have
been removed)
<!--
================================================================================
PORT MONITORING
'Disable Port Monitoring' : Disables all port status monitoring
methods and prevents any related alarms from being generated
'Live Pipes' : SPECTRUM will actively poll the status of
ports involved in modelled connections
'Passive Port Monitoring' : SPECTRUM will listen for Link Down traps
and generate alarms
================================================================================
-->
<policy-settings name="Disable Port Monitoring">
<set-attr-value id="0x1280a" value="FALSE" /> #PollPortStatus
<set-attr-value id="0x11dd8" value="FALSE" /> #ok_to_poll
<set-attr-value id="0x11fc2" value="0" /> #AlarmOnLinkDownTrap
<set-attr-value id="0x12957" value="FALSE" /> #AssertLinkDownAlarm
<set-attr-value id="0x12a54" value="FALSE" />
#GeneratePortStatusAlarms
</policy-settings>
<policy-settings name="Passive Port Monitoring">
<set-attr-value id="0x1280a" value="FALSE" /> #PollPortStatus
<set-attr-value id="0x11dd8" value="FALSE" /> #ok_to_poll
<set-attr-value id="0x11fc2" value="1" /> #AlarmOnLinkDownTrap
<set-attr-value id="0x12957" value="TRUE" /> #AssertLinkDownAlarm
<set-attr-value id="0x12a54" value="TRUE" />
#GeneratePortStatusAlarms
</policy-settings>
<policy-settings name="Live Pipes">
<set-attr-value id="0x1280a" value="FALSE" /> #PollPortStatus
<set-attr-value id="0x11dd8" value="TRUE" /> #ok_to_poll
<set-attr-value id="0x11fc2" value="1" /> #AlarmOnLinkDownTrap
<set-attr-value id="0x12957" value="TRUE" /> #AssertLinkDownAlarm
<set-attr-value id="0x12a54" value="TRUE" />
#GeneratePortStatusAlarms
</policy-settings>
In policy-search-criteria.xml (some exist in
policy-search-criteria-spectrum.xml, but have been moved)
<!--
================================================================================
PORT LINKS
'Router Link Ports' : all ports involved in a connection to a
router
'Switch Link Ports' : all ports involved in switch-to-switch
connections
'Shared Access Link Ports' : all ports involved in switch-to-hub or
hub-to-hub connections
'End Station Link Ports' : all ports involved in a connection to a
server
'Wide Area Link Ports' : all ports connected to WA_Link models
'Unknown Link Ports' : all ports that are connected to unknown
models
'Unlinked Ports' : all ports that are not connected to any
SPECTRUM models
================================================================================
-->
<policy-search-criteria name="Router Link Ports">
<attr-match match-type="equal-to" id="0x12a79" value="1" />
</policy-search-criteria>
<policy-search-criteria name="Switch Link Ports">
<attr-match match-type="equal-to" id="0x12a79" value="2" />
</policy-search-criteria>
<policy-search-criteria name="Shared Access Link Ports">
<attr-match match-type="equal-to" id="0x12a79" value="3" />
</policy-search-criteria>
<policy-search-criteria name="End Station Link Ports">
<attr-match match-type="equal-to" id="0x12a79" value="4" />
</policy-search-criteria>
<policy-search-criteria name="Wide Area Link Ports">
<attr-match match-type="equal-to" id="0x12a79" value="5" />
</policy-search-criteria>
<policy-search-criteria name="Unknown Link Ports">
<attr-match match-type="equal-to" id="0x12a79" value="7" />
</policy-search-criteria>
<policy-search-criteria name="Unlinked Ports">
<attr-match match-type="equal-to" id="0x12a79" value="0" />
</policy-search-criteria>
Cheers,
James Cooleman
Manager, Infrastructure Intelligence | Datacom NZ | Level 1, 106 Vincent
Street, Auckland 1010 New Zealand
[email protected]<mailto:[email protected]> | Ph: +64
9 303 1489 | Fax: +64 9 373 8819 | Mob: +64 21 347 775
www.datacom.co.nz<http://www.datacom.co.nz/> | PO Box 6041, Wellesley Street,
Auckland 1141 New Zealand
From: Gray, Brad [mailto:[email protected]]
Sent: Wednesday, 5 January 2011 4:08
To: spectrum
Subject: RE:[spectrum] Policy to stop processing Link Down traps for
FastEthernet interfaces
Hi Shahla,
I would but I don't have access to the devices, and the administrator isn't
cooperating. I was informed of another attribute that I need to change,
"GeneratePortStatusAlarms" (0x12a54). I'm going to give that a try.
Thank you,
Brad
From: Tabarzadi, Shahla [mailto:[email protected]]
Sent: Tuesday, January 04, 2011 9:04 AM
To: Gray, Brad; spectrum
Subject: RE: Policy to stop processing Link Down traps for FastEthernet
interfaces
Turn them off from the device.
-------------------------------------
Regards,
Shahla Tabarzadi
Network and Unified Communications
U.S. House of Representatives
Office: 202.226.6266
Blackberry: 202.580.9525
Email: [email protected]
From: Gray, Brad [mailto:[email protected]]
Sent: Tuesday, January 04, 2011 9:39 AM
To: spectrum
Subject: [spectrum] Policy to stop processing Link Down traps for FastEthernet
interfaces
Greetings all,
I recently upgraded to Spectrum 9.2 (Windows) and now we are being bombarded
with Communication Link Down alerts from FastEthernet interfaces. I've tried
setting the "AlarmOnLinkDownTrap" attribute (0x11fc2) to "Never", and also made
sure the "Poll Port Status" attribute is set to "No", however Spectrum is still
processing link Down Traps on the FastEthernet interfaces. What am I
overlooking? Does anyone have a Policy to disable the alerting of Link Up/Down
traps for FastEthernet interfaces that they would share with me?
Regards,
Brad
Bradley Gray
Distributed Computing Analyst III
ETA Network Support
214-422-6795
[email protected]<mailto:[email protected]>
[cid:[email protected]]
_____________
The information contained in this message is proprietary and/or confidential.
If you are not the intended recipient, please: (i) delete the message and all
copies; (ii) do not disclose, distribute or use the message in any manner; and
(iii) notify the sender immediately. In addition, please be aware that any
message addressed to our domain is subject to archiving and review by persons
other than the intended recipient. Thank you.
_____________
* --To unsubscribe from spectrum, send email to
[email protected]<mailto:[email protected]> with the body: unsubscribe spectrum
[email protected]
_____________
The information contained in this message is proprietary and/or confidential.
If you are not the intended recipient, please: (i) delete the message and all
copies; (ii) do not disclose, distribute or use the message in any manner; and
(iii) notify the sender immediately. In addition, please be aware that any
message addressed to our domain is subject to archiving and review by persons
other than the intended recipient. Thank you.
_____________
* --To unsubscribe from spectrum, send email to
[email protected]<mailto:[email protected]> with the body: unsubscribe spectrum
[email protected]
---
To unsubscribe from spectrum, send email to [email protected] with the body:
unsubscribe spectrum [email protected]<<inline: image001.png>>
