zxDslMacClearValue

ZTE-DSL-SRVCTRL-MIB · .1.3.6.1.4.1.3902.1004.7.1.9.2.2

Object

scalar r/w OctetString
The value of clear dynamic MAC.
For different zxDslMacClearType, the value has different meanings.  
all(1):  useless
mac(2):  it represents the MAC value to clear, and the separator is colon, such as 00:1E:90:3E:20:B6
port(3): it means to clear all MAC of given port, the value is ifIndex of the port.
vlan(4): it means to clear all MAC of given VLAN, the value is the VLAN ID(1 to 4094), such as 4093
vlanOfMac(5): it means to clear the given MAC of the given VLAN, seperated by &, such as 4093&00:1E:90:3E:20:B6

Context

MIB
ZTE-DSL-SRVCTRL-MIB
OID
.1.3.6.1.4.1.3902.1004.7.1.9.2.2
Type
scalar
Access
readwrite
Status
current
Parent
zxDslMacClear

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-DSL-SRVCTRL-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-DSL-SRVCTRL-MIB::zxDslMacClearValue.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-DSL-SRVCTRL-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-DSL-SRVCTRL-MIB::zxDslMacClearValue'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 1-64