fsIfVlanID
FS-VLAN-MIB ·
.1.3.6.1.4.1.52642.1.1.10.2.9.1.6.1.6
Object
The value indicates the VID of the vlan which that this port belong to or of the native vlan of this port. This field is effective for only access, trunk, hybrid, uplink and dot1q_tunnel port.
Context
- MIB
- FS-VLAN-MIB
- OID
.1.3.6.1.4.1.52642.1.1.10.2.9.1.6.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- fsVlanPortConfigEntry
- 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 'FS-VLAN-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-VLAN-MIB::fsIfVlanID'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FS-VLAN-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-VLAN-MIB::fsIfVlanID.<fsVlanPortConfigIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-VLAN-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-VLAN-MIB::fsIfVlanID'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of