All MIBs › RAPID-CITY › rcnStpNewRoot
rcnStpNewRoot
Module: RAPID-CITY
OID (symbolic): RAPID-CITY::rcnStpNewRoot
OID (numeric): 1.3.6.1.4.1.2272.1.21.0.4
Node type: NOTIFICATION-TYPE
Description:
A rcStpNewRoot trap signifies that the SNMPv2 entity, acting in an agent role, has detected the Spanning Tree Protocol has declared the device to be 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> '' RAPID-CITY::rcnStpNewRoot snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.2272.1.21.0.4
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]:57713->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (17100657) 1 days, 23:30:06.57 SNMPv2-MIB::snmpTrapOID.0 = OID: RAPID-CITY::rcnStpNewRoot
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.2272 | rapidCity | RAPID-CITY |
| 1.3.6.1.4.1.2272.1 | rcMgmt | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.21 | rcTraps | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.21.0 | rcTrapsMib | RAPID-CITY |
| 1.3.6.1.4.1.2272.1.21.0.4 | rcnStpNewRoot | RAPID-CITY |