Main switch configuration – H3C Technologies H3C S3100 Series Switches User Manual

Page 631

Advertising
background image

1-2

z

Connect the intended main switch and slave switches through stack modules and dedicated stack

cables. (Refer to H3C S3100 Series Ethernet Switches Installation Manual for the information

about stack modules and stack cables.)

z

Configure the IP address pool for the stack and enable the stack function. The main switch then

automatically adds the switches connected to its stack ports to the stack.

z

When adding a switch joins in a stack, the main switch automatically assigns an IP address to it.

z

The main switch automatically adds any switches that are newly connected to the stack through

their stack ports to the stack.

Main Switch Configuration

The main switch configuration includes:

z

Configuring the IP Address Pool and Creating the Stack

z

Maintaining Slave Switches

Configuring the IP Address Pool and Creating the Stack

Follow these steps to configure the IP address pool and creating the stack:

Operation

Command

Description

Enter system view

system-view

Configure an IP address pool
for a stack

stacking ip-pool
from-ip-address
ip-address-number
[ ip-mask ]

Required

from-ip-address: Start address
of the IP address pool.

ip-address-number: Number of
the IP addresses in the IP
addresses pool.

ip-mask: Mask of the IP
address pool. The default mask
is 255.255.0.0.

By default, the IP addresses
pool is not configured.

Create a stack

stacking enable

Required

Remove the IP address configured for the existing Layer 3 interface first if you want to cancel the

stack-related configuration, otherwise, IP address conflicts may occur.

As for the stack-related configurations performed on a main switch, note that:

z

After a stack is created, the main switch automatically adds the switches connected to its stack

ports to the stack.

z

If a stack port connection is disconnected, the corresponding slave switch quits the stack

automatically.

z

The IP address pool of an existing stack cannot be modified.

z

To add a switch to a stack successfully, make sure the IP address pool contains at least one

unoccupied IP address.

Advertising