CISCO-PORT-SECURITY-MIB :: cpsIfMaxSecureMacAddr

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › CISCO-PORT-SECURITY-MIB › cpsIfMaxSecureMacAddr

cpsIfMaxSecureMacAddr

Module: CISCO-PORT-SECURITY-MIB

OID (symbolic): CISCO-PORT-SECURITY-MIB::cpsIfMaxSecureMacAddr

OID (numeric): 1.3.6.1.4.1.9.9.315.1.2.1.1.3

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: 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.

What is cpsIfMaxSecureMacAddr?

Configures the maximum number of MAC addresses that can be secured on an interface; only the first N learned or configured addresses become secured.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.3
snmpwalk -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfMaxSecureMacAddr

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.3.1
snmpget -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfMaxSecureMacAddr.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.3.1 i <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> cpsIfMaxSecureMacAddr.1

Start monitoring Cisco Catalyst switch (Layer 2 port security) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-PORT-SECURITY-MIB::cpsIfMaxSecureMacAddr OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switch (Layer 2 port security) from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.9ciscoCAT2600-MIB
1.3.6.1.4.1.9.9ciscoMgmtCISCO-SMI
Numeric OIDNameModule
1.3.6.1.4.1.9.9.315ciscoPortSecurityMIBCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.1ciscoPortSecurityMIBObjectsCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.1.2cpsInterfaceObjectsCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.1.2.1cpsIfConfigTableCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.1.2.1.1cpsIfConfigEntryCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.1.2.1.1.3cpsIfMaxSecureMacAddrCISCO-PORT-SECURITY-MIB