dcscmdcAclPermitOrDeny
NAG-MIB ·
.1.3.6.1.4.1.57206.7.100.20.2.1.7
Object
column r/w
Enumeration
acl entry permit or deny ; 0:deny; 1:permit; 2:del this acl entry
Context
- MIB
- NAG-MIB
- OID
.1.3.6.1.4.1.57206.7.100.20.2.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- dcscmdcAclEntry
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 'NAG-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NAG-MIB::dcscmdcAclPermitOrDeny'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NAG-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NAG-MIB::dcscmdcAclPermitOrDeny.<dcscmdcAclNumber>.<dcscmdcAclSubNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NAG-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NAG-MIB::dcscmdcAclPermitOrDeny'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | deny |
1 | permit |
2 | deltheAcl |