linkDown 陷阱描述状态:“linkDown 陷阱表示充当代理角色的 SNMPv2 实体已检测到其通信链路之一的 ifOperStatus 对象离开了关闭状态并转换为其他状态(但未转换为 notPresent状态)。 这种其他状态由 ifOperStatus 的包含值指示。
这是否意味着 LINKDOWN 警报会在它们上升后得到通知?不是在他们进入下降状态的那一刻吗?
该措辞与最新版本的 IF-MIB 中的措辞不匹配,这是最好的来源:
DESCRIPTION "A linkDown trap signifies that the SNMP entity, acting in
an agent role, has detected that the ifOperStatus object for
one of its communication links is about to enter the down
state from some other state (but not from the notPresent
state). This other state is indicated by the included value
of ifOperStatus."
请注意,在上面它说代理应该在链接即将断开时发送它。
但是,我认为您会发现大多数代理不一定非常支持这种方式。并且通知可能只有在它关闭后才会发送。理论上认为以上是可以完成的方式很好,但是想象一个链接因为有人拉电缆而断开。内核是否将其设置为“关闭”并不重要。它仍然无法通过它传递消息,并且在功能上它已经关闭。
但是,如果接收管理站通过其他链接连接,它仍然会收到通知。