NetStream not showing the right interface on S5700-28C-HI-24S, version V200R005C00SPC300, patch s5700hi-v200r005hp0001.

Publication Date:  2016-03-12 Views:  319 Downloads:  0
Issue Description

Assume that we have configured nestream under interface G0/0/18, like below.

interface GigabitEthernet0/0/18
ip netstream inbound
ip netstream sampler fix-packets 1 inbound
ipv6 netstream inbound
ipv6 netstream sampler fix-packets 1 inbound
ip netstream suppress 1 inbound
ip netstream suppress 1 outbound

The ifIndex value for this interface is 0x17, 23 decimally.

[R6_U11_S5710-diagnose]display ifnet ifnet gi0/0/18                            
Interface GigabitEthernet0/0/18, Address 0x193b279c, sizeof ifnet 848, Non-zero
value:                                                                        
Interface index:                                       0x17           

But Netstream packets contain information „input interface 24“, not 23 .       


Handling Process

Check the index-map. It seems allright.

Index           Interface Name          Address                                
1               InLoopBack0             0x1977d6bc                             
2               NULL0                   0x1977daf4                             
3               Console9/0/0            0x1977df2c                             
4               MEth0/0/1               0x1977e364                             
5               Vlanif1                 0x19780524                             
6               GigabitEthernet0/0/1    0x1943b6b8                             
7               GigabitEthernet0/0/2    0x1943baf0                             
8               GigabitEthernet0/0/3    0x1943bf28                             
9               GigabitEthernet0/0/4    0x1943c360                             
10              GigabitEthernet0/0/5    0x1943c798                             
11              GigabitEthernet0/0/6    0x1943cbd0                             
12              GigabitEthernet0/0/7    0x1943d008                             
13              GigabitEthernet0/0/8    0x1943d440                             
14              GigabitEthernet0/0/9    0x1943d878                             
15              GigabitEthernet0/0/10   0x1943dcb0                             
16              GigabitEthernet0/0/11   0x1943e0e8                             
17              GigabitEthernet0/0/12   0x1943e520                             
18              GigabitEthernet0/0/13   0x1943e958                             
19              GigabitEthernet0/0/14   0x1943ed90                             
20              GigabitEthernet0/0/15   0x1943f1c8                             
21              GigabitEthernet0/0/16   0x1943f600                             
22              GigabitEthernet0/0/17   0x1943fa38                             
23              GigabitEthernet0/0/18   0x193b279c  

 

Root Cause
Due to configuration changes on the equipment that involves an interface, the index of the interface might change. This is a bug and the following solution is a workaround.
Solution

Refresh the index map.

<R5_U24_S5700>system-view                                                      

Enter system view, return user view with Ctrl+Z.                                                                                            

[R5_U24_S5700]diagnose                                                         

Enter diagnosis view, return user view with Ctrl+Z.                            

Info: The diagnosis view is used to debug system hardware and software. Misuse o

f certain commands in this view may affect system performance. Therefore, use th

ese commands with the guidance of Huawei engineers.                            

 [R5_U24_S5700-diagnose]reset constant-ifindex  map     

 

And after reboot the device.                      

 

It seems that after refresh and reboot the index-map and NetStream are  reporting the same IfIndex value, 23 .

 



 

A new patch, V200R005SPH011,  has been release on 15.04.2016, which solves this problem.

 

1.1.1 A Switch Restarts When a Non-Physical Interface Performs the Get or GetNext Operation on the MIB Table hwXQoSIfQueueRunInfoTable

Trouble Ticket Number

DTS: DTS2015070401531

Problem Resolved in

V200R005C00SPC300

Involved Models

S5700-EI

Description

Condition:

This problem occurs when the following operations are performed on a switch:

1. The hwXQoSIfQueueIfIndex (OID: 1.3.6.1.4.1.2011.5.25.32.4.1.4.3.3.1.1) object in the hwXQoSIfQueueRunInfoTable (OID: 1.3.6.1.4.1.2011.5.25.32.4.1.4.3.3) is not a physical interface index.

2. The Get or GetNext operation is performed on hwXQoSIfQueueRunInfoTable.

Symptom: The switch restarts.

Impact: Services are interrupted.

Severity

Major

Root Cause

The hwXQoSIfQueueRunInfoTable does not verify the hwXQoSIfQueueIfIndex value. As a result, a memory error occurs when the switch accesses queue statistics on a non-physical interface.

Solution

The switch verifies the value of hwXQoSIfQueueIfIndex.

Solution Impact

None.

Precaution

None.

END