zxmlsHostUserId

ZXR10-MLD-SNOOPING-MIB · .1.3.6.1.4.1.3902.3.102.54.2.3.1.1.7

Object

For IPTV or SUPERVLAN hosts, it's user VLAN.
For M-VPLS hosts, it's user VPLS.
For VPLS hosts,it's 0.
For IP-Global or VRF hosts, it's a computed value,
the high 16 bits is internal VLAN, 
and the low 16 bits is external VLAN.
Otherwise, it's equal to instance ID.

Context

MIB
ZXR10-MLD-SNOOPING-MIB
OID
.1.3.6.1.4.1.3902.3.102.54.2.3.1.1.7
Type
column
Access
noaccess
Status
current
Parent
zxmlsHostEntry

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 'ZXR10-MLD-SNOOPING-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-MLD-SNOOPING-MIB::zxmlsHostUserId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-MLD-SNOOPING-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-MLD-SNOOPING-MIB::zxmlsHostUserId.<zxmlsHostInstanceType>.<zxmlsHostInstanceIdx>.<zxmlsHostInstanceName>.<zxmlsHostGroupIp>.<zxmlsHostSourceIp>.<zxmlsHostIfName>.<zxmlsHostUserId>.<zxmlsHostPhyName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-MLD-SNOOPING-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-MLD-SNOOPING-MIB::zxmlsHostUserId'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647