rulesDestinationPort
G6-ACL-MIB ·
.1.3.6.1.4.1.3181.10.6.3.51.4.1.15
Object
column r/w
Integer32
May be used to specify a specific udp/tcp port. A value of 0 ignores this field. The field is also ignored for ARP inspection rules.
Context
- MIB
- G6-ACL-MIB
- OID
.1.3.6.1.4.1.3181.10.6.3.51.4.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rulesEntry
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 'G6-ACL-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-ACL-MIB::rulesDestinationPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'G6-ACL-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-ACL-MIB::rulesDestinationPort.<rulesIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'G6-ACL-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'G6-ACL-MIB::rulesDestinationPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535