All MIBs › JUNIPER-MIMSTP-MIB › jnxMIMstNewRootTrap
jnxMIMstNewRootTrap
Module: JUNIPER-MIMSTP-MIB
OID (symbolic): JUNIPER-MIMSTP-MIB::jnxMIMstNewRootTrap
OID (numeric): 1.3.6.1.4.1.2636.3.46.1.3.0.3
Node type: NOTIFICATION-TYPE
Description:
Generated whenever a new root bridge is selected in the topology. The jnxMIMstNewRootTrap indicates that the sending agent has become the new root of the Spanning Tree; the trap is sent by a bridge soon after its election as the new root
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> '' JUNIPER-MIMSTP-MIB::jnxMIMstNewRootTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.2636.3.46.1.3.0.3
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]:61111->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (79672503) 9 days, 5:18:45.03 SNMPv2-MIB::snmpTrapOID.0 = OID: JUNIPER-MIMSTP-MIB::jnxMIMstNewRootTrap
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.2636 | juniperMIB | JUNIPER-SMI |
| 1.3.6.1.4.1.2636.3 | jnxMibs | JUNIPER-SMI |
| 1.3.6.1.4.1.2636.3.46 | jnxXstpMibs | JUNIPER-SMI |
| 1.3.6.1.4.1.2636.3.46.1 | jnxMIMstMIB | JUNIPER-MIMSTP-MIB |
| 1.3.6.1.4.1.2636.3.46.1.3 | jnxMIDot1sJuniperMstTraps | JUNIPER-MIMSTP-MIB |
| 1.3.6.1.4.1.2636.3.46.1.3.0 | jnxMIMstTraps | JUNIPER-MIMSTP-MIB |
| 1.3.6.1.4.1.2636.3.46.1.3.0.3 | jnxMIMstNewRootTrap | JUNIPER-MIMSTP-MIB |