ethIfDefaultVLAN

NETI-ETH-MIB · .1.3.6.1.4.1.2928.2.2.1.3.2.1.13

Object

column r/w Integer32
If an untagged frame is received on this interface, it will
be tagged with a VLAN having a VLAN id as specified in this
variable.  The VLAN tag will be a customer or service tag as
set on ethFwdVLANMode, or ignored if set to `transparent(1)'.

Context

MIB
NETI-ETH-MIB
OID
.1.3.6.1.4.1.2928.2.2.1.3.2.1.13
Type
column
Access
readwrite
Status
current
Parent
ethIfEntry

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 'NETI-ETH-MIB' -M '/opt/observium/mibs/netinsight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETI-ETH-MIB::ethIfDefaultVLAN'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETI-ETH-MIB' -M '/opt/observium/mibs/netinsight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETI-ETH-MIB::ethIfDefaultVLAN.<ethDevIndex>.<ethIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETI-ETH-MIB' -M '/opt/observium/mibs/netinsight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETI-ETH-MIB::ethIfDefaultVLAN'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-4094