CISCO-PORT-SECURITY-MIB :: cpsIfSecureLastMacAddrVlanId

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

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

cpsIfSecureLastMacAddrVlanId

Module: CISCO-PORT-SECURITY-MIB

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

OID (numeric): 1.3.6.1.4.1.9.9.315.1.2.1.1.18

Node type: OBJECT-TYPE

Type: VlanIndex

Access: read-only

Description: This object indicates the VLAN where the last MAC address that is seen on this interface.

This object is also used as a variable in the cpsIfVlanSecureMacAddrViolation notification to contain the value of the VLAN received the mac address which caused the violation.

What is cpsIfSecureLastMacAddrVlanId?

This read-only value reports the VLAN ID associated with the last MAC address seen on the interface, and is also used to carry VLAN context in the related security-violation notification.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.18
snmpwalk -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfSecureLastMacAddrVlanId

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.315.1.2.1.1.18.1
snmpget -v2c -c public <target> CISCO-PORT-SECURITY-MIB::cpsIfSecureLastMacAddrVlanId.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::cpsIfSecureLastMacAddrVlanId 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.18cpsIfSecureLastMacAddrVlanIdCISCO-PORT-SECURITY-MIB