All MIBs › HUAWEI-PW-CMD-MIB › hwPwCmdTunnSwitchToP
hwPwCmdTunnSwitchToP
Module: HUAWEI-PW-CMD-MIB
OID (symbolic): HUAWEI-PW-CMD-MIB::hwPwCmdTunnSwitchToP
OID (numeric): 1.3.6.1.4.1.2011.5.12.8.1.5.2.0.6
Node type: NOTIFICATION-TYPE
Description: This notification is generated when the MPLS service switches from the work-tunnel to the protect-tunnel. The first object is the index of protect-tunnel, and the other is the index of work-tunnel.
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::hwPwCmdTunnSwitchToP snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.2011.5.12.8.1.5.2.0.6
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]:51010->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (344099650) 39 days, 19:49:56.50 SNMPv2-MIB::snmpTrapOID.0 = OID: HUAWEI-PW-CMD-MIB::hwPwCmdTunnSwitchToP
SNMPv3 example:
snmptrap -v3 -l authPriv -u snmpv3user -a SHA -A "AuthPass1" -x AES -X "PrivPass1" <manager> '' HUAWEI-PW-CMD-MIB::hwPwCmdTunnSwitchToP
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::hwPwCmdTunnSwitchToP 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.6 | hwPwCmdTunnSwitchToP | HUAWEI-PW-CMD-MIB |