hwMirrorEthHeadSMAC
HUAWEI-QOS-MIB ·
.1.3.6.1.4.1.2011.5.2.11.2
Object
Describes the source MAC address, which is contained in the Ethernet packet head, added into the mirrored packet. the value obtained is not the boradcast address, the multicast address, or all zero address.
Context
- MIB
- HUAWEI-QOS-MIB
- OID
.1.3.6.1.4.1.2011.5.2.11.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwMirrorEthHead
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 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QOS-MIB::hwMirrorEthHeadSMAC.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-QOS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-QOS-MIB::hwMirrorEthHeadSMAC'
Syntax
- Source
- SNMPv2-TCMacAddress
- Base type
OctetString- Display format
1x:
Type Description
Represents an 802 MAC address represented in the `canonical' order defined by IEEE 802.1a, i.e., as if it were transmitted least significant bit first, even though 802.5 (in contrast to other 802.x protocols) requires MAC addresses to be transmitted most significant bit first.
Values & Constraints
Type Constraints
range: 6