atswitchSecurityAction
ATSWTCH2-MIB ·
.1.3.6.1.4.1.207.8.10.2.6
Object
scalar mandatory
r/w
Enumeration
Security Action to be carried when the atswitchSecurityConfig is enabled-with-learning-locked or limted-enabled.
Context
- MIB
- ATSWTCH2-MIB
- OID
.1.3.6.1.4.1.207.8.10.2.6- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- atswitchConfigGroup
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 'ATSWTCH2-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ATSWTCH2-MIB::atswitchSecurityAction.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ATSWTCH2-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ATSWTCH2-MIB::atswitchSecurityAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | send-trap-only |
2 | disable-port-only |
3 | disable-port-and-send-trap |
4 | do-nothing |