All MIBs › HUAWEI-LswDEVM-MIB › hwLinkUpDownTrapEnable
hwLinkUpDownTrapEnable
Module: HUAWEI-LswDEVM-MIB
OID (symbolic): HUAWEI-LswDEVM-MIB::hwLinkUpDownTrapEnable
OID (numeric): 1.3.6.1.4.1.2011.2.23.1.9.1.9
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Enable/Disable linkUp/linkDown traps of the device, determining whether to enable linkUp/linkDown traps with that of the interface. When the value is enableBoth(1), the linkUp/linkDown traps are both enabled. When the value is disableBoth(2), the linkUp/linkDown traps are both disabled. When the value is enableLinkUpTrapOnly(3), the linkUp traps is enabled and the linkDown traps is disabled. When the value is enableLinkDownTrapOnly(4), the linkUp traps is disabled and the linkDown traps is enabled.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.2.23.1.9.1.9 snmpwalk -v2c -c public <target> HUAWEI-LswDEVM-MIB::hwLinkUpDownTrapEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.2.23.1.9.1.9.1 snmpget -v2c -c public <target> HUAWEI-LswDEVM-MIB::hwLinkUpDownTrapEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.2.23.1.9.1.9.1 i <value>
Start monitoring Huawei stackable LAN switch (CPU/memory hardware health) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-LswDEVM-MIB::hwLinkUpDownTrapEnable OID value, configure state conditions and alerts, and monitor any Huawei stackable LAN switch (CPU/memory hardware health) from a single console.
OID Breakdown
Upper-level ancestors (11 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.2 | products | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.2.23 | lanSw | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.2.23.1 | lswCommon | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.2.23.1.9 | hwLswdevMMib | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.2.23.1.9.1 | hwLswdevMMibObject | HUAWEI-LswDEVM-MIB |
| 1.3.6.1.4.1.2011.2.23.1.9.1.9 | hwLinkUpDownTrapEnable | HUAWEI-LswDEVM-MIB |