h3cSecureIntrusionAction
H3C-PORT-SECURITY-MIB ·
.1.3.6.1.4.1.2011.10.2.26.1.2.1.1.3
Object
column r/w
Enumeration
Attribute to determine the action if an unauthorised device transmits on this port.
Context
- MIB
- H3C-PORT-SECURITY-MIB
- OID
.1.3.6.1.4.1.2011.10.2.26.1.2.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cSecurePortEntry
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 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PORT-SECURITY-MIB::h3cSecureIntrusionAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PORT-SECURITY-MIB::h3cSecureIntrusionAction.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-PORT-SECURITY-MIB::h3cSecureIntrusionAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | notAvailable |
2 | noAction |
3 | disablePort |
4 | disablePortTemporarily |
5 | allowDefaultAccess |
6 | blockMacAddress |