port6Membership
OMNITRON-MIB ·
.1.3.6.1.4.1.7342.2.1.6.1.9
Object
column r/w
Integer32
Used to set or get the port's membership in the specified vlan. 0 = not a member 1 = include in membership
Context
- MIB
- OMNITRON-MIB
- OID
.1.3.6.1.4.1.7342.2.1.6.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- moduleVLANEntry
- Groups
- 1
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 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::port6Membership'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::port6Membership.<modchassnum>.<modslotnum>.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-MIB::port6Membership'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1
Conformance
Member of