All MIBs › CISCO-DM-MIB › dmNewPrincipalSwitchNotify
dmNewPrincipalSwitchNotify
Module: CISCO-DM-MIB
OID (symbolic): CISCO-DM-MIB::dmNewPrincipalSwitchNotify
OID (numeric): 1.3.6.1.4.1.9.9.302.1.3.0.2
Node type: NOTIFICATION-TYPE
Description: This notification indicates that the sending switch has become the new Principal Switch on a VSAN. This notification is sent soon after its election as the new Principal Switch, i.e., upon expiration of a Principal Switch selection timer which is equal to twice Fabric Stability Timeout value (F_S_TOV).
This notification contains the vsanIndex of the VSAN on which the switch became the Principal Switch and the WWN of the switch which became the Principal Switch.
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' CISCO-DM-MIB::dmNewPrincipalSwitchNotify snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.9.9.302.1.3.0.2
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:60333->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (133520813) 15 days, 10:53:28.13 SNMPv2-MIB::snmpTrapOID.0 = OID: CISCO-DM-MIB::dmNewPrincipalSwitchNotify
Start monitoring Cisco MDS/Nexus Fibre Channel SAN switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-DM-MIB::dmNewPrincipalSwitchNotify OID value, configure state conditions and alerts, and monitor any Cisco MDS/Nexus Fibre Channel SAN switches from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.302 | ciscoDmMIB | CISCO-DM-MIB |
| 1.3.6.1.4.1.9.9.302.1 | ciscoDmMIBObjects | CISCO-DM-MIB |
| 1.3.6.1.4.1.9.9.302.1.3 | dmNotificationPrefix | CISCO-DM-MIB |
| 1.3.6.1.4.1.9.9.302.1.3.0 | dmNotification | CISCO-DM-MIB |
| 1.3.6.1.4.1.9.9.302.1.3.0.2 | dmNewPrincipalSwitchNotify | CISCO-DM-MIB |