All MIBs › HM2-NETCONFIG-MIB › hm2NetPrefixLength
hm2NetPrefixLength
Module: HM2-NETCONFIG-MIB
OID (symbolic): HM2-NETCONFIG-MIB::hm2NetPrefixLength
OID (numeric): 1.3.6.1.4.1.248.11.20.1.1.4
Node type: OBJECT-TYPE
Type: InetAddressPrefixLength
Access: read-write
Description: The length of the IP netmask.
What is hm2NetPrefixLength?
Sets the length of the IP netmask (prefix length) for the switch's management address, defaulting to 0. An admin configures this together with hm2NetLocalIPAddr to define the subnet the management interface sits on.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.11.20.1.1.4 snmpwalk -v2c -c public <target> HM2-NETCONFIG-MIB::hm2NetPrefixLength
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.11.20.1.1.4.1 snmpget -v2c -c public <target> HM2-NETCONFIG-MIB::hm2NetPrefixLength.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.248.11.20.1.1.4.1 s <value>
Start monitoring Hirschmann HiOS industrial Ethernet switch (management network config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-NETCONFIG-MIB::hm2NetPrefixLength OID value, configure state conditions and alerts, and monitor any Hirschmann HiOS industrial Ethernet switch (management network config) 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.248 | hirschmann | HIRSCHMANN-GENERIC-ERROR-MIB |
| 1.3.6.1.4.1.248.11 | hm2ConfigurationMibs | HM2-TC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.248.11.20 | hm2NetConfigMib | HM2-NETCONFIG-MIB |
| 1.3.6.1.4.1.248.11.20.1 | hm2NetConfigMibObjects | HM2-NETCONFIG-MIB |
| 1.3.6.1.4.1.248.11.20.1.1 | hm2NetStaticGroup | HM2-NETCONFIG-MIB |
| 1.3.6.1.4.1.248.11.20.1.1.4 | hm2NetPrefixLength | HM2-NETCONFIG-MIB |