rcPortSecTrapEnable
SWITCH-PORTSECURITY-MIB ·
.1.3.6.1.4.1.8886.6.1.49.2.1.7
Object
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
- SWITCH-PORTSECURITY-MIB
- OID
.1.3.6.1.4.1.8886.6.1.49.2.1.7- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- rcPortSecEntry
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 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSECURITY-MIB::rcPortSecTrapEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSECURITY-MIB::rcPortSecTrapEnable.<rcPortSecIndx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-PORTSECURITY-MIB::rcPortSecTrapEnable'