zxAnArpAntiSpoofingSubIfIndex
ZTE-AN-ARP-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.70.45.2.1.1.2
Object
scalar ZTE-AN-TC-MIBZxAnSubIfIndex
This object indicates the value of the sub-interface from which the zxAnArpSpoofingTrap occurs. The sub-interface for which this feature must be applicable is: SubIfType = ONU service port sub-interface(3).
Context
- MIB
- ZTE-AN-ARP-MIB
- OID
.1.3.6.1.4.1.3902.1082.70.45.2.1.1.2- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- zxAnArpAntiSpoofingGlobalObjects
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-ARP-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-ARP-MIB::zxAnArpAntiSpoofingSubIfIndex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-ARP-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-ARP-MIB::zxAnArpAntiSpoofingSubIfIndex'
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.
Conformance
Member of