lacpPortState
GBNL2Switch-MIB ·
.1.3.6.1.4.1.13464.1.2.4.1.6.1.1.5
Object
column Enumeration
lacp selected state of channel group member: down(1) means the port is link down member of channel group. nobndl(2) means the port is unselected member of channel group. bndl(3) means the port is selected as active member of channel group. standby(4) means the port is selected as standby member of channel group.
Context
- MIB
- GBNL2Switch-MIB
- OID
.1.3.6.1.4.1.13464.1.2.4.1.6.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- lacpPortModeEntry
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 'GBNL2Switch-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GBNL2Switch-MIB::lacpPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GBNL2Switch-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GBNL2Switch-MIB::lacpPortState.<lacpPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GBNL2Switch-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GBNL2Switch-MIB::lacpPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | down |
2 | nobndl |
3 | bndl |
4 | standby |