swL2TrunkState
SWL2MGMT-MIB ·
.1.3.6.1.4.1.2272.1.201.1.2.8.3.1.6
Object
column r/w
Enumeration
This object indicates the status of this entry.
other(1) - this entry is currently in use but the conditions
under which it will remain so are different from each of
the following values.
disabled(2) - the port trunk disabled.
enabled(3) - the port trunk enabled.
invalid(4) - writing this value to the object, and then the
corresponding entry will be removed from the table.
Context
- MIB
- SWL2MGMT-MIB
- OID
.1.3.6.1.4.1.2272.1.201.1.2.8.3.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2TrunkCtrlEntry
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 'SWL2MGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWL2MGMT-MIB::swL2TrunkState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWL2MGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWL2MGMT-MIB::swL2TrunkState.<swL2TrunkIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWL2MGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWL2MGMT-MIB::swL2TrunkState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |
4 | invalid |