Changing a Stack Member Port
On the S6700-EI, S6720-EI, and S6720S-EI, every four of XGE interfaces from the left are added to one group. For example, XGE interfaces numbered 1 to 4 can be added to one group, but XGE interfaces numbered 2 to 5 cannot. That is, the number of the last XGE interface in each group must be the multiple of 4. If you configure any interface in each group as a stack member port, configurations on the other three interfaces in the group will be lost and the three interfaces cannot be used as service ports.
For example: if XGE0/0/2 is configured as a stack member port, the other three ports (XGE0/0/1, XGE0/0/3, and XGE0/0/4) in the same group cannot be used as common service ports and must be added to a logical stack port as stack member ports.
Procedure (Versions Later Than V200R002)
- Run the system-view command to enter the system view.
- Run the interface stack-port member-id/port-id command to enter the logical stack port view.
- Run the shutdown interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> command to set the stack member ports to Down.
- Run the undo port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command to remove the stack member ports from the logical stack port and restore them as service ports.
- Run the port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command to add new stack member ports to the logical stack port.
<HUAWEI> system-view [HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] shutdown interface xgigabitethernet0/0/1 [HUAWEI-stack-port0/1] undo port interface xgigabitethernet0/0/1 enable [HUAWEI-stack-port0/1] port interface xgigabitethernet0/0/3 enable
Procedure (V200R002 and Earlier Versions)
- Run the system-view command to enter the system view.
- Run the interface stack-port member-id/port-id command to enter the logical stack port view.
- Run the undo port member-group interface interface-type interface-number command to remove the stack member port from the logical stack port.
- Run the quit command to return to the system view.
- Run the undo stack port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command to restore the stack member ports as service ports.
- Run the stack port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command to configure new service ports as stack member ports.
- Run the interface stack-port member-id/port-id command to enter the logical stack port view.
- Run the port member-group interface interface-type interface-number command to add new service ports to the logical stack port.
<HUAWEI> system-view [HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] undo port member-group interface xgigabitethernet 0/0/1 [HUAWEI-stack-port0/1] quit [HUAWEI] undo stack port interface xgigabitethernet 0/0/1 enable [HUAWEI] stack port interface xgigabitethernet 0/0/3 enable [HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] port member-group interface xgigabitethernet 0/0/3