portSecurityViolationPolicy
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.10.1.1.10
Object
column r/w
Enumeration
If the value of this object is
restrict(1) - the port drops all packets with
insecured addresses.
shutdown(2) - the port is forced to shut down
if there is a violation of
security.
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.10.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- portSecurityEntry
- 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-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::portSecurityViolationPolicy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::portSecurityViolationPolicy.<portSecurityModuleIndex>.<portSecurityPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::portSecurityViolationPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | restrict |
2 | shutdown |
Conformance
Member of