osRtVifLabelSwitching
OS-VIF-MIB ·
.1.3.6.1.4.1.6926.2.2.10.1.2
Object
column r/w
Integer32
Enables/disables label-switching on interface.
Context
- MIB
- OS-VIF-MIB
- OID
.1.3.6.1.4.1.6926.2.2.10.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- osRtVifEntry
- 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 'OS-VIF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-VIF-MIB::osRtVifLabelSwitching'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-VIF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-VIF-MIB::osRtVifLabelSwitching.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-VIF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-VIF-MIB::osRtVifLabelSwitching'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-60000
Conformance
Member of