Performing Software Configurations
Context
When using service port connections to establish a stack, you need to configure logical stack ports. You are advised to configure stack IDs and stack priorities to facilitate user management.
A logical stack port takes effect only after physical member ports are added to it. Multiple physical member ports can be added to a stack port to improve stack link bandwidth and reliability.
- If you do not restart a switch after changing its stack ID, the new stack ID will not take effect. That is, the switch still uses the original stack ID, and all physical resources are identified by the original stack ID.
- If you save the current configuration and restart the switch after changing its stack ID, the new stack ID takes effect and all the physical resources are identified by the new stack ID. In the configuration file, only the global stack configuration and stack priority of the switch are still in effect. All the other configurations (such as port configuration) related to the original stack ID do not take effect and must be reconfigured.
Procedure
- Run the system-view command to enter the system view.
- Run the interface stack-port member-id/port-id command to create a logical stack port and enter the logical stack port view.
- Run the port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command to
configure a service port as a physical member port and added the service
port to a logical stack port.
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 unavailable in the interface view, and only basic configuration commands such as description (interface view) are retained.
After configuring a service port of a switch as a physical 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.
To restore a physical member port as a service port, run the shutdown interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> command in the logical stack port view to shut down the physical member port, and then run the undo port interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> enable command in this view.
On the S6720EI 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.
- Run the quit command to return to the system view.
- (Optional) Run the stack slot slot-id renumber new-slot-id command to configure a stack ID for
the switch.
By default, the stack ID of a switch is 0.
The configuration takes effect after the switch is restarted.
- (Optional) Run the stack slot slot-id priority priority command to configure a stack priority
for the switch.
By default, the stack priority of a member switch is 100.
- (Optional) Run the display stack configuration [ slot slot-id ] command to verify the stack configuration on a member switch.