genPortSecurityPolicy
CONFIG-MIB ·
avaya variant
·
.1.3.6.1.4.1.81.9.1.1.7
Object
column mandatory
r/w
OctetString
Security policy (noPolicy or Trap Only or Trap and Close) assigned to this port. noPolicy - do not perform intrusion control security mechanism. Trap Only - perform intrusion control security mechanism and trap the console, in case of security violation. Trap and Close - perform intrusion control security mechanism, trap the console and close this port, in case of security violation. The information is coded in internal format.
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.81.9.1.1.7- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- genPortEntry
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 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::genPortSecurityPolicy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::genPortSecurityPolicy.<genPortGroupId>.<genPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::genPortSecurityPolicy'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.