rptrPortGrpHwTrapSetLink
REPEATER-REV4-MIB ·
.1.3.6.1.4.1.52.4.1.1.1.4.2.5.1.1.1.2
Object
column mandatory
r/w
Enumeration
Enables and disables link traps for the specified port group.
Setting a value of disable(1) is equivalent to setting all instances
of rptrPortHwTrapSetLink to a value of disable(1). Setting a value
of enable(2) is equivalent to setting all instances of
rptrPortHwTrapSetLink to a value of disable(2). Setting a value of
other(3) is not allowed.
This object will read with the value of disable(1) if all instances
of rptrPortHwTrapSetLink for this port group are currently set
to a value of disable(1).
This object will read with the value of enable(2) if all instances
of rptrPortHwTrapSetLink for this port group are currently set
to a value of enable(2).
This object will read with the value of other(3) if all instances
of rptrPortHwTrapSetLink for this port group are not currently
set to a value the same value.
Context
- MIB
- REPEATER-REV4-MIB
- OID
.1.3.6.1.4.1.52.4.1.1.1.4.2.5.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- rptrPortGrpHwTrapEntry
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 'REPEATER-REV4-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'REPEATER-REV4-MIB::rptrPortGrpHwTrapSetLink'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'REPEATER-REV4-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'REPEATER-REV4-MIB::rptrPortGrpHwTrapSetLink.<rptrPortGrpHwTrapSetGrpId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'REPEATER-REV4-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'REPEATER-REV4-MIB::rptrPortGrpHwTrapSetLink'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disable |
2 | enable |
3 | other |