ewnPortVlanMode
EtherWAN-ewnSwitchM ·
.1.3.6.1.4.1.2736.1.1.2.2.1.18
Object
column r/w
Enumeration
VLAN switch port mode.
Context
- MIB
- EtherWAN-ewnSwitchM
- OID
.1.3.6.1.4.1.2736.1.1.2.2.1.18- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ewnPortEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'EtherWAN-ewnSwitchM' -M '/opt/observium/mibs/etherwan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EtherWAN-ewnSwitchM::ewnPortVlanMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EtherWAN-ewnSwitchM' -M '/opt/observium/mibs/etherwan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EtherWAN-ewnSwitchM::ewnPortVlanMode.<ewnPortNo>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EtherWAN-ewnSwitchM' -M '/opt/observium/mibs/etherwan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EtherWAN-ewnSwitchM::ewnPortVlanMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | access |
2 | hybrid |
3 | trunk |
4 | portbase |
Conformance
Member of