All MIBs › TWTRAP-MIB › newRoot
newRoot
Module: TWTRAP-MIB
OID (symbolic): TWTRAP-MIB::newRoot
OID (numeric): 1.3.6.1.2.1.17.0.1
Node type: NOTIFICATION-TYPE
Description:
Become the new root of the Spanning Tree.
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> '' TWTRAP-MIB::newRoot snmptrap -v2c -c public <manager> '' 1.3.6.1.2.1.17.0.1
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]:51436->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (17438444) 2 days, 0:26:24.44 SNMPv2-MIB::snmpTrapOID.0 = OID: TWTRAP-MIB::newRoot