cpsIfSecureLastMacAddrVlanId
CISCO-PORT-SECURITY-MIB ·
.1.3.6.1.4.1.9.9.315.1.2.1.1.18
Object
column Q-BRIDGE-MIBVlanIndex
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.
Context
- MIB
- CISCO-PORT-SECURITY-MIB
- OID
.1.3.6.1.4.1.9.9.315.1.2.1.1.18- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cpsIfConfigEntry
- Groups
- 1
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::cpsIfSecureLastMacAddrVlanId'
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::cpsIfSecureLastMacAddrVlanId.<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::cpsIfSecureLastMacAddrVlanId'
Syntax
- Source
- Q-BRIDGE-MIBVlanIndex
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of