All MIBs › HUAWEI-PW-CMD-MIB › hwPwCmdSerSwitchToSec
hwPwCmdSerSwitchToSec
Module: HUAWEI-PW-CMD-MIB
OID (symbolic): HUAWEI-PW-CMD-MIB::hwPwCmdSerSwitchToSec
OID (numeric): 1.3.6.1.4.1.2011.5.12.8.1.5.2.0.3
Node type: NOTIFICATION-TYPE
Description: This notification is generated when the service switches over to the secondary PW. The first object is the index of primary pw, and the other is the index of secondary pw.
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> '' HUAWEI-PW-CMD-MIB::hwPwCmdSerSwitchToSec snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.2011.5.12.8.1.5.2.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]:62413->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (97199565) 11 days, 5:59:55.65 SNMPv2-MIB::snmpTrapOID.0 = OID: HUAWEI-PW-CMD-MIB::hwPwCmdSerSwitchToSec
Start monitoring Huawei MPLS-capable router/switch supporting PWE3 pseudowire services with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-PW-CMD-MIB::hwPwCmdSerSwitchToSec OID value, configure state conditions and alerts, and monitor any Huawei MPLS-capable router/switch supporting PWE3 pseudowire services from a single console.
OID Breakdown
Upper-level ancestors (10 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.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.12 | hwMpls | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.12.8 | hwPw | HUAWEI-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.12.8.1 | hwPwCmdMIB | HUAWEI-PW-CMD-MIB |
| 1.3.6.1.4.1.2011.5.12.8.1.5 | hwPwCmdTraps | HUAWEI-PW-CMD-MIB |
| 1.3.6.1.4.1.2011.5.12.8.1.5.2 | hwPwCmdAlarmTraps | HUAWEI-PW-CMD-MIB |
| 1.3.6.1.4.1.2011.5.12.8.1.5.2.0 | hwPwCmdAlarmTrapsPrefix | HUAWEI-PW-CMD-MIB |
| 1.3.6.1.4.1.2011.5.12.8.1.5.2.0.3 | hwPwCmdSerSwitchToSec | HUAWEI-PW-CMD-MIB |