H3C S3100-52P Operation Manual

H3C S3100-52P Operation Manual

Stack-cluster
Hide thumbs Also See for S3100-52P:

Advertisement

Operation Manual - Stack-Cluster
H3C S3100-52P Ethernet Switch
Chapter 1 Stack ............................................................................................................................. 1-1
1.1 Stack Function Overview ................................................................................................... 1-1
1.1.1 The Main Switch of a Stack..................................................................................... 1-1
1.1.2 The Slave Switches of a Stack................................................................................ 1-1
1.1.3 Creating a Stack...................................................................................................... 1-1
1.2 Main Switch Configuration ................................................................................................. 1-2
1.2.1 Configuring the IP Address Pool and Creating the Stack ....................................... 1-2
1.2.2 Switching to Slave Switch View .............................................................................. 1-3
1.2.3 Stack-Port Function Configuration .......................................................................... 1-3
1.3 Slave Switch Configuration................................................................................................ 1-4
1.4 Displaying and Debugging a Stack.................................................................................... 1-4
1.5 Stack Configuration Example ............................................................................................ 1-5
Chapter 2 Cluster........................................................................................................................... 2-1
2.1 Cluster Overview................................................................................................................ 2-1
2.1.1 Introduction to HGMP.............................................................................................. 2-1
2.1.2 Roles in a Cluster .................................................................................................... 2-2
2.1.3 How a Cluster Works .............................................................................................. 2-4
2.2 Cluster Configuration Task List........................................................................................ 2-10
2.2.1 Configuring the Management Device.................................................................... 2-11
2.2.2 Configuring Member Devices................................................................................ 2-16
2.2.3 Managing a Cluster through the Management Device.......................................... 2-18
2.2.4 Configuring the Enhanced Cluster Features......................................................... 2-19
2.3 Displaying and Maintaining Cluster Configuration........................................................... 2-22
2.4 Cluster Configuration Examples ...................................................................................... 2-22
2.4.1 Basic Cluster Configuration Example.................................................................... 2-22
2.4.2 Enhanced Cluster Feature Configuration Example............................................... 2-26

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S3100-52P and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S3100-52P

  • Page 1: Table Of Contents

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Table of Contents Table of Contents Chapter 1 Stack ..........................1-1 1.1 Stack Function Overview ....................1-1 1.1.1 The Main Switch of a Stack..................1-1 1.1.2 The Slave Switches of a Stack................1-1 1.1.3 Creating a Stack......................
  • Page 2: Chapter 1 Stack

    The following are the phases undergone when a stack is created. Connect the intended main switch and slave switches through stack modules and dedicated stack cables. (Refer to H3C S3100-52P Ethernet Switch Installation Manual for the information about stack modules and stack cables.) Configure the IP address pool for the stack and enable the stack function.
  • Page 3: Main Switch Configuration

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 1 Stack When adding a switch joins in a stack, the main switch automatically assigns an IP address to it. The main switch automatically adds any switches that are newly connected to the stack through their stack ports to the stack.
  • Page 4: Switching To Slave Switch View

    IP address. Since both stack and cluster use the management VLAN and only one VLAN interface is available on the S3100-52P switch, stack and cluster must share the same management VLAN if you want to configure stack within a cluster.
  • Page 5: Slave Switch Configuration

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 1 Stack join-in requests to the connected stack ports of all the switches connected with the device. This may cause switches not expecting to join in the stack to join in the stack automatically, affecting network stability.
  • Page 6: Stack Configuration Example

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 1 Stack Table 1-4 Display and maintain stack configurations Operation Command Description Optional The display command can be executed in any view. When being executed with the members keyword not specified, this command...
  • Page 7 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 1 Stack II. Network diagram Figure 1-1 Network diagram for stack configuration III. Configuration procedure # Configure the IP address pool for the stack on Switch A. <Sysname> system-view [Sysname] stacking ip-pool 129.10.1.15 3 # Create the stack on switch A.
  • Page 8 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 1 Stack Member number: 1 Name:stack_1.Sysname Device: S3100-52P MAC Address: 000f-e200-3130 Member status:Up IP: 129.10.1.16/16 Member number: 2 Name:stack_2.Sysname Device: S3100-52P MAC Address: 000f-e200-3135 Member status:Up IP: 129.10.1.17/16 # Switch to Switch B (a slave switch).
  • Page 9: Chapter 2 Cluster

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster Chapter 2 Cluster When configuring cluster, go to these sections for information you are interested in: Cluster Overview Cluster Configuration Task List Displaying and Maintaining Cluster Configuration Cluster Configuration Examples 2.1 Cluster Overview...
  • Page 10: Roles In A Cluster

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster Figure 2-1 A cluster implementation HGMP V2 has the following advantages: It eases the configuration and management of multiple switches: You just need to configure a public IP address for the management device instead of for all the devices in the cluster;...
  • Page 11 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster Table 2-1 Description on cluster roles Role Configuration Function Provides an interface for managing all the switches in a cluster Manages member devices through command redirection, that is, it forwards the commands intended for specific member devices.
  • Page 12: How A Cluster Works

    Note: After you create a cluster on an S3100-52P switch, the switch collects the network topology information periodically and adds the candidate switches it finds to the cluster. The interval for a management device to collect network topology information is determined by the NTDP timer.
  • Page 13 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster neighbor information: device type, software/hardware version, and connecting port. In addition, it may provide the following neighbor information: device ID, port full/half duplex mode, product version, the Boot ROM version and so on.
  • Page 14 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster When an NTDP topology collection request is propagated in the network, it is received and forwarded by large numbers of network devices, which may cause network congestion and the management device busy processing of the NTDP topology collection responses.
  • Page 15 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster Before performing any cluster-related configuration task, you need to enable the cluster function first. Note: On the management device, you need to enable the cluster function and configure cluster parameters. On the member/candidate devices, however, you only need to enable the cluster function so that they can be managed by the management device.
  • Page 16 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster The management device and the member devices exchange handshake packets periodically. Note that the handshake packets exchanged keep the states of the member devices to be Active and are not responded.
  • Page 17 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster Cluster management requires the packets of the management VLAN be permitted on ports connecting the management device and the member/candidate devices. Therefore: If the packets of management VLAN are not permitted on a candidate device port connecting to the management device, the candidate device cannot be added to the cluster.
  • Page 18: Cluster Configuration Task List

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster If you specify a destination IP address in the tracemac command, the switch will query its local ARP address table according to the IP address to find out the corresponding MAC address and VLAN ID.
  • Page 19: Configuring The Management Device

    Note: To reduce the risk of being attacked by malicious users against opened socket and enhance switch security, the S3100-52P Ethernet switch provide the following functions, so that a cluster socket is opened only when it is needed: Opening UDP port 40000 (used for cluster) only when the cluster function is implemented, Closing UDP port 40000 at the same time when the cluster function is closed.
  • Page 20 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster II. Enabling NDP globally and on specific ports Follow these steps to enable NDP globally and on specific ports: To do… Use the command… Remarks Enter system view system-view —...
  • Page 21 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster To do… Use the command… Remarks Required Enable NTDP on the ntdp enable Ethernet port Enabled by default V. Configuring NTDP-related parameters Follow these steps to configure NTDP-related parameters: To do…...
  • Page 22 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster VII. Configuring cluster parameters The establishment of a cluster and the related configuration can be accomplished in manual mode or automatic mode, as described below. Establishing a cluster and configuring cluster parameters in manual mode...
  • Page 23 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster To do… Use the command… Remarks ip-pool Configure the IP address administrator-ip-address Required range for the cluster { ip-mask | ip-mask-length } Required Start automatic cluster auto-build [ recover ]...
  • Page 24: Configuring Member Devices

    Note: To reduce the risk of being attacked by malicious users against opened socket and enhance switch security, the S3100-52P Ethernet switch provides the following functions, so that a cluster socket is opened only when it is needed: Opening UDP port 40000 (used for cluster) only when the cluster function is implemented, Closing UDP port 40000 at the same time when the cluster function is closed.
  • Page 25 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster To do… Use the command… Remarks Enter system view system-view — Enable NDP globally ndp enable Required In system view ndp enable interface port-list Enter Enable interface interface-type Required...
  • Page 26: Managing A Cluster Through The Management Device

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster V. Accessing the shared FTP/TFTP server from a member device Follow these steps to access the shared FTP/TFTP server from a member device: To do… Use the command… Remarks...
  • Page 27: Configuring The Enhanced Cluster Features

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster To do… Use the command… Remarks Optional Configure the MAC administrator-address address of the By default, a switch does mac-address name name management device not belong to any cluster.
  • Page 28 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster II. Configuring the enhanced cluster features Complete the following tasks to configure the enhanced cluster feature: Task Remarks Configuring cluster topology management function Required Configuring cluster device blacklist Required III.
  • Page 29 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster To do… Use the command… Remarks Display the detailed display ntdp single-device information about a single mac-address mac-address device display cluster current-topology [ mac-address mac-address1 Display the topology of...
  • Page 30: Displaying And Maintaining Cluster Configuration

    2.4 Cluster Configuration Examples 2.4.1 Basic Cluster Configuration Example I. Network requirements Three switches compose a cluster, where: An S3100-52P switch serves as the management device. The rest are member devices. 2-22...
  • Page 31 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster Serving as the management device, the S3100-52P switch manages the two member devices. The configuration for the cluster is as follows: The two member devices connect to the management device through Ethernet 1/0/2 and Ethernet 1/0/3.
  • Page 32 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster [Sysname-Ethernet1/0/1] quit # Enable the cluster function. [Sysname] cluster enable Configure the management device # Add port Ethernet 1/0/1 to VLAN 2. <Sysname> system-view [Sysname] vlan 2 [Sysname-vlan2] port Ethernet 1/0/1 [Sysname-vlan2] quit # Disable NDP and NTDP on the uplink port Ethernet 1/0/1.
  • Page 33 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster [Sysname-Ethernet1/0/3] ntdp enable [Sysname-Ethernet1/0/3] quit # Set the topology collection range to 2 hops. [Sysname] ntdp hop 2 # Set the delay for a member device to forward topology collection requests to 150 ms.
  • Page 34: Enhanced Cluster Feature Configuration Example

    Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster Perform the following operations on the member devices (taking one member as an example) After adding the devices under the management device to the cluster, perform the following operations on a member device.
  • Page 35 Operation Manual – Stack-Cluster H3C S3100-52P Ethernet Switch Chapter 2 Cluster II. Network diagram Figure 2-5 Network diagram for the enhanced cluster feature configuration III. Configuration procedure # Enter cluster view. <aaa_0.Sysname> system-view [aaa_0.Sysname] cluster # Add the MAC address 0001-2034-a0e5 to the cluster blacklist.

Table of Contents