hpSwitchBaseMACAddress
NETSWITCH-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.1.6
Object
Return the base MAC address of the switch. This is also the MAC address of the default vlan.
Context
- MIB
- NETSWITCH-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.1.6- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- hpOpSystem
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETSWITCH-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETSWITCH-MIB::hpSwitchBaseMACAddress.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETSWITCH-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETSWITCH-MIB::hpSwitchBaseMACAddress'
Syntax
- Source
- MacAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 6