ruleLinkProtocol
Es2952-MIB ·
.1.3.6.1.4.1.3902.15.2.11.17.4.1.4
Object
column r/w
OctetString
Link acl config for protocol. The format is P:RULE. P means protocol value, P is I,known as ip protocol, the format of RULE is X-C-V-M-SM-DM; P is A,known as arp protocol, the format of RULE is X-C-V-M-SM-DM; P is O,known as other,except ip and arp, the format of RULE is X-D-E-C-V-M-SM-DM; P is X, known as any, the format of RULE is X-C-V-M; Here X is 1:deny;2:permit; D:0 means no select dsap-ssap and ether-type; 1 means select dsap-ssap(0);2 means select ether-type(1); E takes the dsap-ssap(0-65535) or ether-type(1501-65535) value; 0 means no dsap-ssap or ether-type set; if D is 1,1-65536 means dsap-ssap value(0-65535)set; if D is 2,1501-65535 means ether-type value set; C:0 means no cos set;1-8 means cos value 0-7; V:0 means no vlanID set;1-4094,vlanID; M: 0 means no vlan mask set;1-65536 means vlan mask value(0x0000-0xffff)set; SM: x means any; y(HH.HH.HH.HH.HH.HH*HH.HH.HH.HH.HH.HH) means source mac and mask; DM: x means any; y(HH.HH.HH.HH.HH.HH*HH.HH.HH.HH.HH.HH) means destinatinon mac and mask.
Context
- MIB
- Es2952-MIB
- OID
.1.3.6.1.4.1.3902.15.2.11.17.4.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- linkAclEntry
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 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::ruleLinkProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::ruleLinkProtocol.<linkACLNo>.<linkRuleID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Es2952-MIB::ruleLinkProtocol'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.