We are going to configure Sw1, Sw2, Sw3 and Sw4 in a switch cluster named HOWCOOL.
In this topology
- Sw1 would be the commander.
- Sw2,Sw3 andSw4 are going to be members of the switch cluster
Sw1#show ver | in MAC Base ethernet MAC Address : 00:19:06:60:AC:00 Sw1#
Sw2#show ver | in MAC Base ethernet MAC Address : 00:19:E7:77:10:80 Sw2#
Sw3#show ver | in MAC Base ethernet MAC Address : 00:19:AA:C9:33:00 Sw3#
Sw4#show ver | in MAC Base ethernet MAC Address : 00:19:AA:C9:34:80
Sw1(config)#cluster enable HOWCOOL Sw1#show run | in cluster cluster enable HOWCOOL 0 cluster member 1 mac-address 0019.e777.1080 cluster member 2 mac-address 0019.aac9.3300 cluster member 3 mac-address 0019.aac9.3480 Sw1(config)#do show cluster Command switch for cluster "HOWCOOL" Total number of members: 4 Status: 0 members are unreachable Time since last status change: 0 days, 0 hours, 0 minutes Redundancy: Disabled Heartbeat interval: 8 Heartbeat hold-time: 80 Extended discovery hop count:
Sw2#show run | in member cluster commander-address 0019.0660.ac00 member 1 name HOWCOOL vlan 1 Sw2#
Sw3#show run | in member cluster commander-address 0019.0660.ac00 member 2 name HOWCOOL vlan 1
Sw4#show run | in memb cluster commander-address 0019.0660.ac00 member 3 name HOWCOOL vlan 1
You can configure cluster member switches from the CLI by first logging into the cluster command switch. Enter the rcommand user EXEC command and the cluster member switch number to start a Telnet session (through a console or Telnet connection) and to access the cluster member switch CLI. The command mode changes, and the Cisco IOS commands operate as usual. Enter the exit privileged EXEC command on the cluster member switch to return to the command-switch CLI.
Sw1#rcommand 3 Sw4#exit Sw1#
If you do not know the member-switch number, enter the show cluster members privileged EXEC command on the cluster command switch. For more information about the rcommand command and all other cluster commands, see the switch command reference.
Sw1#show cluster members |---Upstream---| SN MAC Address Name PortIf FEC Hops SN PortIf FEC State 0 0019.0660.ac00 Sw1 0 Up (Cmdr) 1 0019.e777.1080 Sw2 Fa0/20 1 0 Fa0/20 Up 2 0019.aac9.3300 Sw3 Fa0/22 1 0 Fa0/22 Up 3 0019.aac9.3480 Sw4 Fa0/8 1 0 Fa0/8 Up