H3C S5120-SI Series Configuration Manual page 693

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

[SwitchB] interface gigabitethernet 1/0/3
[SwitchB-GigabitEthernet1/0/3] port link-type trunk
[SwitchB-GigabitEthernet1/0/3] quit
# Enable the cluster function.
[SwitchB] cluster enable
# Configure a private IP address range for the member devices, which is from 172.16.0.1 to 172.16.0.7.
[SwitchB] cluster
[SwitchB-cluster] ip-pool 172.16.0.1 255.255.255.248
# Configure the current device as the management device, and establish a cluster named abc.
[SwitchB-cluster] build abc
Restore topology from local flash file,for there is no base topology.
(Please confirm in 30 seconds, default No). (Y/N)
N
# Configure the holdtime of the member device information as 100 seconds.
[abc_0.SwitchB-cluster] holdtime 100
# Configure the interval to send handshake packets as 10 seconds.
[abc_0.SwitchB-cluster] timer 10
# Configure the FTP Server, TFTP Server, Log host and SNMP host for the cluster.
[abc_0.SwitchB-cluster] ftp-server 63.172.55.1
[abc_0.SwitchB-cluster] tftp-server 63.172.55.1
[abc_0.SwitchB-cluster] logging-host 69.172.55.4
[abc_0.SwitchB-cluster] snmp-host 69.172.55.4
# Add the device whose MAC address is 000f-e201-0013 to the blacklist.
[abc_0.SwitchB-cluster] black-list add-mac 000f-e201-0013
[abc_0.SwitchB-cluster] quit
# Add port GigabitEthernet 1/0/1 to VLAN 1 (by default, all ports belong to VLAN 1), and configure the IP
address of VLAN-interface 1.
[abc_0.SwitchB] quit
[abc_0.SwitchB] interface vlan-interface 1
[abc_0.SwitchB-Vlan-interface1] ip address 163.172.55.1 24
[abc_0.SwitchB-Vlan-interface1] quit
# Configure VLAN-interface 1 as the network management interface.
[abc_0.SwitchB] cluster
[abc_0.SwitchB-cluster] nm-interface vlan-interface 1
1-21

Advertisement

Chapters

Table of Contents
loading

Table of Contents