cpsIfMaxSecureMacAddr
CISCO-PORT-SECURITY-MIB ·
.1.3.6.1.4.1.9.9.315.1.2.1.1.3
Object
column r/w
Integer32
The maximum number (N) of MAC addresses to be secured on the interface. The first N MAC addresses learned or configured are made secured. Changing this object value from N to M is not allowed if M is smaller than N, and M is less than the value of cpsIfCurrentSecureMacAddrCount on the interface. One way to change the number in this case is by deleting sufficient number of secure mac addresses configured or learned on the device. Also, some devices may choose to limit the sum of this object value for all interfaces to less than or equal to cpsGlobalMaxSecureAddress.
Context
- MIB
- CISCO-PORT-SECURITY-MIB
- OID
.1.3.6.1.4.1.9.9.315.1.2.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cpsIfConfigEntry
- Groups
- 3
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 'CISCO-PORT-SECURITY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PORT-SECURITY-MIB::cpsIfMaxSecureMacAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PORT-SECURITY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PORT-SECURITY-MIB::cpsIfMaxSecureMacAddr.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PORT-SECURITY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PORT-SECURITY-MIB::cpsIfMaxSecureMacAddr'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647