187Establishing a stackAn administrator can establish a stack as follows:• Configure a private IP address pool for a stack and create the stack on the network device which isdesired to be the master device.• Configure ports between the stack devices as stack ports.• The master device automatically adds the slave devices into the stack, and assigns a number foreach stack member.• The administrator can log in to any slave device from the master device of the stack, and performconfigurations for the slave device.Stack configuration task listComplete the following tasks to configure stack:Task RemarksConfiguring a private IP address pool for astack RequiredConfiguring stack ports RequiredConfiguring the master device of astackCreating a stack RequiredConfiguring stack ports of a slave device RequiredLogging in to the CLI of a slave from the master OptionalConfiguring the master device of a stackConfiguring a private IP address pool for a stackTo do… Use the command… RemarksEnter system view system-view —Configure a private IP addresspool for the stackstack ip-pool ip-address { mask |mask-length }RequiredBy default, no IP address pool isconfigured for a stack.NOTE:• If a device is already configured as the master device of a stack or is already a slave device ofa stack, you cannot configure a private IP address pool on the device.• When you configure a private IP address pool for a stack, the number of IP addresses in theaddress pool needs to be equal to or greater than the number of devices to be added to thestack. Otherwise, some devices may not be able to join the stack automatically for lack of privateIP addresses.