agentGlobalPortSecurityViolationTrapMode
LANCOM-PORTSECURITY-PRIVATE-MIB ·
.1.3.6.1.4.1.2356.16.1.20.1.5
Object
scalar r/w
Enumeration
This variable is used to enable or disable the sending of new violation traps designating when a packet with a disallowed MAC address is received on a locked port. The configuration will be done on all ports. This is write-only value. It always returns 'disable' on request
Context
- MIB
- LANCOM-PORTSECURITY-PRIVATE-MIB
- OID
.1.3.6.1.4.1.2356.16.1.20.1.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentPortSecurityGroup
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 'LANCOM-PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityViolationTrapMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityViolationTrapMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |