All MIBs › H3C-VSAN-MIB › h3cVsanDmNewPrincipalSwitchNotify
h3cVsanDmNewPrincipalSwitchNotify
Module: H3C-VSAN-MIB
OID (symbolic): H3C-VSAN-MIB::h3cVsanDmNewPrincipalSwitchNotify
OID (numeric): 1.3.6.1.4.1.2011.10.2.127.1.1.3.0.2
Node type: NOTIFICATION-TYPE
Description:
If a switch becomes the new Principal Switch in a VSAN, this notification is sent immediately after the election.
The notification contains the WWN of the new Principal Switch and the index of the VSAN in which the transition occurred.
What is h3cVsanDmNewPrincipalSwitchNotify?
This notification is sent when a switch is elected as the new Principal Switch in a Virtual SAN (Storage Area Network), indicating a change in the VSAN's leadership. Network operators track this event to monitor VSAN stability and understand topology changes. It includes the new Principal Switch's World Wide Name and the affected VSAN index.
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> '' H3C-VSAN-MIB::h3cVsanDmNewPrincipalSwitchNotify snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.2011.10.2.127.1.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]:49786->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (180436602) 20 days, 21:12:46.02 SNMPv2-MIB::snmpTrapOID.0 = OID: H3C-VSAN-MIB::h3cVsanDmNewPrincipalSwitchNotify
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.2011 | huawei | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.10 | h3c | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.10.2 | h3cCommon | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.10.2.127 | h3cSan | H3C-VSAN-MIB |
| 1.3.6.1.4.1.2011.10.2.127.1 | h3cVsan | H3C-VSAN-MIB |
| 1.3.6.1.4.1.2011.10.2.127.1.1 | h3cVsanMibObjects | H3C-VSAN-MIB |
| 1.3.6.1.4.1.2011.10.2.127.1.1.3 | h3cVsanDmNotifications | H3C-VSAN-MIB |
| 1.3.6.1.4.1.2011.10.2.127.1.1.3.0 | h3cVsanDmNotificationPrefix | H3C-VSAN-MIB |
| 1.3.6.1.4.1.2011.10.2.127.1.1.3.0.2 | h3cVsanDmNewPrincipalSwitchNotify | H3C-VSAN-MIB |