swL2VlanPortInfoPortRole

DGS-3710-12C-L2MGMT-MIB · .1.3.6.1.4.1.171.11.102.1.5.2.2.3.1.3

Object

column Enumeration
The port role of a special port.when none,it means this port is not belong to the vlan.

Context

MIB
DGS-3710-12C-L2MGMT-MIB
OID
.1.3.6.1.4.1.171.11.102.1.5.2.2.3.1.3
Type
column
Access
readonly
Status
current
Parent
swL2VlanPortInfoEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1none
2untagged
3tagged
4dynamic
5forbidden