ostAclCfgSrcPort
OMNITRON-ACL-MIB ·
.1.3.6.1.4.1.7342.16.2.1.8
Object
column r/w
Integer32
This object indicates the source UDP/TCP port for the ACL
instance configured for the row.
This object is only valid if ostAclCfgProtocol is 'udp' or 'tcp'. It
is ignored otherwise. A value of '-1' indicates that there is no
ACL match criteria for the source port field.
Context
- MIB
- OMNITRON-ACL-MIB
- OID
.1.3.6.1.4.1.7342.16.2.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ostAclCfgEntry
- 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 'OMNITRON-ACL-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-ACL-MIB::ostAclCfgSrcPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-ACL-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-ACL-MIB::ostAclCfgSrcPort.<ostAclCfgIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-ACL-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-ACL-MIB::ostAclCfgSrcPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-65535
Conformance
Member of