rcPortSecMaxAllowedMac

SWITCH-PORTSECURITY-MIB · .1.3.6.1.4.1.8886.6.1.49.2.1.3

Object

column mandatory r/w Integer32
The maximum number of MAC addresses to be secured on the interface.
when  configuration value is larger than rcPortSecCurMacNum, 
the result return wrong,so please check the rcPortSecCurMacNum firstly.

Context

MIB
SWITCH-PORTSECURITY-MIB
OID
.1.3.6.1.4.1.8886.6.1.49.2.1.3
Type
column
Access
readwrite
Status
mandatory
Parent
rcPortSecEntry

Walk 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 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSECURITY-MIB::rcPortSecMaxAllowedMac'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSECURITY-MIB::rcPortSecMaxAllowedMac.<rcPortSecIndx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-PORTSECURITY-MIB::rcPortSecMaxAllowedMac'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-1024