hh3cOnuRS485SessionRemotePort
HH3C-EPON-MIB ·
.1.3.6.1.4.1.25506.2.42.1.5.33.1.5
Object
column r/w
Integer32
The port of remote landing. When session type is 'udp', this is the peer port. When session type is 'tcpClient', this is the server port. When session type is 'tcpServer', this is invalid.
Context
- MIB
- HH3C-EPON-MIB
- OID
.1.3.6.1.4.1.25506.2.42.1.5.33.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cOnuRS485SessionEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HH3C-EPON-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-EPON-MIB::hh3cOnuRS485SessionRemotePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-EPON-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-EPON-MIB::hh3cOnuRS485SessionRemotePort.<ifIndex>.<hh3cOnuRS485SerialIndex>.<hh3cOnuRS485SessionIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-EPON-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-EPON-MIB::hh3cOnuRS485SessionRemotePort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1024-65535