swACLIpRuleVID
ACLMGMT-MIB ·
.1.3.6.1.4.1.171.12.9.3.2.1.28
Object
column r/w
Integer32
Specifies the VLAN-based rule. There are two conditions:
1. this rule will apply to all the ports;
2. packets must belong to this VLAN.
This object and swACLIpRulePort can not be set together.
When you set swACLIpRulePort, the value of this object will automatically change to 0.
And this object can not be set 0.
Context
- MIB
- ACLMGMT-MIB
- OID
.1.3.6.1.4.1.171.12.9.3.2.1.28- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLIpRuleEntry
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 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACLMGMT-MIB::swACLIpRuleVID'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ACLMGMT-MIB::swACLIpRuleVID.<swACLIpRuleProfileID>.<swACLIpRuleAccessID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ACLMGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ACLMGMT-MIB::swACLIpRuleVID'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4094