vlanMemberPortOfVlan

STAND-ALONE-ETHERNET-SWITCH-MIB · .1.3.6.1.4.1.437.1.1.3.6.4.1.3

Object

column mandatory r/w Enumeration
The port identified by vlanMemberPortIndex becomes
a member of the VLAN identified by vlanMemberIndex
when this object is set to true(1).  The same port
ceases to be member of that VLAN when the object
is set to false(2).
              
All ports in the switch must belong to some VLAN.
Consequently, the switch will return badValue if
this object is used such to remove the port from all
membership lists.
              
Note that when vlanAllowMembershipOverlap is disabled,
a port can only be member of exactly one VLAN.
In this case, setting vlanMemberPortOfVlan to true(1) for
a port adds the port to the membership list of the
current VLAN and removes the same port from all other VLAN
membership lists.
              
When vlanAllowMembershipOverlap is enabled, a port may
reside in multiple VLANs.  Setting vlanMemberPortOfVlan
to true(1) in this case adds the port to the membership
list of the current VLAN and does not change other
VLAN membership lists.

Context

MIB
STAND-ALONE-ETHERNET-SWITCH-MIB
OID
.1.3.6.1.4.1.437.1.1.3.6.4.1.3
Type
column
Access
readwrite
Status
mandatory
Parent
vlanMemberEntry

Walk 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 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::vlanMemberPortOfVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::vlanMemberPortOfVlan.<vlanMemberIndex>.<vlanMemberPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::vlanMemberPortOfVlan'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1true
2false