Sei sulla pagina 1di 15

SmartAX MA5600T&MA5603T Multi-Service

Access Module

ifIndex MIB Encoding Rules

Issue

1.08

Date

2014-04-30

Copyright Huawei Technologies Co., Ltd. 2013. All rights reserved.


No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions


and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.

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.

Huawei Technologies Co., Ltd.


Address:

Huawei Industrial Base


Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website:

http://www.huawei.com

Email:

support@huawei.com

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

About This Document

About This Document


Author
Prepared by

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

First release version.

2009-12-09

Sun Ruiyan

V1.01

1. Added boards supporting types of


interfaces.
2. Added interface types, shelf IDs, slot
IDs, SNs, and ranges of parameters.
3. Added SN description.

2010-03-19

Sun Ruiyan

V1.02

1. Added value remarks for the shelf ID.


2. Added encoding rules for the xDSL
channel.

2010-03-29

V1.03

Add parenthesis for comments.

2010-5-14

Zhou Xinru

V1.04

Change xDSL channel range

2010-8-20

Li Xinyi

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

Sun Ruiyan

ii

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

About This Document

Issue

Details

Date

Author

V1.05

Added description for ifIndex of L3


interface in chapter 2.2

2010-09-03

Xu xin

V1.06

Modified the title page for general


versions.

2013-06-14

Song Jialei

V1.07

Modified the chapter 2.2Encoding Rules.

2013-12-18

Tang Jianwen

V1.08

Added description for the ifindex recorded


in the operation log in chapter 2.2 Note.

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.

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

iii

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

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

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

iv

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

2 ifIndex Encoding Rules

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.

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

2 ifIndex Encoding Rules

ifIndex Encoding Rules

This chapter describes the ifIndex encoding rules based on different interfaces.

2.1 Encoding Element


Generally, the ifIndex of an interface of the MA5600T&MA5603T depends on the following
elements:

Internal interface

Shelf ID of the interface, ranging from 0 to 1 (currently, only 0 is used and 1 is reserved
for expansion.)

Slot ID of the interface, ranging from 0 to 22

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.

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

2 ifIndex Encoding Rules

2.2 Encoding Rules


The rules for internal interface encoding are listed in the following table.
Interface

Encoding Rules
ML
7 bits

6 bits

6 bits

13 bits

000 000 0

000
000

000
000

000 000 000 000 0

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

Issue 1.08 (2014-04-30)

01
01
01
01
01
01
01
01
01
01
01

022
022
022
022
022
022
022
022
022
022
022

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

Interface

2 ifIndex Encoding Rules

Encoding Rules
ML

xDSL channel

7 bits

6 bits

6 bits

13 bits

000 000 0

000
000

000
000

000 000 000 000 0

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

000 000 000

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

Issue 1.08 (2014-04-30)

7 bits

9 bits

6 bits

10 bits

000 000
0

000 000
000

000
000

000 000 000 0

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

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

Interface

2 ifIndex Encoding Rules

Encoding Rules
ML

Ethernet interface

7 bits

9 bits

6 bits

10 bits

000 000
0

000 000
000

000
000

000 000 000 0

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.

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

2 ifIndex Encoding Rules

2.3 Internal Interface


The enumerated values of the MA5600T&MA5603T interfaces are as follows.
Internal
Interface

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

Ethernet switch interface


Supported by H801SCUN, H801SCUB, H801SCUF,
H801X1CA, H801X2CA, H801X2CS, H801GICG,
H801GICF, H801GICK, H801GICD, H801GICE,
H801GSCA, H801GICA, H801SPUA, H801ETHA,
H801ETHB, H801OPFA, and H801OPGD.

IMA

39

IMA interface
Supported by H80ASHLM.

SHDSL

44

SHDSL interface
Supported by H802SHLB, H80ASHLM, and
H803SHDA.

Ethernet
VLAN

48

Virtual Ethernet interface, only applied to service


connection management. It is invisible in ifTable and
ifXTable.

IMA link

51

IMA link interface


Supported by H80ASHLM.

Trunk
aggregation

54

DOCSIS up
channel

59

DOCSIS down
channel

60

Issue 1.08 (2014-04-30)

Trunk aggregation interface


Supported by H801SCUN, H801SCUB, H801SCUF,
H801X1CA, H801X2CA, H801X2CS, H801GICG,
H801GICF, H801GICK, H801GICD, H801GICE,
H801GSCA, H801GICA, H801SPUA, H801ETHA,
H801ETHB, H801OPFA, and H801OPGD.
DOCSIS up channel
Supported by MA5633
DOCSIS down channel
Supported by MA5633

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

Internal
Interface

Enumerat
ed Values
in MIB

Remarks

DOCSIS
PORT

61

DOCSIS port

BITS

96

2 ifIndex Encoding Rules

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

xDSL channel interface


Supported by H808ADIE, H805ADLF, H808ADIF,
H808ADLF, H802ADKM, H802ADPD, H802ADQD,
H805ADPD, H805VDSF, H805VDSA, H805VDTF,
H805VDRD, H805VDMF, H802VDNF, H80BVDMM,
and H802VDJM.

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

2 ifIndex Encoding Rules

2.4 Encoding Examples

Example 1. To encode ADSL interface 0/3/0 (shelf/slot/interface), do as follows:


Encoding: ADSL (6): 0000110, 7 bits
Shelf 0: 000000, 6 bits
Slot 3: 000011, 6 bits
SN 0: 0000000, 7 bits
Reserved: 000000, 6 bits
Binary code of the ifIndex: 00001100000000000110000000000000
Corresponding decimal number: 201351168

Example 2. To encode GPON interface 0/5/1 (shelf/slot/interface), do as follows:


Encoding: GPON (125): 1111101, 7 bits
Shelf 0: 000000, 6 bits
Slot 5: 000101, 6 bits
SN 1: 00001, 5 bits
Reserved: 00000000, 8 bits
Binary code of the ifIndex: 11111010000000001010000100000000
Corresponding decimal number: 4194345216

Example 3. To encode an xDSL channel interface of channel 1 in interface 0/11/1


(shelf/slot/interface), do as follows:
Encoding: xDSL channel (123): 1111011, 7 bits
Shelf 0: 000000, 6 bits
Slot 11: 001011, 6 bits
SN 1: 0000001, 7 bits
Channel ID1: 000001, 6 bits
Binary code of the ifIndex: 11110110000000010110000001000001
Corresponding decimal number: 4127285313

Example 4. To encode an interface of VLAN 100, do as follows:


Encoding: Ethernet VLAN (48): 0110000, 7 bits
Shelf 0: 000000, 6 bits
Slot 10: 001010, 6 bits
SN 100: 0000001100100, 13 bits
Binary code of the ifIndex: 01100000000000010100000001100100
Corresponding decimal number: 1610694756

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.

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

SmartAX MA5600T&MA5603T Multi-Service Access Module


ifIndex MIB Encoding Rules

2 ifIndex Encoding Rules

Shelf ID: 000000, that is, shelf 0.


Slot ID: 000010, that is, slot 2.
Interface ID: 0000001, that is, interface 1.
Reserved: 000000, 6 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.

Issue 1.08 (2014-04-30)

Huawei Proprietary and Confidential


Copyright Huawei Technologies Co.,
Ltd.

Potrebbero piacerti anche