swPortMacAddrType
FD-SWITCH-MIB ·
.1.3.6.1.4.1.34592.1.3.2.3.4.1.3
Object
column Enumeration
Mac Address Type
Context
- MIB
- FD-SWITCH-MIB
- OID
.1.3.6.1.4.1.34592.1.3.2.3.4.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swPortMacAddressEntry
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 'FD-SWITCH-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FD-SWITCH-MIB::swPortMacAddrType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FD-SWITCH-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FD-SWITCH-MIB::swPortMacAddrType.<swPortMacAddrIndex>.<swPortMacAddrVlanIdIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FD-SWITCH-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FD-SWITCH-MIB::swPortMacAddrType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | blackhole |
3 | dynamic |