hmTrunkAdminStatus
HMPRIV-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.1.1.12.1.5
Object
column r/w
Enumeration
The desired state of the trunk. if this variable is set to down(2), all interfaces which are aggregated in the trunk are switched off simultaneously. Reading this variable returns up(1) if at least one interface of the trunk is operational (up).
Context
- MIB
- HMPRIV-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.1.1.12.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmTrunkEntry
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 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MGMT-SNMP-MIB::hmTrunkAdminStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MGMT-SNMP-MIB::hmTrunkAdminStatus.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMPRIV-MGMT-SNMP-MIB::hmTrunkAdminStatus'
Syntax
Enumeration
Values & Constraints
Object Constraints
range: 1-2