lcsVlanPortType
LCOS-SX-MIB ·
.1.3.6.1.4.1.2356.14.1.10.2.3.1.4
Object
column r/w
Enumeration
Ports in hybrid mode allow for changing the port type, that is, whether a frame's VLAN tag is used to classify the frame on ingress to a particular VLAN, and if so, which TPID it reacts on. Likewise, on egress, the Port Type determines the TPID of the tag, if a tag is required. 0: unaware, 1: c-Port, 2: s-Port, 3: s-Custom-Port.
Context
- MIB
- LCOS-SX-MIB
- OID
.1.3.6.1.4.1.2356.14.1.10.2.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- lcsVlanEntry
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 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LCOS-SX-MIB::lcsVlanPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LCOS-SX-MIB::lcsVlanPortType.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LCOS-SX-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LCOS-SX-MIB::lcsVlanPortType'
Syntax
Enumeration
Values & Constraints
Object Constraints
range: 1518-10240