The port interface enable command configures a service interface as a physical member port and adds it to a stack port.
The undo port interface enable command restores a physical member port to being a service interface.
By default, service interfaces are not used as physical member ports of a stack port.
Only the switches supporting service port stacking support this command.
port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable
undo port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable
Parameter | Description | Value |
---|---|---|
interface-type interface-number1 [ to interface-type interface-number2 ] |
Specifies the type and number of an interface:
|
The value of interface-number2 must be larger than that of interface-number1. |
Usage Scenario
In service interface connection mode, run the port interface enable command to configure a service interface as a physical member port to implement the stack function.
Configuration Impact
A stack physical member port supports only stack-related functions, and other functions cannot be configured on the interface. All the commands irrelevant to the stack function are masked in the interface view, and only basic configuration commands, such as description, are retained.
After configuring a service port of a switch as a physical stack member port, you are advised to save the configuration if this service port has been referenced by other commands. Otherwise, the commands that reference this service port may be retained after the switch restarts.
On the S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI the electrical or optical port stack configuration on the front panel is mutually exclusive with the SVF client mode configuration. If electrical or optical ports on the front panel have been configured as stack physical member ports, SVF management VLAN cannot be configured. If an SVF management VLAN has been configured, electrical or optical ports on the front panel cannot be configured as stack physical member ports.
On the 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 physical member port, configurations on the other three interfaces in the group will be lost and the three interfaces cannot be used as service ports.
Precautions
On the S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI, after a service interface is configured as a stack member port, the following priority mapping rules apply to packets on this interface:
If the switch functions as an AS in an SVF system and its downlink service ports have been configured as member ports of an uplink fabric port, all the downlink ports of the AS cannot be configured as stack member ports.
# Configure XGigabitEthernet0/0/28 as a physical member port and add it to stack port 0/1.
<HUAWEI> system-view [HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] port interface xgigabitethernet 0/0/28 enable Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y Info: This operation may take a few seconds. Please wait....
# On the S6720-EI, configure XGigabitEthernet0/0/15 as a physical member port and add it to stack port 0/1.
<HUAWEI> system-view [HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] port interface xgigabitethernet 0/0/15 enable Warning: Enabling stack function may cause configuration loss on the interface XGigabitEthernet0/0/13 to XGigabitEthernet0/0/16. Continue? [Y/N]:y Info: This operation may take a few seconds. Please wait.... Info: Ports XGigabitEthernet0/0/13 to XGigabitEthernet0/0/16 in a port group have been configured as physical stack ports.