vlanStaticInterfaceType
FS-MIB ·
.1.3.6.1.4.1.52642.2.1.45.1.12.17.1.2
Object
column r/w
Enumeration
The interface type of the VLAN (there is a subtype of IANAifType). l2vlan(135) refers to L2 interface and can't accept any L3 related configuration. l3ipvlan(136) refers to L3 interface and can accept L3 related configuration.
Context
- MIB
- FS-MIB
- OID
.1.3.6.1.4.1.52642.2.1.45.1.12.17.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Default
l2vlan- Parent
- vlanStaticEntry
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 'FS-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-MIB::vlanStaticInterfaceType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FS-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-MIB::vlanStaticInterfaceType.<vlanStaticIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-MIB::vlanStaticInterfaceType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
135 | l2vlan |
136 | l3ipvlan |