es2226TrunkPortMethod
RUBYTECH-ES2226-MIB ·
.1.3.6.1.4.1.5205.2.31.1.23.1.1.1.2
Object
column r/w
Integer32
The method of trunk port. 0 : None, 1 : LACP, 2 : Static.
Context
- MIB
- RUBYTECH-ES2226-MIB
- OID
.1.3.6.1.4.1.5205.2.31.1.23.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- es2226TrunkPortEntry
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 'RUBYTECH-ES2226-MIB' -M '/opt/observium/mibs/rubytech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RUBYTECH-ES2226-MIB::es2226TrunkPortMethod'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RUBYTECH-ES2226-MIB' -M '/opt/observium/mibs/rubytech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RUBYTECH-ES2226-MIB::es2226TrunkPortMethod.<es2226TrunkPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RUBYTECH-ES2226-MIB' -M '/opt/observium/mibs/rubytech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RUBYTECH-ES2226-MIB::es2226TrunkPortMethod'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2