Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Cluster cluster of common network management technology

Shulou Source: shulou.com Published: 2022-06-01 06:15:32 10月04日 Update

Principle

Case

When several switches are clustered, other machines can be used to remote control the main switch SW1; to build a TFTP server, which can be used to back up important switch files such as the operating system.

Topology diagram and address scheme

Implementation:

SW1 (S3526E MAC:00e0-fc0e-b624) configuration

[sw1] interfaceVlan-interface 1

[sw1-Vlan-interface1] ipadd 192.168.6.4 255.255.255.0

Configure accounts for easy management

[sw1] local-useruser1

[sw1-luser-user1] passwordsimple 123

[sw1-luser-user1] service-typetelnet level 3

[sw1] user-interfacevty 0 4 / / Virtual Terminal

[sw1-ui-vty0-4] authentication-mode?

None Login without checking

Password Authentication use password of user terminal interface

Scheme Authentication use RADIUS scheme

[sw1-ui-vty0-4] authentication-modescheme

Enable NDP NTDP protocol

[sw1] ndpenable

[sw1] ntdpenable

[sw1] inte0/1

[sw1-Ethernet0/1] ndpenable

[sw1-Ethernet0/1] ntdpenable

[sw1-Ethernet0/1] inte0/2

[sw1-Ethernet0/2] ndpenable

[sw1-Ethernet0/2] ntdpenable

[sw1] clusterenable / / enable cluster (Cluster)

[sw1] cluster

[sw1-cluster] ip-pool1.1.1.1 29 / / address pool configured for member switches

Sw2 configuration

[Quidway] sysnamesw2

[sw2] ndpenable

[sw2] ntdpenable

[sw2] inte0/1

[sw2-Ethernet0/1] ndpenable

[sw2-Ethernet0/1] ntdpenable

[sw2-Ethernet0/1] q

[sw2] clusterenable

SW3 configuration

SW3 (QuidwayS2403H-HI)

[Quidway] sysnamesw3

[sw3] ndpenable

[sw3] ntdp enable

[sw3] inte1/0/2

[sw3-Ethernet1/0/2] ndp enable

[sw3-Ethernet1/0/2] ntdp enable

[sw3-Ethernet1/0/2] q

[sw3] cluster enable

Create a cluster abc on SW1:

[sw1] cluster

[sw1-cluster] buildabc

View cluster members:

[abc_0.sw1-cluster] discluster members

SN Device MACAddress Status Name

0 Quidway S3526E 00e0-fc0e-b624 Admin abc_0.sw1

1 S2403H-HI 000f-e285-2086 Up (Idle) abc_1.sw3

2 Quidway 2403H-EI 000f-e21a-d4b1 Up (Idle) abc_2.sw2

The number of switching from SW1 to SW2,SW2 is 2.

Quit// returns the primary device

Discluster members verbose / / View details

Build the TFTPserver:

On the SW1 switch:

[abc_0.sw1] enter cluster under the cluster// system view

[abc_0.sw1-cluster] tftp server and address are configured under the tftp-server192.168.6.5 / / system view

Install the following tftp server software on 192.168.6.5 (win2003 virtual machine)!

And create a directory, such as 1111111111

Click the Browse button in the figure above. Select the directory you just created, 111111111, and click OK.

Manage from 192.168.6.40TELNET to SW1.

Clusterswitch-to 1 / / switch to SW3

Dir / / View directory contents

Tftpcluster put flash:/s2000hi-vrp310-r0010.bin / / copy operating system files

The operating system files copied are as follows:

Tags: System configuration switch operating system address file directory management member copy server view switch service important picture above master device information content principle Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Linux Huawei vpn Microsoft