jnxExVlanPortAccessMode
OBS ✓
JUNIPER-VLAN-MIB ·
.1.3.6.1.4.1.2636.3.40.1.5.1.7.1.5
Object
column Enumeration
The VlanPortAccessMode gives whether the Port is Access or Trunk.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in:
Ports
Explore Observium network monitoring
Context
- MIB
- JUNIPER-VLAN-MIB
- OID
.1.3.6.1.4.1.2636.3.40.1.5.1.7.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- jnxExVlanPortGroupEntry
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 'JUNIPER-VLAN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JUNIPER-VLAN-MIB::jnxExVlanPortAccessMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'JUNIPER-VLAN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JUNIPER-VLAN-MIB::jnxExVlanPortAccessMode.<jnxExVlanPortGroupIndex>.<jnxExVlanPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'JUNIPER-VLAN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'JUNIPER-VLAN-MIB::jnxExVlanPortAccessMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | access |
2 | trunk |