zxAnSecIfMaxLearnedMacs
ZTE-AN-SECURITY-INTERFACE-MIB ·
.1.3.6.1.4.1.3902.1082.70.10.2.4.2.1.4
Object
column r/w
Integer32
Configure the number of the MAC address learnt. One port can only learn a maximum of the MACs configured. When the value of bit 1 (supportMaxLearnedMacsRangeTo1M) of zxAnSecInterfaceCapabilities is 1, the valid range of the object is from 0 to 1048576 or 2147483647, the value 2147483647 means no limit, and the default value is 2147483647, otherwise the valid range is from 0 to 16383 or 65535, the value 65535 means no limit, and the default value is 65535.
Context
- MIB
- ZTE-AN-SECURITY-INTERFACE-MIB
- OID
.1.3.6.1.4.1.3902.1082.70.10.2.4.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Default
2147483647- Parent
- zxAnSecIfMacLearnedLimitEntry
- Groups
- 1
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 'ZTE-AN-SECURITY-INTERFACE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SECURITY-INTERFACE-MIB::zxAnSecIfMaxLearnedMacs'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-SECURITY-INTERFACE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SECURITY-INTERFACE-MIB::zxAnSecIfMaxLearnedMacs.<ifIndex>.<zxAnSubIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SECURITY-INTERFACE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SECURITY-INTERFACE-MIB::zxAnSecIfMaxLearnedMacs'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1048576
range: 2147483647-2147483647
Conformance
Member of