lacpPortMode
GBNL2Switch-MIB ·
.1.3.6.1.4.1.13464.1.2.4.1.6.1.1.2
Object
column r/w
Enumeration
The mode of the Lacp Channel group.Static:link aggregation is static configguration,and lacp protocol do not run. Active:the port in this mode can send lacp pdu active.Passive:the port in this mode just send pdu when needed.
Context
- MIB
- GBNL2Switch-MIB
- OID
.1.3.6.1.4.1.13464.1.2.4.1.6.1.1.2- Type
- column
- Access
- readwrite
- 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::lacpPortMode'
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::lacpPortMode.<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::lacpPortMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | active |
3 | passive |