vlanDisableLearning
FS-NMS-MAC-MIB ·
.1.3.6.1.4.1.52642.152.4.1.2
Object
column r/w
Enumeration
Interface vlan learning config. 1-enable, 2-disable. Default is enable.
Context
- MIB
- FS-NMS-MAC-MIB
- OID
.1.3.6.1.4.1.52642.152.4.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vlanDisableLearningEntry
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-NMS-MAC-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-NMS-MAC-MIB::vlanDisableLearning'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FS-NMS-MAC-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-NMS-MAC-MIB::vlanDisableLearning.<ifVlanDisableLearningIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-NMS-MAC-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-NMS-MAC-MIB::vlanDisableLearning'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable-learning |
2 | disable-learning |