[ Pobierz całość w formacie PDF ]
.Use theno form of the command to remove all members and to make the command switch a candidate switch.cluster enable name [command-switch-member-number]no cluster enabledefault cluster enableSyntax Description name Name of the cluster up to 31 characters.Valid charactersinclude only alphanumerics, dashes, and underscores.command-switch-member-number (Optional) Assign a member number to the command switch ofthe cluster.The range is from 0 to 15.no Remove all member switches, and make the command switch acandidate.default Switch is not a command switch.Defaults The switch is not a command switch.No cluster name is defined.The member number is 0 when this is the command switch.Command Modes Global configurationCommand History Release Modification11.2(8)SA6 This command was first introduced.12.0(5)XU The command-switch-member-number variable was added.Usage Guidelines This command runs on any command-capable switch that is not part of any cluster.This command failsif a device is already configured as a member of the cluster.You must name the cluster when you enable the command switch.If the switch is already configured asthe command switch, this command changes the cluster name if it is different from the previous name.Catalyst 2900 Series XL and Catalyst 3500 Series XL Command Reference78-12155-042-20Chapter 2 Cisco IOS Commandscluster enableExamples This example shows how to enable the command switch, to name the cluster, and to set the commandswitch member number to 4.Switch(config)# cluster enable Engineering-IDF4 4You can verify the previous command by entering the show cluster command in user EXEC mode onthe command switch.Related Commands Command Descriptionshow cluster Displays the cluster status and a summary of the cluster to which the switchbelongs.Catalyst 2900 Series XL and Catalyst 3500 Series XL Command Reference78-12155-042-21Chapter 2 Cisco IOS Commandscluster holdtimecluster holdtimeUse the cluster holdtime global configuration command on the command switch to set the duration inseconds before a switch (either the command or member switch) declares the other switch down afternot receiving heartbeat messages.Use the no form of this command to set the duration to the defaultvalue.cluster holdtime holdtime-in-secsno cluster holdtimedefault cluster holdtimeSyntax Description holdtime-in-secs Duration in seconds before a switch (either a command or member switch)declares the other switch down.The range is from 1 to 300 seconds.no Set the holdtime to the default value (80 seconds).default Set the holdtime to the default value (80 seconds).Defaults The holdtime is 80 seconds.Command Modes Global configurationCommand History Release Modification12.0(5)XU This command was first introduced.Usage Guidelines Use this command with the cluster timer global configuration command only on the command switch.The command switch propagates the values to all its cluster members so that the setting is consistentamong all switches in the cluster.The holdtime is typically set as a multiple of the interval timer (cluster timer).For example, it takes(holdtime-in-secs divided by interval-in-secs) number of heartbeat messages to be missed in a row todeclare a switch down.Catalyst 2900 Series XL and Catalyst 3500 Series XL Command Reference78-12155-042-22Chapter 2 Cisco IOS Commandscluster holdtimeExamples This example shows how to change the interval timer and the duration on the command switch.Switch(config)# cluster timer 3Switch(config)# cluster holdtime 30You can verify the previous commands by entering the show cluster command in user EXEC mode.Related Commands Command Descriptionshow cluster Displays the cluster status and a summary of the cluster to which the switchbelongs.Catalyst 2900 Series XL and Catalyst 3500 Series XL Command Reference78-12155-042-23Chapter 2 Cisco IOS Commandscluster management-vlancluster management-vlanUse the cluster management-vlan global configuration command on the command switch to change themanagement VLAN for the entire cluster.Use the no form of this command to change the managementVLAN to VLAN 1.cluster management-vlan nno cluster management-vlandefault cluster management-vlanSyntax Description n VLAN ID of the new management VLAN.Valid VLAN IDs are from 1 to 1001.no Set the management VLAN to VLAN 1.default Set the management VLAN to VLAN 1.Defaults The default management VLAN is VLAN 1.Command Modes Global configurationCommand History Release Modification12.0(5)XU This command was first introduced.Usage Guidelines Enter this command only on the command switch.This command changes the management VLAN ofthe command switch and member switches.Member switches must have either a trunk connection orconnection to the new command-switch management VLAN to maintain communication with thecommand switch.This command is not written to the configuration file.Examples This example shows how to change the management VLAN to VLAN 5 on the entire cluster.Switch(config)# cluster management-vlan 5You can verify the previous command by entering the show interface vlan number user EXECcommand.Related Commands Command Descriptionmanagement Shuts down the management VLAN interface and enables the newmanagement VLAN interface on an individual switch.Catalyst 2900 Series XL and Catalyst 3500 Series XL Command Reference78-12155-042-24Chapter 2 Cisco IOS Commandscluster membercluster memberUse the cluster member global configuration command on the command switch to add members to acluster.Use the no form of the command to remove members from the cluster.cluster member [n] mac-address H.H.H [password enable-password]no cluster member ndefault cluster member nSyntax Description n The number that identifies a cluster member.The range is from 0 to15.mac-address H.H.H MAC address of the member switch in hexadecimal format.password enable-password Enable password of the candidate switch.The password is notrequired if there is no password on the candidate switch.no Remove the specified member from the cluster.default Remove the specified member from the cluster.Defaults A newly enabled command switch has no associated cluster members.Command Modes Global configurationCommand History Release Modification11.2(8)SA6 This command was first introduced.Usage Guidelines Enter this command only on the command switch to add a member to or remove a member from thecluster.If you enter this command on a switch other than the command switch, the switch rejects thecommand and displays an error message.You must enter a member number to remove a switch from the cluster
[ Pobierz całość w formacie PDF ]