All MIBs › HH3C-RS485-MIB › hh3cRS485SessionType
hh3cRS485SessionType
Module: HH3C-RS485-MIB
OID (symbolic): HH3C-RS485-MIB::hh3cRS485SessionType
OID (numeric): 1.3.6.1.4.1.25506.2.109.2.2.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The type of a session. A session can use UDP socket, TCP socket as a client, or TCP socket as a server.
What is hh3cRS485SessionType?
This object selects how a raw session forwards RS485 serial data over the network: as a UDP socket, a TCP client connecting outbound, or a TCP server accepting inbound connections. The choice determines which of the session's other fields (remote IP, remote port, local port) are meaningful, since each transport mode uses them differently. For instance, setting this to tcpServer(3) turns the session into a listener waiting for a management station to connect and pull serial data.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.2.109.2.2.1.2 snmpwalk -v2c -c public <target> HH3C-RS485-MIB::hh3cRS485SessionType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.2.109.2.2.1.2.1 snmpget -v2c -c public <target> HH3C-RS485-MIB::hh3cRS485SessionType.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.25506.2.109.2.2.1.2.1 i <value>
Start monitoring H3C device with RS-485 serial port with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-RS485-MIB::hh3cRS485SessionType OID value, configure state conditions and alerts, and monitor any H3C device with RS-485 serial port from a single console.
OID Breakdown
Upper-level ancestors (9 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.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2 | hh3cCommon | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2.109 | hh3cRS485 | HH3C-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.25506.2.109.2 | hh3cRS485RawSessions | HH3C-RS485-MIB |
| 1.3.6.1.4.1.25506.2.109.2.2 | hh3cRS485RawSessionTable | HH3C-RS485-MIB |
| 1.3.6.1.4.1.25506.2.109.2.2.1 | hh3cRS485RawSessionEntry | HH3C-RS485-MIB |
| 1.3.6.1.4.1.25506.2.109.2.2.1.2 | hh3cRS485SessionType | HH3C-RS485-MIB |