tnLagCommand
TN-LAG-MIB ·
.1.3.6.1.4.1.7483.6.1.2.15.20.1.2
Object
column r/w
Enumeration
The value of tnLagCommand specifies the command.
Context
- MIB
- TN-LAG-MIB
- OID
.1.3.6.1.4.1.7483.6.1.2.15.20.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tnLagCommandEntry
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 'TN-LAG-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-LAG-MIB::tnLagCommand'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TN-LAG-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-LAG-MIB::tnLagCommand.<tnSysSwitchId>.<tnLagIndex>.<tnLagSubgroup>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TN-LAG-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TN-LAG-MIB::tnLagCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | noCmd |
1 | clearForce |
2 | force |