CISCO-PORT-SECURITY-MIB :: cpsIfVlanMaxSecureMacAddr

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

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

cpsIfVlanMaxSecureMacAddr

Module: CISCO-PORT-SECURITY-MIB

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

OID (numeric): 1.3.6.1.4.1.9.9.315.1.2.4.1.2

Node type: OBJECT-TYPE

Type: Unsigned32

Access: read-write

Description: The maximum number of MAC addresses to be secured in the VLAN indicated by cpsIfVlanIndex on this interface.

If cpsIfVlanMaxSecureMacAddr is not set, its value is 1.

If cpsIfVlanMaxSecureMacAddr is not set, then the cpsIfMaxSecureMacAddr applies to this VLAN.

If cpsIfVlanMaxSecureMacAddr is set and is less than cpsIfMaxSecureMacAddr, then the cpsIfVlanMaxSecureMacAddr applies to this VLAN.

If cpsIfVlanMaxSecureMacAddr is set and is greater than cpsIfMaxSecureMacAddr, then the cpsIfMaxSecureMacAddr applies to this VLAN.

What is cpsIfVlanMaxSecureMacAddr?

This read-write setting configures the maximum number of secure MAC addresses allowed on a given VLAN for an interface, defaulting to 1 if not explicitly set.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.4.1.2
snmpwalk -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfVlanMaxSecureMacAddr

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.4.1.2.1
snmpget -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfVlanMaxSecureMacAddr.1

Set instance 1 (SNMPv2c):

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

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::cpsIfVlanMaxSecureMacAddr 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.4cpsIfVlanTableCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.1.2.4.1cpsIfVlanEntryCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.1.2.4.1.2cpsIfVlanMaxSecureMacAddrCISCO-PORT-SECURITY-MIB