- Table of Contents
-
- H3C S5500-SI Series Ethernet Switches Command Manual-Release 1205-(V1.03)
- 00-1Cover
- 01-Login Command
- 02-Basic System Configuration and Maintenance Command
- 03-File System Management Command
- 04-VLAN Command
- 05-QinQ-BPDU TUNNEL Command
- 06-Port Correlation Configuration Command
- 07-MAC Address Table Management Command
- 08-MSTP Commands
- 09-IP Address and Performance Command
- 10-IPv6 Configuration Command
- 11-Routing Overview Command
- 12-IPv4 Routing Command
- 13-IPv6 Routing Command
- 14-802.1x-HABP-MAC Authentication Command
- 15-AAA-RADIUS-HWTACACS Command
- 16-Multicast Protocol Command
- 17-ARP Command
- 18-DHCP Command
- 19-ACL Command
- 20-QoS Command
- 21-Port Mirroring Command
- 22-Cluster Command
- 23-SNMP-RMON Command
- 24-NTP Command
- 25-DNS Command
- 26-Information Center Command
- 27-NQA Command
- 28-SSH Terminal Service Command
- 29-UDP Helper Command
- 30-SSL-HTTPS Command
- 31-PKI Command
- 32-PoE-PoE Profile Command
- 33-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
22-Cluster Command | 297 KB |
Table of Contents
Chapter 1 HGMPv2 Configuration Commands
1.1 NDP Configuration Commands
1.2 NTDP Configuration Commands
1.2.2 display ntdp device-list
1.3 Cluster Configuration Commands
1.3.12 display cluster base-topology
1.3.13 display cluster black-list
1.3.14 display cluster candidates
1.3.15 display cluster current-topology
1.3.16 display cluster members
1.3.22 nm-interface Vlan-interface
Chapter 1 HGMPv2 Configuration Commands
1.1 NDP Configuration Commands
1.1.1 display ndp
Syntax
display ndp [ interface interface-list ]
View
Any view
Parameter
interface interface-list: Specifies a list of ports. The list can contain consecutive or separated ports, or the combination of the both. You need to provide the interface-list argument in the form of interface-type interface-number [ to interface-type interface-number ] &<1-10>, where interface-type specifies the port type, and interface-number specifies the port number (in the form of slot number/port number).to: Specifies a port range. &<1-10> means that you can provide up to ten port indexes/port index ranges for this argument.
Description
Use the display ndp command to display the global NDP configuration information, including the interval to send NDP packets, the holdtime of NDP information, and the information about the neighbors of all the ports.
Example
# Display NDP configuration information.
Neighbor Discovery Protocol is enabled.
Neighbor Discovery Protocol Ver: 1, Hello Timer: 60(s), Aging Timer: 180(s)
Interface: GigabitEthernet 1/0/1
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/2
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/3
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/4
Status: Enabled, Pkts Snd: 28440, Pkts Rvd: 27347, Pkts Err: 0
Neighbor 1: Aging Time: 122(s)
MAC Address : 00e0-fc00-2579
Port Name : GigabitEthernet 1/0/4
Software Ver: V100R002B01D002
Device Name : H3C S5500-28C-SI
Port Duplex : AUTO
Product Ver : ESS 1204SP01
BootROM Ver : 114
Interface: GigabitEthernet 1/0/5
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/6
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/7
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/8
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/9
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/10
Status: Enabled, Pkts Snd: 28450, Pkts Rvd: 26520, Pkts Err: 0
Neighbor 1: Aging Time: 134(s)
MAC Address : 00e0-fc00-3133
Port Name : GigabitEthernet 1/0/11
Software Ver: V100R002B01D002
Device Name : H3C S5500-28C-SI
Port Duplex : AUTO
Product Ver : ESS 1204SP01
BootROM Ver : 114
Interface: GigabitEthernet 1/0/11
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/12
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/13
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/14
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/15
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/16
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/17
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/18
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/19
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/20
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/21
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/22
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/23
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet 1/0/24
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet1/0/25
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet1/0/26
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet1/0/27
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: GigabitEthernet1/0/28
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Table 1-1 Description on the fields of the display ndp command
Field |
Description |
Neighbor Discovery Protocol is enabled |
NDP is enabled globally on the switch |
Neighbor Discovery Protocol Ver |
NDP version |
Hello Timer |
The interval to send NDP packets |
Aging Timer |
The holdtime of the NDP information sent by the local switch |
Interface |
Port index to specify a specific port |
Status |
NDP is enabled on the port |
Pkts Snd |
Number of the NDP packets transmitted through the port |
Pkts Rvd |
Number of the NDP packets received through the port |
Pkts Err |
Number of the error NDP packets received through the port |
Neighbor 1: Aging Time |
The holdtime of the NDP information received from the neighbors connected to the port |
MAC Address |
MAC address of a neighbor device |
Host Name |
Host Name of a neighbor device |
Port Name |
Port name of a neighbor device |
Software Ver |
Neighbor device software version |
Device Name |
Device name of a neighbor device |
Port Duplex |
Port duplex mode of a neighbor device |
Product Ver |
Product version of a neighbor device |
BootROM Ver |
BootROM version of a neighbor device |
1.1.2 ndp enable
Syntax
ndp enable [ interface interface-list ]
undo ndp enable [ interface interface-list ]
View
System view, Ethernet interface view
Parameter
interface interface-list: Specifies a list of ports. The list can contain consecutive or separated ports, or the combination of the both. You need to provide the interface-list argument in the form of interface-type interface-number [ to interface-type interface-number ] &<1-10>, where interface-type specifies the port type, and interface-number specifies the port number (in the form of slot number/port number).to: Specifies a port range. &<1-10> means that you can provide up to ten port indexes/port index ranges for this argument.
Description
Use the ndp enable command to enable NDP globally or on a port.
Use the undo ndp enable command to disable NDP globally or on a port.
By default, NDP is enabled both globally and on an Ethernet port.
Note that:
l The NDP cannot operate if it is enabled on a port where NDP is disabled.
l When being executed in system view, the ndp enable command enables NDP globally if you do not provide the interface interface-list argument. And if you specify the interface interface-list argument, the command enables NDP for the specified Ethernet port(s).
l When being executed in Ethernet interface view, this command enables NDP for the current Ethernet port only. In this case, the interface-list argument is not needed.
l When a port of an aggregation group is connected with a device in a cluster, the NDP feature must be enabled on all the ports of the aggregation group before the feature can work properly.
Example
# Enable NDP globally.
<Sysname> system-view
[Sysname] ndp enable
1.1.3 ndp timer aging
Syntax
ndp timer aging aging-time
undo ndp timer aging
View
System view
Parameter
aging-time : Holdtime (in seconds) to be set of the NDP information sent by the local switch. This argument ranges from 5 to 255.
Description
Use the ndp timer aging command to set the holdtime of the NDP information sent by the local switch, that is, to specify how long a device will hold the NDP packets received from the local device. After the aging timer expires, the device removes the received NDP neighbor node information.
Use the undo timer aging command to restore the default NDP information holdtime.
You can specify how long an adjacent device will hold the NDP information sent by the local device. An adjacent device holds the NDP information of the local switch according to the holdtime carried in the NDP packets received from the local switch and removes the NDP information when the aging timer expires.
The default holdtime is 180 seconds.
Note that NDP information holdtime is longer than the interval to send NDP packets normally. Otherwise, the neighbor information table of an NDP port will become unstable.
Example
# Configure the holdtime of the NDP information sent by the local switch to be 60 seconds.
<Sysname> system-view
[Sysname] ndp timer aging 60
1.1.4 ndp timer hello
Syntax
ndp timer hello hello-time
undo ndp timer hello
View
System view
Parameter
Hello-time: Interval (in seconds) to send NDP packets ranging from 5 to 254.
Description
Use the ndp timer hello command to set the interval to send NDP packets.
Use the undo ndp timer hello command to restore the default interval to send NDP packets.
By default, the interval to send NDP packets is 60 seconds.
NDP information in a neighbor information table is updated regularly. This enables neighbor information table to contain the actual network topology information. You can use these two commands to adjust the updating frequency of NDP information.
Example
# Configure the interval to send NDP packets to be 80 seconds.
<Sysname> system-view
[Sysname] ndp timer hello 80
1.1.5 reset ndp statistics
Syntax
reset ndp statistics [ interface interface-list ]
View
User view
Parameter
interface interface-list: Specifies a list of ports. The list can contain consecutive or separated ports, or the combination of the both. You need to provide the interface-list argument in the form of interface-type interface-number [ to interface-type interface-number ] &<1-10>, where interface-type specifies the port type, and interface-number specifies the port number (in the form of slot number/port number).to: Specifies a port range. &<1-10> means that you can provide up to ten port indexes/port index ranges for this argument.
Description
Use the reset ndp statistics command to clear NDP statistics.
Example
# Clear NDP statistics.
<Sysname> reset ndp statistics
1.2 NTDP Configuration Commands
1.2.1 display ntdp
Syntax
display ntdp
View
Any view
Parameter
None
Description
Use the display ntdp command to display the global NTDP information. The information includes the range (in hop count) within which topology information is collected, the interval to collect topology information (the NTDP timer), the delay time for a device to forward topology-collection requests, the delay time for a topology-collection request to be forwarded through a port, and the time cost during the last topology collection.
Example
# Display the global NTDP information.
NTDP is running.
Hops : 4
Timer : 0 min(disable)
Hop Delay : 100 ms
Port Delay: 10 ms
Last collection total time: 92ms
Table 1-2 Description on the fields of the display ntdp command
Field |
Description |
NTDP is running. |
NTDP is enabled globally on the local device. |
Hops |
Hop count for topology collection |
Timer |
Interval to collect topology information (disable) means that the device is not the command switch and does not perform periodical topology collection |
Hop Delay |
Delay time for the device to forward topology collection requests |
Port Delay |
Delay time for a topology-collection request to be forwarded through a port |
Last collection total time |
Time cost during the last collection |
1.2.2 display ntdp device-list
Syntax
display ntdp device-list [ verbose ]
View
Any view
Parameter
verbose: Displays the detailed device information.
Description
Use the display ntdp device-list command to display the device information collected through NTDP.
Example
# Display the device list collected through NTDP.
<Sysname> display ntdp device-list
0012-a990-2241 2 192.168.0.39/24 S3928P-EI
00e0-fc00-5503 2 192.168.0.59/24 3Com Switch 4500G 48-Port PWR
00e0-fc00-5502 0 192.168.0.52/16 Sysname S5500-28C-SI
00e0-fc00-5601 3 192.168.0.56/24 Sysname S5500-28C-SI
00e0-fc00-5111 2 192.168.0.51/24 Sysname S5500-28C-SI
00e0-fc02-2180 1 192.168.0.35/24 Sysname S3552G
000f-e221-616e 2 192.168.0.31/24 S3100-52P
000f-e200-2200 2 192.168.0.36/24 Sysname S3952P-V6
000f-e218-d0d0 2 192.168.0.68/24 H3C S3610-52P
Table 1-3 Description on the fields of the display ntdp device-list command
Field |
Description |
MAC |
MAC address of a device |
HOP |
Hops to the collecting device |
IP |
IP address and mask length of the management VLAN interface on the device |
Device |
Platform information about a device |
# Display the detailed device information collected through NTDP.
<Sysname> display ntdp device-list verbose
Hostname : Sysname
MAC : 000f-e200-3133
Hop : 2
Device : : H3C S5500-52C-SI
IP :
Version :
H3C Versatile Routing Platform Software
Comware Software, Version 5.20
Copyright (c) 2004-2007 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
Release 1205
Cluster : Member switch of cluster aaa , Administrator MAC: 000f-e200-1751
Stack : Candidate switch
Peer MAC Peer Port ID Native Port ID Speed Duplex
00e0-fc00-3199 GigabitEthernet 1/0/3 GigabitEthernet 1/0/3 200 FULL
00e0-fc00-2579 GigabitEthernet 1/0/2 GigabitEthernet 1/0/2 400 FULL
Table 1-4 Description on the fields of the display ntdp device-list verbose command
Field |
Description |
Hostname |
System name of the device |
MAC |
MAC address of the device |
Hop |
Hops to the devices that collect topology information |
Device |
Device name |
IP |
IP address and subnet mask length of the management VLAN interface on the device |
Version |
Version information |
Cluster |
Cluster information |
Administrator MAC |
MAC address of the management device |
Stack |
Stack information |
Peer MAC |
MAC address of a neighbor device |
Peer Port ID |
Name of the peer port connected to the local port |
Native Port ID |
Name of the local port to which a neighbor device is connected |
Speed |
Speed of the local port to which a neighbor device is connected |
Duplex |
Duplex mode of the local port to which a neighbor device is connected |
1.2.3 ntdp enable
Syntax
ntdp enable
undo ntdp enable
View
System view, Ethernet interface view
Parameter
None
Description
Use the ntdp enable command to enable NTDP globally or on a port.
Use the undo ntdp enable command to disable NTDP globally or on a port.
By default, NTDP is enabled globally and on ports.
Note that the NDTP cannot operate if it is enabled on a port where NDP is disabled.
Example
# Enable NTDP globally.
[Sysname] ntdp enable
# Enable NTDP for port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ntdp enable
1.2.4 ntdp explore
Syntax
ntdp explore
View
User view
Parameter
None
Description
Use the ntdp explore command to start topology information collection manually.
Normally, NTDP collects network topology information periodically. You can also start topology information collection manually whenever needed by executing this command. When you execute this command, NTDP collects the NDP information of every device and the information about the connections between the local switch and all of its neighbor switches in the specified network scope. The information is useful for the management device or network management system to acquire the network topology and to manage and monitor the devices.
Example
# Start the topology collection.
<Sysname> ntdp explore
1.2.5 ntdp hop
Syntax
ntdp hop hop-value
undo ntdp hop
View
System view
Parameter
hop-value: Maximum hops for collecting topology information, ranging from 1 to 16.
Description
Use the ntdp hop command to set a range (in terms of hop count) for topology information collection.
Use the undo ntdp hop command to restore the default range for topology information collection.
By default, the value is 3.
Note that:
l With the ntdp hop command, you can specify to collect the topology information of the devices within a specified range to avoid infinitive collection. The limit is performed by controlling the permitted hops from collection origination. For example, if you set the hop number limit to 2, only the switches less than 2 hops away from the switch starting the topology collection are collected.
l Note that this command is only applicable to the topology-collecting device. A broader collection scope requires more memory of the topology-collecting device.
Example
# Set the hop count for topology information collection to 5.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] ntdp hop 5
1.2.6 ntdp timer
Syntax
ntdp timer interval-time
undo ntdp timer
View
System view
Parameter
interval-time: Interval (in minutes) to collect topology information, ranging from 0 to 65,535. This argument defaults to 1, argument 0 specifies not to collect topology information.
Description
Use the ntdp timer command to configure the interval to collect topology information.
Use the undo ntdp timer command to restore the default interval.
By default, the interval to collect topology information is 1 minute.
Note that:
l The (disable) prompt in the timer field of the display ntdp command means that the device is not the member of the cluster and does not perform periodical topology collection.
l After the cluster is set up, the S5500-SI switch will collect the topology information in the network at the set interval and add the detected candidate switches into the cluster automatically.
l If it is unnecessary to add the candidate switches into the cluster automatically, you can set the interval of topology collection to 0.
Example
# Set the interval to collect topology information to 30 minutes.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] ntdp timer 30
1.2.7 ntdp timer hop-delay
Syntax
ntdp timer hop-delay time
undo ntdp timer hop-delay
View
System view
Parameter
time: Delay time (in milliseconds) for a switch to forward topology-collection request packets. This argument ranges from 1 to 1,000.
Description
Use the ntdp timer hop-delay command to set the delay time for a switch to forward topology-collection request packets.
Use the undo ntdp timer hop-delay command to restore the default delay time.
By default, the delay time for a switch to forward topology-collection request packets is 200 milliseconds.
Note that:
l To avoid network congestion caused by large amount of topology response packets received in short periods, a switch delays for specific period before it forwards a received topology-collection request packet through its first ports. You can use the ntdp timer hop-delay command to set the delay time.
l These two commands are intended for switches that collect topology information. They actually set the hop-delay value for topology-collection request packets sent by these switches. The hop-delay value determines the delay time for a switch receiving topology-collection request packets to forward them through its first port.
Example
# Set the delay time for the switch to forward topology-collection request packets through the first port to 300 ms.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] ntdp timer hop-delay 300
1.2.8 ntdp timer port-delay
Syntax
ntdp timer port-delay time
undo ntdp timer port-delay
View
System view
Parameter
time: Delay time (in milliseconds) for a switch to forward a topology-collection request packet through its successive ports. This argument ranges from 1 to 100 and defaults to 20.
Description
Use the ntdp timer port-delay command to set the delay time for a switch to forward a received topology-collection request packet through its successive ports.
Use the undo ntdp timer port-delay command to restore the default delay time.
By default, the delay time for a switch to forward a received topology-collection request packet through its successive ports is 20 milliseconds.
Note that:
l To avoid network congestion caused by large amount of topology response packets received in short periods, a switch delays for specific period before it forwards a received topology-collection request packet through the next port. You can use the ntdp timer port-delay command to set the delay time.
l These two commands are intended for switches that collect topology information. They actually set the port-delay value for topology-collection request packets sent by these switches. The port-delay value determines the delay time for a switch receiving topology-collection request packets to forward them through the next port.
Example
# Set the delay time for the switch to forward topology-collection request packets through the successive ports to 40 ms.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] ntdp timer port-delay 40
1.3 Cluster Configuration Commands
1.3.1 add-member
Syntax
add-member [ member- number] mac-address mac-address [ password password ]
View
Cluster view
Parameter
member-number: Member number assigned to the candidate device to be added to a cluster. This argument ranges from 1 to 255.
mac-address: MAC address of the candidate device (in hexadecimal).
password: Password of the candidate device, a string comprising 1 to 16 characters. The password is required when you add a candidate device to a cluster. However, this argument is not needed if the candidate device is not configured with a password.
Description
Use the add-member command to add a candidate device to a cluster.
Note that:
l You can add a candidate device to a cluster on the management device only.
l If you do not specify the member number when adding a cluster member, the management device assigns the least available member number to it.
l After a candidate device is added to a cluster, its device password becomes the management device password.
Caution:
If the number of the routing table entries of a candidate device reaches the maximum number allowed when the candidate is added to a cluster, it will be added to and removed from the cluster repeatedly.
Example
# Add a candidate device to the cluster, setting the member number to 6. (Assume that the MAC address and user password of the candidate device are 00E0-fc00-35e7 and 123456.)
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] add-member 6 mac-address 00E0-fc00-35e7 password 123456
1.3.2 administrator-address
Syntax
administrator-address mac-address name name
undo administrator-address
View
Cluster view
Parameter
mac-address: MAC address of the management device(in hexadecimal).
name name: Name of an existing cluster, a string comprising up to 8 characters, which can only be alphanumeric characters, subtraction sign (-), and underline (_).
Description
Use the administrator-address command to set the MAC address of the management device on a member device.
Use the undo administrator-address command to remove a member device from the cluster, usually for debugging or restoration.
By default, a switch belongs to no cluster.
Note that:
l administrator-address only can be executed on a candidate device, undo administrator-address only can be executed on a member device.
l A cluster contains one (and only one) management device. After rebooting, a member device identifies the management device by the MAC address of the management device.
l You are recommended to use the delete-member command to remove a cluster member from a cluster on the management device.
Example
# Remove a member device from the cluster.
[aaa_0.Sysname] cluster
[aaa_0.Sysname] undo administrator-address
1.3.3 auto-build
Syntax
auto-build [ recover ]
View
Cluster view
Parameter
recover: Establishes communication with all the member devices again.
Description
Use the auto-build command to build a cluster automatically.
Note that:
l This command can be executed on a candidate device or a management device.
l When you use this command on a candidate device, you will be required to enter the cluster name and build a cluster. Then the system will collect candidates and add the collected candidates into the cluster automatically.
l When you use this command on a management device, the system will collect candidates directly and add them into the cluster automatically.
l The recover keyword is used to recover a cluster. Using the auto-build recover command, you can find the members that are not currently in the member list and add them to the cluster again.
l Ensure that NTDP is enabled, because it is the basis of candidate and member collection. The collection range is also decided through NTDP. You can use the hop command in system view to modify the collection range.
l If a member is configured with a password different from the password of the management device, it cannot be added to the cluster automatically.
Caution:
When you configure a cluster, if the number of routing table entries reaches the maximum number allowed, no more routing table entries can be configured on a management device and candidate devices, which will result in the unreachability of handshake packets and the repeated add and removal of the device to and from the cluster:
l If the routing table entries of the management device reach the maximum number allowed when a cluster is created, all candidate devices will be added to and removed from the cluster repeatedly.
l If the number of the routing table entries of a candidate device reaches the maximum number allowed when the candidate device is added to a cluster, it will be added to and removed from the cluster repeatedly.
Example
# Set up a cluster automatically.
<Sysname> system-view
[Sysname] cluster
[Sysname-cluster] auto-build
Restore topology from local flash file,for there is no base topology.
(Please confirm in 30 seconds, default No) (Y/N)n
Please input cluster name:aa.
Collecting candidate list, please wait...
Candidate list:
Name Hops MAC Address Device
Sysname 1 00e0-fc02-2180 Sysname S3552G
Sysname 2 00e0-fc00-5502 Sysname S5528C-SI
Sysname 2 00e0-fc00-5601 S5600
a 2 0012-a990-2241 S3900
2024C 2 000f-e200-00cc Sysname S2024C
Processing...please wait
Cluster auto-build Finish!
2 member(s) added successfully.
[aa_0.Sysname-cluster]
1.3.4 black-list add-mac
Syntax
black-list add-mac mac-address
View
Cluster view
Parameter
mac-address: MAC address of the device that will be added into the blacklist, in the format of H-H-H.
Description
Use the black-list add-mac command to add a device into the blacklist.
This command can be executed only on the management device.
Example
# Insert the device to black-list.
<aa_0.Sysname>system-view
[aa_0.Sysname]cluster
[aa_0.Sysname-cluster] black-list add-mac 0ec0-fc00-0001
Insert the MAC to the black-list successful!
1.3.5 black-list delete-mac
Syntax
black-list delete-mac { all | mac-address }
View
Cluster view
Parameter
mac-address: MAC address of the device that will be deleted from the blacklist, in the format of H-H-H. This command can be executed only on the management device.
Description
Use the black-list delete-mac command to delete a device from the blacklist.
This command must be executed on the management device.
Example
# Delete the device from black-list.
<aa_0.Sysname>system-view
[aa_0.Sysname]cluster
[aa_0.Sysname-cluster] black-list delete-mac 0ec0-fc00-0001
The black-list is cleared!
# Clear all the device from black-list
<aa_0.Sysname>system-view
[aa_0.Sysname]cluster
[aa_0.Sysname-cluster] black-list delete-mac all
The black-list is cleared!
1.3.6 build
Syntax
build name
undo build
View
Cluster view
Parameter
name: Cluster name, a string comprising up to 8 characters, which can only be alphanumeric characters, subtraction sign (-), and underline (_).
Description
Use the build command to configure the current device as the management device and specify a name for it. When executing this command, you will be asked whether you want to create a standard topology map or not.
Use the undo build command to remove a cluster.
If the build command is executed on the candidate device, the current switch will be configured as the management device and assigned with a cluster name.
If the build command is executed on the management device, the cluster name will be modified.
Note that:
l This command can only be applied to devices that are capable to be a management device and are not members of other clusters. The command takes no effect if you execute the command on a device which is already a member of another cluster. If you execute this command on a management device, you will replace the cluster name with the one you specify.
l The member number of a management device is 0.
After the cluster is set up, the S5500-SI switch will collect the topology information of the network at the set interval and add the detected candidate devices into the cluster automatically. If it is unnecessary to add the candidate switches into the cluster automatically, you can set the interval of topology collection to 0, that is, topology collection is not performed periodically.
Example
# Configure the current switch to be a management device and specify the cluster name to be aabbcc.
[Sysname]cluster
[Sysname-cluster] build aabbcc
Restore topology from local flash file,for there is no base topology.
(Please confirm in 30 seconds, default No). (Y/N)
n
[aabbcc_0.Sysname-cluster]
1.3.7 cluster
Syntax
cluster
View
System view
Parameter
None
Description
Use the cluster command to enter cluster view.
Example
# Enter cluster view.
<Sysname> system-view
[Sysname] cluster
[Sysname-cluster]
1.3.8 cluster enable
Syntax
cluster enable
undo cluster enable
View
System view
Parameter
None
Description
Use the cluster enable command to enable the cluster function on a switch.
Use the undo cluster enable command to disable the cluster function on a switch.
By default, the cluster function is enabled on all the devices supporting cluster.
Note that:
l These two commands can be used on any device supporting the cluster function.
l When you execute the undo cluster enable command on a management device, the cluster is removed, and the switch stop operating as a management device.
l When you execute the undo cluster enable command on a member device, the cluster function is disabled on the switch, and the switch quit the cluster.
l When you execute the undo cluster enable command on a switch that belongs to no cluster, the cluster function is disabled on the switch.
Example
# Enable the cluster function on a switch.
<Sysname> system-view
[Sysname] cluster enable
1.3.9 cluster switch-to
Syntax
cluster switch-to { member-number | mac-address mac-address | administrator }
View
User view
Parameter
member-number: Member number of a switch in a cluster, ranging from 1 to 255.
mac-address mac-address: Specifies the MAC address of a member device, in the format of H-H-H..
administrator: Redirects from a member device to the management device.
Description
Use the cluster switch-to command to switch between the management device and member devices for configuration and management.
Note that Telnet connection is used on the switch between the management device and member devices. Note the following when switching between them:
l Authentication is required when you switch the management device to a member device. If the super password of the device to be switched is inconsistent with the super password of the device to be logged in, the switch fails.
l When a candidate device is added to a cluster, its super password will be automatically synchronized to the management device. Therefore, after a cluster is established, you are not recommended to modify the super password of the member (including management device and member devices) of the cluster; otherwise, the switch may fail because of authentication failure.
l When switching from the management device to a member device, your user level on the management device is retained.
l When you switch from the member view to the management view, your user level is allocated according to the predefined level by the management device.
l If the Telnet users on the device to be logged in reach the maximum number, the switch fails.
l If the member device identified by the member-number argument does not exist when you execute this command on the management device, an error occurs.
Example
# Switch from the management device to the member device numbered 6 and then switch back to the management device.
<aa_0.Sysname> cluster switch-to 6
Trying ...
Press CTRL+K to abort
Connected ...
**************************************************************************
* Copyright(c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
**************************************************************************
<aa_6.Sysname>quit
The connection was closed by the remote host!
<aa_0.Sysname>
1.3.10 delete-member
Syntax
delete-member member-number [ to-black-list ]
View
Cluster view
Parameter
member-number: Member number of a switch in a cluster, ranging from 1 to 255.
to-black-list: Remove the device from the cluster meanwhile add it to the black-list, the device which added to blacklist will no longer add to cluster again.
Description
Use the delete-member command to remove a member device from the cluster.
Perform the operation to remove a member device from a cluster on the management device only. Otherwise, errors occur.
Example
# Remove the member device numbered 2 from the cluster.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] delete-member 2
# Remove the member device numbered 2 from the cluster and add it to the black-list.
<aaa_0.Sysname>system-view
[aaa_0.Sysname]cluster
[aaa_0.Sysname-cluster] delete-member 2 to-black-list
Insert the MAC to the black-list successfull
1.3.11 display cluster
Syntax
display cluster
View
Any view
Parameter
None
Description
Use the display cluster command to display the state and statistics of the cluster to which the current switch belongs.
Note that:
l When being executed on a member device, this command displays the information such as cluster name, member number of the current switch, the MAC address and state of the management device, holdtime, and the interval to send packets.
l When being executed on a management device, this command displays the information such as cluster name, the number of the member devices in the cluster, cluster state, holdtime and the interval to send packets.
l Errors occur if you execute this command on a switch that does not belong to any cluster.
Example
# Display cluster information (assuming that the current switch is a management device).
<aa_0.Sysname> display cluster
Cluster name:"aa"
Role:Administrator
Management-vlan:1(default vlan)
Handshake timer:10 sec
Handshake hold-time:60 sec
IP-Pool:33.33.33.1/29
No logging host configured
No SNMP host configured
No FTP server configured
No TFTP server configured
5 member(s) in the cluster, and 0 of them down.
# Display cluster information (assuming that the current switch is a member device).
<aa_4.Sysname> display cluster
Cluster name:"aa"
Role:Member
Member number:4
Management-vlan:1(default vlan)
Handshake timer:10 sec
Handshake hold-time:60 sec
Administrator device IP address:1.1.3.1
Administrator device mac address:00e0-fc00-1751
Administrator status:Up
Table 1-5 Description on the fields of the display cluster command
Field |
Description |
Cluster name |
Name of the cluster |
Role |
Cluster role of the switch |
Member number |
Member number of the switch |
Handshake timer |
Value of handshake timer |
Handshake hold-time |
Handshake holdtime |
Administrator device IP address |
IP address of the management device |
Administrator device mac address |
MAC address of the management device |
Administrator status |
State of the management device |
1.3.12 display cluster base-topology
Syntax
display cluster base-topology [ mac-address mac-address | member-id member-number ]
View
Any view
Parameter
mac-address: Specify a node according to the MAC address.
member-number : Specify the starting member number in the topology display.
Description
Use the display cluster topology command to display the standard topology view of the cluster.
You can create a standard topology view by using the build or auto-build command or save the current topology view as a standard topology view by using the topology accept command. This command can be executed only on the management device.
Example
# Display the standard topology information of the cluster.
[aa_0.Sysname] display cluster base-topology
--------------------------------------------------------------------
(PeerPort) ConnectFlag (NativePort) [SysName:DeviceMac]
--------------------------------------------------------------------
[aa_0.Sysname:00e0-fc00-5502]
|
└-(P_1/0/6)<-->(P_0/2)[Sysname:00e0-fc02-2180]
|
├-(P_0/22)<-->(P_1/0/4)[Sysname:00e0-fc00-5111]
|
├-(P_0/16)<-->(P_1/0/4)[aa_3.a:0012-a990-2241]
|
├-(P_0/14)<-->(P_1/0/2)[aa_2.Sysname:00e0-fc00-5601]
|
├-(P_0/4)<-->(P_0/15)[2024C:000f-e200-00cc]
|
├-(P_0/1)<-->(P_3/0/33)[Sysname:00e0-fc00-1774]
|
└-(P_0/10)<-->(P_1/0/2)[aa_0.Sysname:000f-e200-2200]
Table 1-6 Description on the fields of the display cluster base-topology command
Field |
Description |
PeerPort |
Port of peer |
ConnectFlag |
Flag of connect |
NativePort |
Native port |
SysName |
System name |
1.3.13 display cluster black-list
Syntax
display cluster black-list
View
Any view
Parameter
None
Description
Use the display cluster black-list command to display the current blacklist of the cluster.
This command can be executed only on the management device.
Example
# Display the current black-list of the cluster.
<aa_0.Sysname>system-view
[Sysname] display cluster black-list
Device ID Access Device ID Access port
00e0-fc00-0010 00e0-fc00-3550 Ethernet1/0/1
1.3.14 display cluster candidates
Syntax
display cluster candidates [ mac-address mac-address | verbose ]
View
Any view
Parameter
mac-address mac-address: Specifies the MAC address of a candidate device, in the format of H-H-H..
verbose: Displays the detailed information about all the candidate devices.
Description
Use the display cluster candidates command to display the information about the candidate devices of a cluster.
Execute this command on management devices only.
Example
# Display the information about all the candidate devices.
<aaa_0.Sysname-cluster> display cluster candidates
MAC HOP IP DEVICE
00e0-fc00-3199 3 S5500
000f-cbb8-9528 1 31.31.31.56/24 S5500
Table 1-7 Description on the fields of the display cluster candidates command (A)
Field |
Description |
MAC |
MAC address of a candidate device |
Hop |
Hops from a candidate device to the management device |
IP |
IP address of a candidate device |
Device |
Device of a candidate device |
# Display the information about a specified candidate device.
<Sysname-cluster> display cluster candidates mac-address 00e0-fc00-3190
Hostname : Sysname
MAC : 00e0-fc00-3190
Hop : 1
Device : H3C S5500-52C-SI
IP : 16.1.1.1/24
# Display the detailed information about all the candidate devices.
[Sysname-cluster] display cluster candidates verbose
Hostname : Sysname
MAC : 3900-0000-3334
Hop : 2
Device : H3C S5500-52C-SI
IP : 16.1.1.11/24
Hostname : Sysname
MAC : 00e0-fc00-3190
Hop : 1
Device : H3C S5500-52C-SI
IP : 16.1.1.1/24
Table 1-8 Description on the fields of the display cluster candidates command (B)
Field |
Description |
Hostname |
Name of a candidate device |
MAC |
MAC address of a candidate device |
Hop |
Hops from a candidate device to the management device |
IP |
IP address of a candidate device |
Device |
Platform of a candidate device |
1.3.15 display cluster current-topology
Syntax
display cluster current-topology [ mac-address mac-address [ to-mac-address mac-address ] | member-id member-number [ to-member-id member-number ] ]
View
Any view
Parameter
member-number: Specifies the starting member number in the topology display or the member numbers at the starting point and ending point of a path.
mac-address: Specifies a node according to a MAC address.
Description
Use the display cluster current-topology command to display the current topology view or the topology path between two points.
This command can be executed only on the management device.
Example
# Display the current topology information of the cluster.
<aa_0.Sysname> display cluster current-topology
--------------------------------------------------------------------
(PeerPort) ConnectFlag (NativePort) [SysName:DeviceMac]
--------------------------------------------------------------------
ConnectFlag:
<--> normal connect ---> odd connect **** in blacklist
???? lost device ++++ new device -┤├- STP discarding
--------------------------------------------------------------------
[aa_0.Sysname:00e0-fc00-5502]
|
└-(P_1/0/6)++++(P_0/2)[Sysname:00e0-fc02-2180]
|
├-(P_0/22)++++(P_1/0/4)[Sysname:00e0-fc00-5111]
|
├-(P_0/16)++++(P_1/0/4)[aa_5.a:0012-a990-2241]
|
├-(P_0/14)++++(P_1/0/2)[aa_4.Sysname:00e0-fc00-5601]
|
├-(P_0/10)++++(P_1/0/2)[aa_0.Sysname:000f-e200-2200]
|
├-(P_0/4)++++(P_0/15)[2024C:000f-e200-00cc]
|
└-(P_0/1)++++(P_3/0/33)[Sysname:00e0-fc00-1774]
Table 1-9 Description on the fields of the display cluster current-topology command
Field |
Description |
PeerPort |
Port of peer |
ConnectFlag |
Flag of connect |
NativePort |
Native port |
SysName |
System name |
normal connect |
normal connect |
odd connect |
odd connect |
in blacklist |
The device is in blacklist |
lost device |
lost device |
new device |
new device |
STP discarding |
STP discarding |
The newly added device in the topology information is determined on the basis of the standard topology. If you have not used the topology accept command to confirm the current topology information of the cluster and save the current topology as the standard topology after a device joins in the cluster, this device will always be marked as a new one.
1.3.16 display cluster members
Syntax
display cluster members [ member-number | verbose ]
View
Any view
Parameter
member-number: Member number of a switch in a cluster, ranging from 0 to 255.
verbose: Displays the detailed information about all the devices in a cluster.
Description
Use the display cluster members command to display the information about cluster members.
Execute this command on management devices only.
Example
# Display the information about all the devices in the cluster.
<Sysname> display cluster members
SN Device MAC Address Status Name
0 Sysname S5528C-SI 00e0-fc00-5502 Admin aa_0.Sysname
3 S3100 000f-e221-616e Up aa_3.Sysname
5 Sysname S5150C-EI 00e0-fc00-5111 Up aa_5.Sysname
6 S5600-1508P01 00e0-fc00-5601 Up aa_6.Switchb
Table 1-10 Description on the fields of the display cluster members command
Field |
Description |
SN |
Number of cluster member |
Device |
Type of device |
MAC Address |
MAC Address of device |
Status |
Status of device |
Name |
Name of device |
# Display the detailed information about the management device and all member devices.
<aa_0.Sysname> display cluster members verbose
Member number:0
Name:aa_0.Sysname
Device: H3C S5500-28C52C-SI
MAC Address: 000f-e200-5502
Member status:Admin
Hops to administrator device:0
IP: 192.168.0.52/16
Version:
H3C Versatile Routing Platform Software
Comware Software, Version 5.20
Copyright (c) 2004-2007 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
Release 1205
Member number:3
Name:aa_3.Sysname
Device:S3100-52P
MAC Address: 000f-e2c0-c201
Member status:Up
Hops to administrator device:2
IP: 192.168.0.31/24
Version:
H3C Comware Platform Software
Comware Software, Version 3.10
Copyright (c) 2004-2007 Hangzhou H3C Technologies Co.,Ltd. All rights reserved.
H3C S3100-52P S3100-1510P02
Table 1-11 Description on the fields of the display cluster members verbose command
Field |
Description |
Member number |
Device member number |
Name |
Name of a member device, composed of the cluster name and the host name of the member device, in the format of cluster name.hostname When the management device type is not consistent with the member device type, if a user modifies the cluster name on the management device continuously, the cluster name may appear twice in the cluster member name, for example, “clustername.clustername.hostname”. This abnormal case can restore in a period of time. |
Device |
Device type |
MAC Address |
MAC address of a device |
Member status |
State of a device |
Hops to administrator device |
Hops from the current device to the management device |
IP |
IP address of a device |
Version |
Software version of the current device |
1.3.17 ftp-server
Syntax
ftp-server ip-address [ user-name username password { simple | cipher } password ]
undo ftp-server
View
Cluster view
Parameter
ip-address: IP address of the FTP server to be configured for the cluster.
username: User name to telnet ftp server, a string of 1 to 32 characters.
simple :Specifies to display passwords in simple text.
cipher: Specifies to display passwords in cipher text.
Password: Password you want to set, a character string. For simple mode, the password must be in plain text. For cipher mode, the password can be either in cipher text or in plain text, which it is depends on your input. Encrypted text password string with of up to 16 consecutive characters, characters such as_(TT8F]Y\5SQ=^Q`MAF4<1!!.
Description
Use the ftp-server command to configure an FTP server on the management device for the member devices in the cluster.
Use the undo ftp-server command to remove the FTP server configured for the member devices in the cluster.
By default, the management device acts as the FTP Server.
Example
# Configure the IP address of an FTP server on the management device.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] ftp-server 1.0.0.9
1.3.18 holdtime
Syntax
holdtime seconds
undo holdtime
View
Cluster view
Parameter
seconds: Holdtime (in seconds) ranging from 1 to 255.
Description
Use the holdtime command to configure the holdtime of a switch.
Use the undo holdtime command to restore the default holdtime value.
By default, the holdtime of a device is 60 seconds.
Note that:
l If a switch does not receive any information of a peer device during the holdtime, it sets the state of the peer device to “down”. When the communication between the two resumes, the corresponding member device is re-added to the cluster (automatically). If the downtime does not exceed the holdtime, the member device stays in the normal state and needs not to be added again.
l Execute these two commands on management devices only. The member devices in a cluster acquire the holdtime setting from the management device.
Example
# Set the holdtime to 30 seconds.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] holdtime 30
1.3.19 ip-pool
Syntax
ip-pool administrator-ip-address { ip-mask | ip-mask-length }
undo ip-pool
View
Cluster view
Parameter
administrator-ip-address: IP address of the management device of a cluster.
ip-mask: Mask of the cluster IP address pool.
ip-mask-length: Mask length of the cluster IP address pool.
Description
Use the ip-pool command to configure a private IP address range for cluster members on the switch to be configured as the management device.
Use the undo ip-pool command to cancel the IP address range configuration.
Note that:
l Before establishing a cluster, you need to configure a private IP address pool for the switches to be added to the cluster. When a candidate device is added to a cluster, the management device assigns a private IP address to it for the candidate device to c-ommunicate with other devices in the cluster. This enables you to manage and maintain member devices in a cluster through the management device.
l Execute these two commands on switches that belong to no cluster only. The IP address range of an existing cluster cannot be modified.
Example
# Configure the IP address range of a cluster.
[Sysname] cluster
[Sysname-cluster] ip-pool 10.200.0.1 20
1.3.20 logging-host
Syntax
logging-host ip-address
undo logging-host
View
Cluster view
Parameter
ip-address: IP address of the logging host configured for the cluster. This argument ranges from 1 to 1094.
Description
Use the logging-host command to configure a logging host on the management device for the member devices in the cluster.
Use the undo logging-host command to cancel the logging host configuration.
By default, no logging host is configured.
Note that
l You need to configure the IP address of a logging host first for the member devices in a cluster to send log information to the logging host through the management device.
l Execute this command on management devices only.
l Note that you need to configure the IP address of a logging host first for the member devices in a cluster to send log information to the logging host through the management device.
Example
# Configure the IP address of the logging host on the management device.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] logging-host 10.10.10.9
1.3.21 management-vlan
Syntax
management-vlan vlan-id
undo management-vlan
View
System view
Parameter
vlan-id: ID of the VLAN to be specified as the management VLAN. This argument ranges from 1 to 4094.
Description
Use the management-vlan command to specify the management VLAN on the switch.
Use the undo management-vlan command to restore the default management VLAN.
By default, VLAN 1 is the management VLAN.
Note the following when configuring the management VLAN:
l The management VLANs specified on different devices in the same cluster must be the same VLAN.
l The management VLAN can only be specified before the cluster is created. Once a switch is added to a cluster, the management VLAN configuration cannot be modified. To modify management VLAN configuration on a switch belonging to a cluster, you need to cancel the cluster-related configurations on the switch, specify the desired VLAN to be the management VLAN, and then re-create the cluster.
Example
# Specify VLAN 2 as the management VLAN on the current switch.
<Sysname> system-view
[Sysname] management-vlan 2
1.3.22 nm-interface Vlan-interface
Syntax
nm-interface Vlan-interface vlan-id
undo nm-interface
View
Cluster view
Parameter
vlan-id: ID of the VLAN.
Description
Use the nm-interface Vlan-interface command to configure the network management interface of the management switch.
Use the undo nm-interface command to restore the default network management interface.
You can specify the network management interface of the management device, so that the network administrator can access the management switch through the network management interface to manage the devices in the cluster.
& Note:
l By default, the network management interface is a management VLAN interface.
l There can be only one network management interface, and the reconfigured network management interface will replace the old one.
Example
# Configure VLAN-interface 2 as the network management interface.
<Sysname> system-view
[Sysname] cluster
[Sysname-cluster] nm-interface Vlan-interface 2
1.3.23 reboot member
Syntax
reboot member { member-number | mac-address mac-address } [ eraseflash ]
View
Cluster view
Parameter
member-number: Member number of a switch in a cluster, ranging from 1 to 255.
mac-address mac-address: MAC address of the member device to be rebooted.
eraseflash: Deletes the configuration file when the member device reboots.
Description
Use the reboot member command to reboot a specified member device on the management device.
Note that:
l Communication between the management and member devices may be interrupted due to some configuration errors. Through the remote control function of member devices, you can control them remotely on the management device. For example, you can reboot a member device that operates improperly and specify to delete the booting configuration file when the member device reboots, and thus restore normal communication between the management and member devices.
l The eraseflash keyword specifies to delete the booting configuration file when the member device reboots.
Example
# Reboot the member device numbered 2.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] reboot member 2
1.3.24 snmp-host
Syntax
snmp-host ip-address [ community-string read string1 write string2 ]
undo snmp-host
View
Cluster view
Parameter
ip-address: IP address of a SNMP host to be configured for a cluster.
string1:Read-only string, a string containing 1 to 26 characters.
string2:Write-only string , a string containing 1 to 26 characters.
Description
Use the snmp-host command to configure an SNMP host for the member devices inside a cluster on the management device.
Use the undo snmp-host command to cancel the SNMP host configuration.
By default, no SNMP host is configured.
Note that:
l You need to configure the IP address of an SNMP host first for the cluster, in order that the member devices in a cluster can send trap messages to the SNMP host through the management device.
l Execute these two commands on management devices only.
Example
# Configure an SNMP host for the cluster on the management device.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] snmp-host 1.0.0.9
1.3.25 tftp-server
Syntax
tftp-server ip-address
undo tftp-server
View
Cluster view
Parameter
ip-address: IP address of a TFTP server to be configured for a cluster.
Description
Use the tftp-server command to configure a TFTP server for cluster members on the management device.
Use the undo tftp-server command to cancel the TFTP server of the cluster members.
By default, no TFTP server is configured.
Note that:
l You need to configure the IP address of the TFTP server for the cluster, in order that the member devices in the cluster can access the TFTP server through the management device.
l Execute these two commands on management devices only.
Example
# Configure a TFTP server on the management device.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] tftp-server 1.0.0.9
1.3.26 timer
Syntax
timer interval
undo timer
View
Cluster view
Parameter
Interval: Interval (in seconds) to send handshake packets. This argument ranges from 1 to 255.
Description
Use the timer command to set the interval to send handshake packets.
Use the undo timer command to restore the default value of the interval.
By default, the interval to send handshake packets is 10 seconds.
Note that:
l Inside a cluster, the connections between member devices and the management device are kept through transmitting handshake packets. Handshake packets in a cluster enable the management device to acquire the information about member states link states.
l Execute these two commands on management devices only. All the member devices in a cluster acquire the handshake interval setting from the management device.
Example
# Configure the interval to send handshake packets to be 3 seconds.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] timer 3
1.3.27 topology accept
Syntax
topology accept { all [ save-to { ftp-server | local-flash } ] | mac-address mac-address | member-id member-number }
undo topology accept { all | mac-address mac-address | member-id member-number }
View
Cluster view
Parameter
all: All devices.
mac-address: Specifies a bridge MAC address of the device while the device authenticates the topology authenticated by the topology, in the format of H-H-H.
member-number: Specifies the member number from which the topology displays or the member numbers at the starting point and ending point of a specified path.
save-to: Configures to save a standard topology to the FTP server or the flash while saving the standard topology. This file is named topology.top universally.
Description
Use the topology accept command to confirm the current topology information of the cluster and save that as a standard topology.
Use the undo topology accept command to delete the current topology information of the cluster.
This command can be executed only on the management device.
The topology.top file is used to save standard topology information on the FTP server or the local flash. The saved information includes information of the white list and blacklist. The blacklist is a list of devices that are not allowed to join the cluster. The white list is a list of devices that can join the cluster.
Example
# Accept the current topology as a standard topology.
<aa_0.Sysname>system-view
[aa_0.Sysname]cluster
[aa_0.Sysname-cluster] topology accept all
1.3.28 topology restore-from
Syntax
topology restore-from { ftp-server | local-flash }
View
Cluster view
Parameter
None
Description
Use the topology restore-from command to obtain and restore the standard topology information from the local flash.
This command can be executed only on the management device.
Example
# Obtain and restore the standard topology information.
<aa_0.Sysname>system-view
[aa_0.Sysname]cluster
[aa_0.Sysname-cluster] topology restore-from local-flash
Begin get base topology file from local flash......
Get file OK
Begin build base topology from file......
Finish building base topology from file
Begin build blacklist from file......
Finish building blacklist from file
1.3.29 topology save-to
Syntax
topology save-to { ftp-server | local-flash }
View
Cluster view
Parameter
None
Description
Use the topology save-to command to save the standard topology information into the local flash.
The topology includes white list and blacklist. The file is named topology.top universally.
This command can be executed only on the management device.
Example
# Save the standard topology information into the local flash.
<aa_0.Sysname>system-view
[aa_0.Sysname]cluster
[aa_0.Sysname-cluster] topology save-to local-flash
Base topology backup to file OK