zxAnQosAclTrafficMirrorSubIf

ZTE-AN-QOSACL-MIB · .1.3.6.1.4.1.3902.1082.50.5.2.2.6.1.15

Object

The sub-interface index of the interface which the traffic is 
mirrored to.

Context

MIB
ZTE-AN-QOSACL-MIB
OID
.1.3.6.1.4.1.3902.1082.50.5.2.2.6.1.15
Type
column
Access
readwrite
Status
current
Default
0
Parent
zxAnQosAclTrafficMirrorEntry

Walk 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 '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::zxAnQosAclTrafficMirrorSubIf'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -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::zxAnQosAclTrafficMirrorSubIf.<zxAnAclNumber>.<zxAnQosAclTrafficMirrorRuleId>'
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::zxAnQosAclTrafficMirrorSubIf'

Syntax

Source
ZTE-AN-TC-MIBZxAnSubIfIndex
Base type
Integer32
Type Description
ZxAnSubIfIndex represents a sub-interface of a physical port.
It must be used with ifIndex. ZxAnSubIfIndex uses a complex coding
to construct the subIfIndex. Each bit field of ZxAnSubIfIndex has
its definitions such as follows.
          
MSB -- Most Significant Byte
LSB -- Least Significant Byte
          
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+----------------------------------------------|
| SubIfType |                 SubIf No.                    |
|  (5bits)  |                 (27bits)                     |
+-----------+----------------------------------------------+
          
SubIfType : 
   The values definition is,
   0 - Invalid sub-interface
   1 - ONU sub-interface
   2 - ONU vport sub-interface
   3 - ONU service port sub-interface
   4 - ONU gemport sub-interface
   5 - ONU UNI sub-interface
   6 - DSL PVC sub-interface
   7 - ATM/IMA PVC sub-interface
   8 - VLAN sub-interface        
   9 - Ethernet service port sub-interface        
          
0 - Invalid sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+----------------------------------------------|
|     0     |                    0                         |
|  (5bits)  |                 (27bits)                     |
+-----------+----------------------------------------------+
          
1 - ONU sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+------------------+---------------------------|
|     1     |       ONU No.    |            0              |
|  (5bits)  |      (11bits)    |         (16bits)          |
+-----------+------------------+---------------------------+
          
2 - ONU vport sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+------------------+--------------+------------|
|     2     |       ONU No.    |   VPort No.  |     0      |
|  (5bits)  |      (11bits)    |   (8bits)    |  (8bits)   |
+-----------+------------------+--------------+------------+ 
          
3 - ONU service port sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+------------------+---------------------------|
|     3     |       ONU No.    | Service Port |     0      |
|           |                  |     No.      |            |
|  (5bits)  |      (11bits)    |   (8bits)    |  (8bits)   |
+-----------+------------------+--------------+------------+ 
          
4 - ONU gemport sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+------------------+--------------+------------|
|     4     |       ONU No.    | Gemport No.  |     0      |
|  (5bits)  |      (11bits)    |   (8bits)    |  (8bits)   |
+-----------+------------------+--------------+------------+ 
          
5 - ONU UNI sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+------------------+--------------+------------|
|     5     |       ONU No.    | ONU Slot No. |ONU UNI No. |
|  (5bits)  |      (11bits)    |   (8bits)    |  (8bits)   |
+-----------+------------------+--------------+------------+                 
          
6 - DSL PVC sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+---------------------------------+------------|
|     6     |               0                 |  PVC No.   |
|  (5bits)  |           (19bits)              |  (8bits)   |
+-----------+---------------------------------+------------+  
          
7 - ATM/IMA PVC sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+------------------+---------------------------|
|     7     |        0         |          PVC No.          |
|  (5bits)  |    (11bits)      |         (16bits)          |
+-----------+------------------+---------------------------+
          
8 - VLAN sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+---+----------------------+-------------------|
|     8     | 0 |       SVLAN ID       |      CVLAN ID     |
|  (5bits)  |(3)|       (12bits)       |      (12bits)     |
+-----------+---+----------------------+-------------------+   
          
9 - Ethernet service port sub-interface
|      MSB      |    Byte 2    |    Byte 1    |    LSB     |
|-----------+---------------------------------+------------|
|     9     |               0                 |Service Port|
|           |                                 |   No.      |
|  (5bits)  |           (19bits)              |  (8bits)   |
+-----------+---------------------------------+------------+

Values & Constraints

No enumerated values or constraints recorded.