Page 1
Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 First Published: August 08, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part Number: OL-29435-01...
Page 2
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
Searching and Filtering Output of show and more Commands Accessing the CLI through a Console Connection or through Telnet Stack Manager Commands C H A P T E R 2 debug platform remote-commands debug platform stack-manager Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
An ellipsis (three consecutive nonbolded periods without spaces) after a syntax element indicates that the element can be repeated. A vertical line, called a pipe, indicates a choice within a set of keywords or arguments. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 6
Means the described action saves time. You can save time by performing the action described in the Timesaver paragraph. Warning Means reader be warned. In this situation, you might perform an action that could result in bodily injury. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html...
Page 8
Preface Obtaining Documentation and Submitting a Service Request Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 viii OL-29435-01...
Command Modes The Cisco IOS user interface is divided into many different modes. The commands available to you depend on which mode you are currently in. Enter a question mark (?) at the system prompt to obtain a list of commands available for each command mode.
Page 10
(with a Ethernet ports. To return to specific interface). privileged EXEC mode, press Ctrl-Z or enter end. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Obtains a list of commands that begin with a particular character string. Example: Switch# di? dir disable disconnect Step 3 abbreviated-command-entry <Tab> Completes a partial command name. Example: Switch# sh conf<tab> Switch# show configuration Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
CLI Error Messages This table lists some error messages that you might encounter while using the CLI to configure your switch. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
The software provides a history or record of commands that you have entered. The command history feature is particularly useful for recalling long or complex commands or entries, including access lists. You can customize this feature to suit your needs. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Returns to more recent commands in the history buffer after recalling commands with Ctrl-P or the up arrow key. Repeat the key sequence to recall successively more recent commands. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
DETAILED STEPS Command or Action Purpose Step 1 terminal editing Reenables the enhanced editing mode for the current terminal session in the privileged EXEC mode. Example: Switch# terminal editing Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 16
Command or Action Purpose Step 2 terminal no editing Disables the enhanced editing mode for the current terminal session in the privileged EXEC mode. Example: Switch# terminal no editing Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Esc C Capitalizes at the cursor. Esc L Changes the word at the cursor to lowercase. Esc U Capitalizes letters from the cursor to the end of the word. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
When the cursor first reaches the end of the line, the line is shifted ten spaces to the left and redisplayed. The dollar sign ($) shows that the Switch(config)# access-list 101 permit tcp Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Vlan1 is up, line protocol is up Vlan10 is up, line protocol is down GigabitEthernet1/0/1 is up, line protocol is down GigabitEthernet1/0/2 is up, line protocol is up Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
After you connect through the console port, through the Ethernet management port, through a Telnet session or through an SSH session, the user EXEC prompt appears on the management station. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Related Commands Command Description Monitors all or specified stack members. remote command Accesses a specific stack member from the stack master. session Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Enter the debug command at the command-line prompt of the stack member. You also can use the remote command stack-member-number LINE EXEC command on the stack master switch to enable debugging on a member switch without first starting a session. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 24
Stack Manager Commands debug platform stack-manager Related Commands Command Description Monitors all or specified stack members. remote command Accesses a specific stack member from the stack master. session Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Examples This example shows how to reload the switch stack: Switch# reload System configuration has been modified. Save? [yes/no]: y Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 26
Displays information related to the stack member or the switch stack. show switch Disables or enables the specified stack port on the member. switch Changes the stack member number. switch renumber Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
UDLD events debugging is on Related Commands Command Description Reloads the stack member and applies a configuration change. reload Displays information related to the stack member or the switch stack. show switch Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 28
Stack Manager Commands remote command Command Description Disables or enables the specified stack port on the member. switch Changes the stack member number. switch renumber Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Displays information related to the stack member or the switch stack. show switch Disables or enables the specified stack port on the member. switch Changes the stack member number. switch renumber Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Do not use this command unless your technical support representative asks you to do so. Examples This example shows how to display switch stack compatibility information: Switch# show platform stack compatibility configuration current Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
System Level Interdependent Features ============================================================== 1: FHRR hardware vlan entry sharing feature 2: Jumbo MTU Routing Support 3: VRF on PVLAN interface 4: Global VRF config with greater than MAX policies Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 32
2: Ahp keyword in IPv6 ACL 3: Unsupported prefixes in IPv6 ACL 4: Port-based FSPAN 5: IPv6 QoS match protocol support 6: IPv6 QoS ipv6 named ACL support Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Do not use this command unless your technical support representative asks you to do so. This command is supported only on stacking-capable switches. Note The summary information about the switch stack shows these states: Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 36
A typical state transition for a stack member to stack master after an election is Ready > Master Re-Init > Ready. A typical state transition for a stack member in version mismatch (VM) mode is Waiting > Ver Mismatch. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
• Ready—The member has completed loading the system- and interface-level configurations and can forward traffic. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 39
Disables or enables the specified stack port on the member. switch Supplies a configuration to a new switch before it joins the switch stack. switch provision Changes the stack member number. switch renumber Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
• If you enter the command with no value, the default delay is 4 minutes. • If you enter 0, the stack continues to use the current stack MAC address until you enter the no stack-mac persistent timer command. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 41
• show running-config—If enabled, stack-mac persistent timer and the time in minutes appears in the output. • show switch—If enabled, Mac persistency wait time and the number of minutes appears in the output. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 42
Stack Manager Commands stack-mac persistent timer Related Commands Command Description Displays information related to the stack member or the switch stack. show switch Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
This message appears: Enabling/disabling a stack port may cause undesired stack changes. Continue?[confirm] Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 44
This example shows how to disable stack port 2 on member 4: Switch# switch 4 stack port 2 disable Related Commands Command Description Displays information related to the stack member or the switch stack. show switch Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Accesses a specific stack member from the stack master. session Displays information related to the stack member or the switch stack. show switch Changes the stack member number. switch renumber Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Provisioned information appears in the running configuration of the switch stack. When you enter the copy running-config startup-config privileged EXEC command, the provisioned configuration is saved in the startup configuration file of the switch stack. Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 47
You can verify that the provisioned switch is added to or removed from the running configuration by entering the show running-config privileged EXEC command. Related Commands Command Description Displays information related to the stack member or the switch stack. show switch Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
WARNING:Changing the switch number may result in a configuration change for that switch. The interface configuration associated with the old switch number will remain as a provisioned configuration. Do you want to continue?[confirm] Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...
Page 49
Accesses a specific stack member from the stack master. session Displays information related to the stack member or the switch stack. show switch Disables or enables the specified stack port on the member. switch Catalyst 2960-XR Switch Stack Manager Command Reference, Cisco IOS Release 15.0(2)EX1 OL-29435-01...