swL2PortSecurityTrapLogState
DES3528-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.105.1.2.7.3
Object
scalar r/w
Enumeration
When enabled(2),whenever there's a new MAC address that violates the pre-defined port security configuration, traps will be sent out and the relevant information will be logged into the system.
Context
- MIB
- DES3528-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.105.1.2.7.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swL2PortSecurityMgmt
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3528-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3528-L2MGMT-MIB::swL2PortSecurityTrapLogState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3528-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3528-L2MGMT-MIB::swL2PortSecurityTrapLogState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | enable |
3 | disable |