staticBridgeMacOrIpAddress
ZHONE-COM-BRIDGE-REC-MIB ·
.1.3.6.1.4.1.5504.4.7.3.1.1
Object
column OctetString
If the staticBridgeAddressType is set to macAddr(1),
then this field represents a MAC address.
If the staticBridgeAddressType is set to ipAddr(2),
then this field represents an IP address.
Context
- MIB
- ZHONE-COM-BRIDGE-REC-MIB
- OID
.1.3.6.1.4.1.5504.4.7.3.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- staticBridgeEntry
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 'ZHONE-COM-BRIDGE-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-BRIDGE-REC-MIB::staticBridgeMacOrIpAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-BRIDGE-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-BRIDGE-REC-MIB::staticBridgeMacOrIpAddress.<ifIndex>.<staticBridgeAddressType>.<bridgeIfVlanId>.<staticBridgeMacOrIpAddress>.<bridgeIfStagId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-BRIDGE-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-BRIDGE-REC-MIB::staticBridgeMacOrIpAddress'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 6-6