Unusable ports on stack 2xS6700

Publication Date:  2014-12-01 Views:  630 Downloads:  0
Issue Description
The customer reported that he cannot use multiple ports for different services on his stack made from 2xS6700 switches the especially the 0/0/17-0/0/20 port group
Handling Process
I asked the customer for the display stack current-configuration output (which is not included in display diagnostic-information) to see if there is wrong configuration. 

[Quidway]display stack current-configuration
---------------current-configuration on slot 0 Begin---------------
(...)

interface stack-port 0/1
port interface XGigabitEthernet0/0/21 enable
port interface XGigabitEthernet0/0/22 enable

interface stack-port 0/2
port interface XGigabitEthernet0/0/19 enable
---------------current-configuration on slot 0 End-----------------

---------------current-configuration on slot 1 Begin---------------
stack enable
stack slot 0 renumber 1
stack slot 1 priority 80
stack reserved-vlan 4093
stack timer mac-address switch-delay 10

interface stack-port 1/1

interface stack-port 1/2
port interface XGigabitEthernet1/0/21 enable
---------------current-configuration on slot 1 End-----------------

From the output I saw that XGigabitEthernet0/0/19 is included in the stack-port configuration which makes unusable the whole group which is supposed to be used in stack-configuration. 
Root Cause
If only one port is added to the stack-port configuration, the whole group ports which includes that port  will be all unavailable.
Solution
The solution is to remove the interface XGigabitEthernet 0/0/19  from stack-ports which will make the group 0/0/17-0/0/20 available once again for other services than stack-port.

[Huawei]interface stack-port 1/2 
[Huawei -stack-port1/2]port  interface XGigabitEthernet 1/0/22 enable         
[Huawei -stack-port1/2]quit
[Huawei]interface stack-port 0/2
[Huawei -stack-port0/2]shutdown interface XGigabitEthernet 0/0/19               
[Huawei -stack-port0/2] undo port interface XGigabitEthernet 0/0/19 enable 

The only physical stack connection was XGigabitEthernet0/0/21 <-> XGigabitEthernet1/0/21. Now XGigabitEthernet0/0/22 <-> XGigabitEthernet1/0/22 is added so double-protection is made and the XGigabitEthernet 0/0/19 is removed.

END