zxAnQosAclTrafficMirrorEntry
ZTE-AN-QOSACL-MIB ·
.1.3.6.1.4.1.3902.1082.50.5.2.2.6.1
Object
row
Acl traffic-mirror entry.
The multi-variables binding rule should be complied with when a
manager creates an entry. According to this rule, all the related
mib variables must be included in one SNMP set operation.
There are two types of variables: mandatory and optional.
All of the mandatory variables must be included in one SNMP set
operation. Optional variables may be included in one SNMP set
operation with the mandatory variables, but must not be used alone.
To create an entry, there are several cases based
on the variable zxAnQosAclTrafficMirrorType. The mandatory
and optional variables are different in each case.
Case 1: to create an entry when zxAnQosAclTrafficMirrorType is
cpu(1):
mandatory: none
optional : none
Case 2: to create an entry when zxAnQosAclTrafficMirrorType is
interface(2):
mandatory: zxAnQosAclTrafficMirrorIf
optional : none
Case 3: to create an entry when zxAnQosAclTrafficMirrorType is
rspan(3):
mandatory: zxAnQosAclTrafficMirrorIf
zxAnQosAclTrafficMirrorVid,
optional : zxAnQosAclTrafficMirrorCos,
zxAnQosAclTrafficMirrorTpid,
Case 4: to create an entry when zxAnQosAclTrafficMirrorType is
erspan(4):
mandatory: zxAnQosAclTrafficMirrorDstIpType
zxAnQosAclTrafficMirrorSrcIpAddr
optional : zxAnQosAclTrafficMirrorCos
zxAnQosAclTrafficMirrorTpid
zxAnQosAclTrafficMirrorTtl
zxAnQosAclTrafficMirrorDscp
After an entry is created, no variable can be modified.
If a manager tries to modify any variables in this entry,
agent will return error with SNMP error code inconsistentValue.
Context
- MIB
- ZTE-AN-QOSACL-MIB
- OID
.1.3.6.1.4.1.3902.1082.50.5.2.2.6.1- Type
- row
- Status
- current
- Parent
- zxAnQosAclTrafficMirrorTable
- Table
- zxAnQosAclTrafficMirrorTable
- Children
- 8
Net-SNMP examples
How SNMP and these commands workUse a bulk walk to inspect objects and instances beneath this OID.
Walk the subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZTE-AN-QOSACL-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-QOSACL-MIB::zxAnQosAclTrafficMirrorEntry'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-QOSACL-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-QOSACL-MIB::zxAnQosAclTrafficMirrorEntry'
Syntax
No syntax metadata recorded.
Values & Constraints
No enumerated values or constraints recorded.