No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Troubleshooting Guide

CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
What Can I Do If the Length of Interface Index Obtained Through SNMP Is Different from the Length of Interface Index Carried in NetStream Packet?

What Can I Do If the Length of Interface Index Obtained Through SNMP Is Different from the Length of Interface Index Carried in NetStream Packet?

By default, the interface index in a NetStream packet contains 16 bits, while the interface index obtained by the NMS through SNMP contains 32 bits. Therefore, the interface index lengths are different in the default situation.

Run the netstream export ip index-switch 32 command in the system view to set the length of interface index carried in a NetStream packet to 32 bits. Then the length of interface index obtained through SNMP is the same as the length of the interface index carried in a NetStream packet.

To view the mapping between 32-bit and 16-bit interface indexes, run the display netstream map command in the diagnostic view. InterfaceName indicates the interface name, IfnetIndex indicates the 32-bit interface index, and NSIndex indicates the 16-bit interface index.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display netstream map
Netstream index information in map:
----------------------------------------------------------------------
InterfaceName                                    IfnetIndex NSIndex
----------------------------------------------------------------------
MEth6/0/0                                        1494       1
Sip6/0/0                                         1331       2
Sip6/0/1                                         1332       3
NULL0                                            4          4
InLoopBack0                                      5          5
MEth0/0/0                                        1333       6
40GE2/0/0                                        1334       7
40GE2/0/1                                        1335       8
40GE2/0/2                                        1336       9
40GE2/0/3                                        1337       10
40GE2/0/4                                        1338       11
40GE2/0/5                                        1339       12
40GE2/0/6                                        1340       13
40GE2/0/7                                        1341       14
40GE2/0/8                                        1342       15
40GE2/0/9                                        1343       16
40GE2/0/10                                       1344       17
40GE2/0/11                                       1345       18
Translation
Download
Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 608198

Downloads: 2951

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next