All MIBs › HUAWEI-LINE-COMMON-MIB › hwXponnniPortSwitchTrap
hwXponnniPortSwitchTrap
Module: HUAWEI-LINE-COMMON-MIB
OID (symbolic): HUAWEI-LINE-COMMON-MIB::hwXponnniPortSwitchTrap
OID (numeric): 1.3.6.1.4.1.2011.6.158.51.1.0.1
Node type: NOTIFICATION-TYPE
Description: TypeC or TypeD port switch trap. The first ifIndex is the active one after switching over. The second ifIndex is the standby one after switching over.
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-LINE-COMMON-MIB::hwXponnniPortSwitchTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.2011.6.158.51.1.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]:58494->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (231851134) 26 days, 20:01:51.34 SNMPv2-MIB::snmpTrapOID.0 = OID: HUAWEI-LINE-COMMON-MIB::hwXponnniPortSwitchTrap
Start monitoring Huawei DSLAM/access node platform (shared DSL line-board object framework) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-LINE-COMMON-MIB::hwXponnniPortSwitchTrap OID value, configure state conditions and alerts, and monitor any Huawei DSLAM/access node platform (shared DSL line-board object framework) from a single console.
OID Breakdown
Upper-level ancestors (8 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 | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.6 | huaweiUtility | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.6.158 | hwAccessCommonMIB | HUAWEI-LINE-COMMON-MIB |
| 1.3.6.1.4.1.2011.6.158.51 | hwLineCommonTraps | HUAWEI-LINE-COMMON-MIB |
| 1.3.6.1.4.1.2011.6.158.51.1 | hwLineTraps | HUAWEI-LINE-COMMON-MIB |
| 1.3.6.1.4.1.2011.6.158.51.1.0 | hwLineTrapsPrefix | HUAWEI-LINE-COMMON-MIB |
| 1.3.6.1.4.1.2011.6.158.51.1.0.1 | hwXponnniPortSwitchTrap | HUAWEI-LINE-COMMON-MIB |