vlanid

ZHONE-COM-IP-REC-MIB · .1.3.6.1.4.1.5504.4.1.9.2.1.32

Object

column r/w Integer32
This is the Virtual LAN Identifier for the IP Interface.  If the
VLAN ID specified is non-zero, all traffic destined to this
interface should have the VLAN ID specified.

Context

MIB
ZHONE-COM-IP-REC-MIB
OID
.1.3.6.1.4.1.5504.4.1.9.2.1.32
Type
column
Access
readwrite
Status
current
Parent
ipInterfaceEntry

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 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-REC-MIB::vlanid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-REC-MIB::vlanid.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-REC-MIB::vlanid'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-4095