osVifRecoverPorts

OS-VIF-MIB · .1.3.6.1.4.1.6926.2.2.2.1.16

Object

column r/w SNMPv2-TCTruthValue
When an agent receives this object with the value true(1) in SNMP SET operations,
it immediately recovers all ports of VIF that are isolated, for example, by
VLAN-based MFLG.
When SNMP GET/GETNEXT operation this object always returns the value of false(2).
CLI commands:
 'recover vlan IFNAME' - in ENABLE mode
 'recover;             - in INTERFACE mode.

Context

MIB
OS-VIF-MIB
OID
.1.3.6.1.4.1.6926.2.2.2.1.16
Type
column
Access
readwrite
Status
current
Parent
osVifEntry
Groups
1

Walk 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::osVifRecoverPorts'
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::osVifRecoverPorts.<osVifDevNo>'
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::osVifRecoverPorts'

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false

Conformance