swL2IGMPPortMap
DES3052P-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.63.9.2.7.5.1.4
Object
column PortList
This object indicates which ports belong to the same multicast group, on a per-VLAN basis. Each multicast group has an octet string to indicate the port map. The most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the switch is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0' (Note that the setting of the bit corresponding to the port from which a frame is received is irrelevant). The 4 octets represent one unit port according to its logic port. If the unit is less than 32 ports, the other port will just fill this value with zeros.
Context
- MIB
- DES3052P-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.63.9.2.7.5.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swL2IGMPInfoEntry
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 'DES3052P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3052P-L2MGMT-MIB::swL2IGMPPortMap'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3052P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3052P-L2MGMT-MIB::swL2IGMPPortMap.<swL2IGMPVid>.<swL2IGMPGroupIpAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3052P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3052P-L2MGMT-MIB::swL2IGMPPortMap'