CISCO-PORT-SECURITY-MIB :: cpsIfPortSecurityEnable

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

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

cpsIfPortSecurityEnable

Module: CISCO-PORT-SECURITY-MIB

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

OID (numeric): 1.3.6.1.4.1.9.9.315.1.2.1.1.1

Node type: OBJECT-TYPE

Type: TruthValue

Access: read-write

Description: Indicates whether the port security feature is enabled on an interface. Upon setting this object to 'true', the source MAC address that does not match any cpsSecureMacAddress for the given interface in cpsSecureMacAddressTable and the value of cpsIfCurrentSecureMacAddrCount is equal to cpsIfMaxSecureMacAddr, is considered as port security violation and an action as specified in cpsIfViolationAction is taken on the interface. The value of this object has no effect when the value of cpsGlobalPortSecurityEnable is set to 'false'.

What is cpsIfPortSecurityEnable?

Enables or disables port security on a specific interface; once enabled, traffic from source MAC addresses not matching a secured address on that interface can trigger a violation.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.1
snmpwalk -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfPortSecurityEnable

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.1.1
snmpget -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfPortSecurityEnable.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.1.1 s <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::cpsIfPortSecurityEnable 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.1cpsIfPortSecurityEnableCISCO-PORT-SECURITY-MIB