hh3cifMacAddrLearnMode
HH3C-LswINF-MIB ·
.1.3.6.1.4.1.25506.8.35.5.1.4.1.11
Object
column Enumeration
Status indicates mac address learn mode of the interface. IVL(1) means independent VLAN learning. SVL means shared VLAN learning.
Context
- MIB
- HH3C-LswINF-MIB
- OID
.1.3.6.1.4.1.25506.8.35.5.1.4.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cethernetEntry
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 'HH3C-LswINF-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-LswINF-MIB::hh3cifMacAddrLearnMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-LswINF-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-LswINF-MIB::hh3cifMacAddrLearnMode.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-LswINF-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-LswINF-MIB::hh3cifMacAddrLearnMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | iVL |
2 | sVL |