Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Access Module
Issue
1.08
Date
2014-04-30
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website:
http://www.huawei.com
Email:
support@huawei.com
Sun Ruiyan
Date
2009-12-09
Reviewed
by
Li Xinyi
Date
2010-03-16
Xu Xin
Li Honghai
Xie Xianhu
Luo Liang
Pei Daoyu
Li Ke
Approved
by
Zhen Fangmin
Date
2010-03-18
Approved
by
Zhang Zhao
Date
2010-03-19
History
Issue
Details
Date
Author
V1.00
2009-12-09
Sun Ruiyan
V1.01
2010-03-19
Sun Ruiyan
V1.02
2010-03-29
V1.03
2010-5-14
Zhou Xinru
V1.04
2010-8-20
Li Xinyi
Sun Ruiyan
ii
Issue
Details
Date
Author
V1.05
2010-09-03
Xu xin
V1.06
2013-06-14
Song Jialei
V1.07
2013-12-18
Tang Jianwen
V1.08
2014-04-21
Liu Weiwen
Keywords:
MA5600T&MA5603T, ifIndex (interface index)
Abstract:
This document describes the common ifIndex encoding rules of the MA5600T&MA5603T,
which provides the reference for deployment and routine maintenance.
iii
Contents
Contents
1 Overview of ifIndex.......................................................................1
2 ifIndex Encoding Rules..................................................................2
2.1 Encoding Element..............................................................................................................................................2
2.2 Encoding Rules..................................................................................................................................................3
2.3 Internal Interface................................................................................................................................................6
2.4 Encoding Examples...........................................................................................................................................8
iv
Overview of ifIndex
RFC2863 (RFC1213) defines ifTable MIB to manage various types of interfaces provided by
devices in the network in a unified manner. In ifTable, the ifIndex is defined as the index of
every interface. As defined in RFC2863, ifIndex ranges from 1 to ifNumber (the number of
interfaces currently provided by a device in a network). In addition, ifNumber maps an
interface uniquely in the stable period (that is, from the current system start to the next system
start).
Note that RFC does not define meanings of interfaces; therefore, the interfaces can be specific
physical interfaces or abstract network interfaces. Working as the network access product, the
MA5600T&MA5603T supports a large number of services that are configured based on
different interfaces, such as ADSL, SHDSL, and Ethernet interfaces. Therefore, generally, the
network device interfaces of the MA5600T&MA5603T that map ifTable are specific
interfaces; however, there are also abstract network interfaces. In addition, there are various
types of interfaces for service access. To facilitate unified management, the indexes of
different types of physical interfaces are encoded in a systematic manner in the
MA5600T&MA5603T. In this case, the range of ifIndex displayed on the
MA5600T&MA5603T is not subject to 1ifNumber.
This chapter describes the ifIndex encoding rules based on different interfaces.
Internal interface
Shelf ID of the interface, ranging from 0 to 1 (currently, only 0 is used and 1 is reserved
for expansion.)
Sequence number (SN) of the interface (for value range, see 2.2Encoding Rules) (Here,
the SN can be a port ID, or a VLAN ID, or IMA group ID or IMA link ID.)
Interface parameter (for parameters, see 2.2Encoding Rules) (currently, this element is
used for only xDSL channel interfaces)
The ifIndex encoding of an interface is a 32-bit digit. The sequence of the preceding five
elements in the ifIndex encoding is encoding, shelf ID, slot ID, SN, and parameter in a
descending order.
In the ifIndex encoding, the SN refers to the ID of the interface such as the ADSL interface, SHDSL
interface, and Ethernet interface. In the case of the abstract interface, the SN is the index of the system
resource because the interface does not have the mapping interface. The Ethernet VLAN interface is
such an interface.
To configure the encoding rules, the shelf and slot IDs of the Ethernet VLAN interface invariably use the
shelf ID and slot ID of the active control board, and the SN of the Ethernet VLAN interface is the index
of the VLAN.
The Ethernet VLAN interface is used for only creating the service interface and is invisible in ifTable
and ifXTable.
Encoding Rules
ML
7 bits
6 bits
6 bits
13 bits
000 000 0
000
000
000
000
Internal
Interface
Shelf
ID
Slot ID
SN
Ethernet VLAN
48
01
022
14095
GPON
125
01
022
000 00
0 000 000 0
07
Reserved
000 00
0 000 000 0
07
Reserved
000 00
0 000 000 0
015
Reserved
000 000 0
0 000 000 0
03
Reserved
000 000 0
00 000 0
063
Reserved
000 000 0
00 000 0
047
Reserved
000 000 0
00 000 0
015
Reserved
000 000 0
00 000 0
047
Reserved
000 000 0
00 000 0
1631
Reserved
000 000 0
00 000 0
015
Reserved
000 000 0
00 000 0
047
Reserved
000 000 0
00 000 0
01
Reserved
EPON
126
TDM upstream
E1
97
ATM
ADSL
VDSL2
SHDSL
6
124
44
Ethernet
interface
IMA
39
IMA link
51
Trunk
aggregation
54
BITS
96
01
01
01
01
01
01
01
01
01
01
01
022
022
022
022
022
022
022
022
022
022
022
Interface
Encoding Rules
ML
xDSL channel
7 bits
6 bits
6 bits
13 bits
000 000 0
000
000
000
000
Internal
Interface
Shelf
ID
Slot ID
SN
123
01
022
000 000 0
00 000 0
063
12
000 0
000 000
00
14
000 0
000 000
00
116
00
Reserved
DOCSIS up
channel
59
DOCSIS down
channel
60
DOCSIS port
61
031
031
031
01
01
01
If the Shelf ID is equal to or larger than 32, the rules for the following internal interface
encoding are extended. Specifically, the Shelf ID occupies 9 bits and the most significant bit
is 1. Bits occupied by Slot ID and Port ID remain the same. For details, see the following.
Interface
Encoding Rules
ML
GPON
EPON
ADSL
VDSL2
xDSL channel
7 bits
9 bits
6 bits
10 bits
000 000
0
000 000
000
000
000
Internal
Interfac
e
Shelf ID
Slot ID
SN
125
288384
022
000 00
000 00
07
Reserved
000 00
000 00
07
Reserved
000 000 0
000
063
Reserved
000 000 0
000
047
Reserved
000 000 0
000
063
12
126
6
124
123
288384
288384
288384
288384
022
022
022
022
Interface
Encoding Rules
ML
Ethernet interface
7 bits
9 bits
6 bits
10 bits
000 000
0
000 000
000
000
000
Internal
Interfac
e
Shelf ID
Slot ID
SN
288384
022
000 000 0
000
047
12
000 0
000 000
00
14
000 0
000 000
00
116
000 0
000 000
00
Reserved
DOCSIS up
channel
59
DOCSIS down
channel
60
DOCSIS port
61
288384
288384
288384
01
01
01
In the case of the abstract interface, the ifIndex is the index of the system resource allocated from
internal index pool because the interface does not provide the fixed encoding rule. The Ethernet VLAN
L3 interface & loopback interface & null interface are such interfaces, so for these abstract interfaces the
encoding rule is invisible for OSS system.
The MA5600T&MA5603T system provides a query interface (get) in MIB for VLAN L3 interface &
loopback interface & null interface so that the operator/OSS can use this query interface to get ifIndex
for specific L3 interface or loopback interface.
For details of query interface, see chapter 1.6.9 in the HUAWEI-ANSOI-INTERFACE.
Configure the MA5600T&MA5603T through the OSS system, if the ifindex recorded in the operation
log of the MA5600T&MA5603T system is a negative value, the ifindex is converted to Integer32. Then,
need to convert the value to Unsigned Integer32 to show a correct ifindex.
Enumerat
ed Values
in MIB
Remarks
ATM
ATM interface
Supported by H801AIUG.
ADSL
ADSL interface
Supported by H808ADIE, H805ADLF, H808ADIF,
H808ADLF, H802ADKM, H802ADPD, H802ADQD,
and H805ADPD.
Ethernet
IMA
39
IMA interface
Supported by H80ASHLM.
SHDSL
44
SHDSL interface
Supported by H802SHLB, H80ASHLM, and
H803SHDA.
Ethernet
VLAN
48
IMA link
51
Trunk
aggregation
54
DOCSIS up
channel
59
DOCSIS down
channel
60
Internal
Interface
Enumerat
ed Values
in MIB
Remarks
DOCSIS
PORT
61
DOCSIS port
BITS
96
Supported by MA5633
BITS interface
Supported by H801BIUA, H801BIUB, and H801CITD.
E1
97
E1 interface
Supported by H801TOPA.
VDSL2
124
VDSL2 interface
Supported by H805VDSF, H805VDSA, H805VDTF,
H805VDRD, H805VDMF, H802VDNF, H80BVDMM,
and H802VDJM.
GPON
125
GPON interface
EPON
126
EPON interface
xDSL channel
123
Example 5. To obtain the information about the ADSL interface from ifIndex, do as
follows:
Index: 201343040
Corresponding binary number (appended with 32 bits in higher bit:
00001100000000000100000001000000)
Encoding: 0000110, that is, ADSL (6), index of its mapping interface has 7 bits.
Example 6. To obtain the information about the VLAN interface from ifIndex, do as
follows:
Index: 1610694756
Corresponding binary number (appended with 32 bits in higher bit:
01100000000000010100000001100100)
Encoding: 0110000, that is, Ethernet VLAN (48), index of its mapping interface has 13
bits
Shelf ID: 000000, that is, shelf 0.
Slot ID: 001010, that is, slot 10, which is used for the active control board.
Slot index: 0000001100100, that is, VLAN 100.
Example 7. To obtain the information about the GPON interface from ifIndex, do as
follows:
Index: 4194345728
Corresponding binary number (appended with 32 bits in higher bit:
11111010000000001010001100000000)
Encoding: 1111101, that, is, GPON (125), index of its mapping interface has 7 bits.
Shelf ID: 000000, that is, shelf 0.
Slot ID: 000101, that is, slot 5.
Interface ID: 00011, that is, interface 3.
Reserved: 00000000, 8 bits
Example 8. To obtain the information about the xDSL channel interface from ifIndex, do
as follows:
Index: 4127260673
Corresponding binary number (appended with 32 bits in higher bit:
11110110000000010000000000000001)
Encoding: 1111011, that is, xDSL channel (123), index of its mapping interface has 7
bits.
Shelf ID: 000000, that is, shelf 0.
Slot ID: 001000, that is, slot 8.
Interface ID: 0000000, that is, interface 0.
Channel ID: 000001, that is, channel 1.