swACLPktContRuleVID
ACLMGMT-MIB ·
.1.3.6.1.4.1.171.12.9.3.3.1.20
Object
column r/w
Integer32
Specifies this rule only applies to the specified VLAN. There are two conditions:
1.only the portlist that belongs to this VLAN will be included;
2.packets must belong to this VLAN.
This object and swACLPktContRulePort can not be set together.
When you set swACLPktContRulePort, 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.3.1.20- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swACLPktContRuleEntry
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::swACLPktContRuleVID'
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::swACLPktContRuleVID.<swACLPktContRuleProfileID>.<swACLPktContRuleAccessID>'
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::swACLPktContRuleVID'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4094