hwAclLinkFormatType
HUAWEI-DSLAM-ACL-MIB ·
.1.3.6.1.4.1.2011.5.1.1.7.1.5
Object
column Enumeration
Describes the types of packets that the L2 ACL rules need to match.
Options:
1. invalid(0) -in the query operation, invalid(0) is always returned.
2. ethernetII(1) -indicates the type of packets that the L2 ACL rules need to match is ethernetII
3. snap(2) -indicates the type of packets that the L2 ACL rules need to match is snap
4. ieee802Dot3And2(3) -indicates the type of packets that the L2 ACL rules need to match is ieee802Dot3And2
5. ieee802Dot4(4) -indicates the type of packets that the L2 ACL rules need to match is ieee802Dot4
Currently, only ethernetII(1) is supported. Therefore, this leaf cannot be modified.
In the query operation, invalid(0) is always returned.
Context
- MIB
- HUAWEI-DSLAM-ACL-MIB
- OID
.1.3.6.1.4.1.2011.5.1.1.7.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwAclLinkEntry
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 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclLinkFormatType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-ACL-MIB::hwAclLinkFormatType.<hwAclLinkAclNum>.<hwAclLinkSubitem>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-ACL-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-ACL-MIB::hwAclLinkFormatType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | invalid |
1 | ethernetII |
2 | snap |
3 | ieee802Dot3And2 |
4 | ieee802Dot4 |