All MIBs › HM2-INDUSTRIAL-PROTOCOLS-MIB › hm2ModbusTcpServerPortNumber
hm2ModbusTcpServerPortNumber
Module: HM2-INDUSTRIAL-PROTOCOLS-MIB
OID (symbolic): HM2-INDUSTRIAL-PROTOCOLS-MIB::hm2ModbusTcpServerPortNumber
OID (numeric): 1.3.6.1.4.1.248.11.101.1.4.1.3
Node type: OBJECT-TYPE
Type: InetPortNumber
Access: read-write
Description: The port number of the Modbus TCP server. Setting the port to zero is not allowed.
What is hm2ModbusTcpServerPortNumber?
The TCP port the Modbus server listens on, defaulting to 502 (the standard Modbus/TCP port); zero is rejected, so admins only change this for non-standard port/firewall setups.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.11.101.1.4.1.3 snmpwalk -v2c -c public <target> HM2-INDUSTRIAL-PROTOCOLS-MIB::hm2ModbusTcpServerPortNumber
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.11.101.1.4.1.3.1 snmpget -v2c -c public <target> HM2-INDUSTRIAL-PROTOCOLS-MIB::hm2ModbusTcpServerPortNumber.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.248.11.101.1.4.1.3.1 s <value>
Start monitoring Hirschmann HiOS industrial Ethernet switch (IEC 61850 MMS server) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-INDUSTRIAL-PROTOCOLS-MIB::hm2ModbusTcpServerPortNumber OID value, configure state conditions and alerts, and monitor any Hirschmann HiOS industrial Ethernet switch (IEC 61850 MMS server) 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 | HM2-TC-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.101 | hm2IndustrialProtocolsMib | HM2-INDUSTRIAL-PROTOCOLS-MIB |
| 1.3.6.1.4.1.248.11.101.1 | hm2IndustrialProtocolsMibObjects | HM2-INDUSTRIAL-PROTOCOLS-MIB |
| 1.3.6.1.4.1.248.11.101.1.4 | hm2ModbusGroup | HM2-INDUSTRIAL-PROTOCOLS-MIB |
| 1.3.6.1.4.1.248.11.101.1.4.1 | hm2ModbusConfigGroup | HM2-INDUSTRIAL-PROTOCOLS-MIB |
| 1.3.6.1.4.1.248.11.101.1.4.1.3 | hm2ModbusTcpServerPortNumber | HM2-INDUSTRIAL-PROTOCOLS-MIB |