swACLIpTCPFlagBitMask
SW-ACLMGMT-MIB ·
.1.3.6.1.4.1.171.11.5.1.2.1.115
Object
column r/w
Integer32
A value which indicates the set of TCP flags that this
entity may potentially offers. The value is a sum. This
sum initially takes the value zero, Then, for each flag, L,
in the range 1 through 6, that this node performs
transactions for, 2 raised to (L - 1) is added to the sum.
Note that values should be calculated accordingly:
Flag functionality
6 urg bit
5 ack bit
4 psh bit
3 rst bit
2 syn bit
1 fin bit
For example,it you want to enable urg bit and ack bit,you
should set vlaue 48(2^(5-1) + 2^(6-1)).
Context
- MIB
- SW-ACLMGMT-MIB
- OID
.1.3.6.1.4.1.171.11.5.1.2.1.115- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLIpEntry
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 'SW-ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SW-ACLMGMT-MIB::swACLIpTCPFlagBitMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SW-ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SW-ACLMGMT-MIB::swACLIpTCPFlagBitMask.<swACLIpProfileID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SW-ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SW-ACLMGMT-MIB::swACLIpTCPFlagBitMask'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-63