dpVlanPortIfMode

DLINKPRIME-VLAN-MIB · .1.3.6.1.4.1.171.15.26.1.1.1.1

Object

column r/w Enumeration
This object indicates VLAN mode for the port. 
access - this port will be untagged member of the access VLAN
         configured for the port.
hybrid - the port can be untagged or tagged member of all VLANs
         configured by the user. The purpose of this VLAN mode is
         to support protocol VLAN, MAC-based VLAN, voice VLAN and
         dot1q VLAN tunnel application in access side.
trunk -  this port is either tagged or untagged member port of its
         native VLAN and can be tagged member of other VLANs
         configured by the user. The purpose of a trunk port is to
         support the switch-to-switch connection. 
dot1qTunnel - the port behaves as an UNI port of a service VLAN.
privateVlanHost - the port behaves as private VLAN host port.
privateVlanPromiscuous - the port behaves as private VLAN promiscuous
         port.
privateVlanTrunkPromiscuous - the port behaves as private VLAN trunk 
		 promiscuous port.
privateVlanTrunkSecondary - the port behaves as private VLAN trunk 
		 secondary port.
              
When VLAN mode is changed, the VLAN related setting associated
with previous mode will be lost.

Context

MIB
DLINKPRIME-VLAN-MIB
OID
.1.3.6.1.4.1.171.15.26.1.1.1.1
Type
column
Access
readwrite
Status
current
Parent
dpVlanPortIfCtrlEntry
Groups
1

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 'DLINKPRIME-VLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINKPRIME-VLAN-MIB::dpVlanPortIfMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DLINKPRIME-VLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINKPRIME-VLAN-MIB::dpVlanPortIfMode.<dot1dBasePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLINKPRIME-VLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLINKPRIME-VLAN-MIB::dpVlanPortIfMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1access
2hybrid
3trunk
4dot1qTunnel
5privateVlanHost
6privateVlanPromiscuous
7privateVlanTrunkPromiscuous
8privateVlanTrunkSecondary

Conformance