Cisco Systems, Inc.(R)    Cisco | Profile | Contacts & Feedback | Help
Cisco SMB Support Assistant
Set Up a Catalyst Switch
Home > Work With My Switches > Cisco Catalyst Switches > Set Up a Catalyst Switch  
 

Step 4: Configure a Catalyst Switch with Cisco Network Assistant



    Step 1:   Cisco SMB Support Assistant Site Survey
    Step 2:   Hardware Setup Procedure for the Catalyst Switch
                  Hardware Setup Procedure for the Catalyst 2955 Switch
                  Hardware Setup Procedure for the Catalyst 4500 Series Switch
    Step 3:   Download and Install Cisco Network Assistant
    Step 4:  Configure the Catalyst Switch with Cisco Network Assistant
                      Introduction
                      Requirements
                      Connect to the Switch
                           Change the IP Address on the PC
                           Put the Switch in Setup Mode
                           Connect the PC to the Switch
                      Configure the Switch
                           Connect to the Switch with CNA
                           Create a VLAN
                           Configure VTP Server
                           Configure the Host Name
                           Configure Passwords
                           Set the System Time
                           Configure the IP Address
                           Configure Port Assignments
                           Save Your Configuration
                           Reconnect to the Switch
                           Configure the Remaining Ports
                           Save Your Configuration
                      Connect the Switch to Your Network
                      Next Step
                      Troubleshoot the Procedure
                      Related Information



Introduction

This document explains how to use the Cisco Network Assistant (CNA) software to configure a Catalyst switch for the first time. This procedure applies to 2900XL, 2940, 2950, 2960, 2970, 3500XL, 3550, 3560, and 3750 model Catalyst switches.


Back to Top



Requirements

To perform the steps described in this document, you need to have these items:


Back to Top



Connect to the Switch

Follow these steps to connect your PC to the switch for configuration:

Change the IP Address on the PC

Your PC must have a compatible IP address in order to communicate with the switch. Before you change your TCP/IP settings, make note of your current settings.

To configure the IP address on your PC, go to the Start > Settings > Control Panel > Network and Dialup Connections. Right-click on your network connection icon and choose Properties. Select Internet Protocol (TCP/IP) and click Properties. Enter the IP address 10.0.0.2 with a subnet mask of 255.255.255.0. For more detailed instructions, refer to Configure an IP Address on Your PC.

Put the Switch in Setup Mode

Follow these steps to put the switch in setup mode:

  1. Press and hold the Mode button for approximately 2 seconds, or until all LEDs next to the Mode button except for the RPS LED turn green. On the 2940 switch, hold the Mode button until all of the LEDs above the Mode button turn green. On the 2960 switch, hold the Mode button until the all of the LEDs except the RPS and SPEED turn green.

    configure_catalyst_03.gif

    Note: The model illustrated is a Catalyst 2950. Your switch may look slightly different.

  2. When all LEDs except the RPS LED turn green, release the Mode button. All LEDs except the RPS LED should remain green. On the 2940 switch, all of the LEDs remain green. On the 2960 switch, all of the LEDs except the RPS and SPEED remain green.

    If the LEDs begin to blink after you have held the Mode button for 2 seconds or you cannot get the required LEDs to remain lit, then the switch has an existing configuration and cannot enter setup mode. Refer to Troubleshoot the Procedure for assistance.

Connect the PC to the Switch

Follow these steps to connect your PC to the switch:

Note: For configuration, the switch must be connected only to the PC. Verify that no other devices are connected to the switch.

  1. Connect one end of a straight-through Ethernet cable to Ethernet port 20 on the front panel of the switch. If you have a 2940 switch, connect one end of a straight-through Ethernet cable to any Ethernet port on the front panel of the switch.

    Note: Port 1 is typically the management port, but for VLAN configuration you cannot use port 1 as the management port for setup.

  2. Connect the other end of the Ethernet cable to the Ethernet port on your PC.

    configure_catalyst_01.gif

  3. Verify that the port status LEDs turn green on both connected Ethernet ports.


Back to Top



Configure the Switch

Follow these steps to configure VLANs on the switch with CNA:

Connect to the Switch with CNA

Follow these steps to log in to the switch with CNA:

  1. To launch CNA, go to Start > Programs > Cisco Network Assistant > Cisco Network Assistant.

  2. When the Connect window opens, type 10.0.0.1 in the Connect To field, and then click Connect.

    configure_catalyst_04.gif

    Note: If you are unable to connect to the switch with CNA, see Troubleshoot the Procedure for help.

Create a VLAN

CNA operates in two modes: Expert View and Guide View. The default view for CNA 3.0 is Expert View. To ensure that you are in Expert View, click the Expert button on the far right of the toolbar.

Follow these steps to create a VLAN on the switch:

  1. On the Features tab, click Configure > Switching > VLANs.

    configure_catalyst_4a.gif

  2. In the VLANs window, click the Configure VLANs tab.

    configure_catalyst_4b.gif

  3. Click Create to open the Create VLAN window.

  4. Enter the VLAN information for the new VLAN.

    • In the VLAN ID field, enter 20.

    • In the VLAN Name field, enter Default.

    • Leave the VLAN Status field set as Active.

    Click OK.

    configure_catalyst_4n.gif

  5. When you are finished, the two VLANs appear in the VLANs window. Click Apply, and then click OK.

    configure_catalyst_4o.gif

Configure VTP Server

Follow these steps to configure the VLAN trunking protocol (VTP) server:

  1. On the Features tab, click Configure > Switching > VLANs.

    configure_catalyst_4a.gif

  2. In the VLANs window, click the Configure VTP tab.

  3. Enter the VTP information for the new VLANs.

    • For V2 VTP Mode, select Enabled.

    • For VTP Mode Control, select Server.

    • For VTP Pruning Mode, select Disabled.

    • For Domain Name, type SMB.

    • For VTP Password, type the enable password of the router that you entered in field B12 on the Internet worksheet.

    Click OK to save the VTP information.

    configure_catalyst_4f.gif

Configure the Host Name

The host name identifies the switch. Follow these steps to configure or change the host name on the switch:

  1. On the Features tab, click Configure > Device Properties > Hostname.

    configure_catalyst_05.gif

  2. Since this is the root switch, type rootsw in the New Hostname field.

    configure_catalyst_06.gif

  3. Click OK.

Configure Passwords

Follow these steps to create or change passwords on the switch:

Note: Refer to Password Security for guidelines on how to create secure passwords.

  1. On the Features tab, click Configure > Device Properties > Users and Passwords.

    configure_catalyst_07.gif

  2. In the Users and Passwords window, click the Local Username/Password tab.

  3. Click Create.

  4. Enter the administrative user name and password information:

    • In the Username field, enter admin.

    • In the password fields, enter the password, and then enter the password again to confirm. Use the admin password that you entered in field S5 of the Switch Port Assignments worksheet.

    • Use the Privilege Level drop-down list to set the access level to 15. This level has read-write access; all user levels under 15 have read-only access.

    Click OK.

    configure_catalyst_08.gif

  5. Click Apply. The user information appears in the Username list.

    configure_catalyst_09.gif

  6. Click the HTTP Authentication tab.

  7. Click the Local Username/Password radio button, and then click Apply.

    Note: When you receive an alert message that you have changed your authentication values, click Yes to continue. You do not need to relaunch CNA.

  8. Click the Enable Password tab.

  9. Click Create.

  10. In the password fields, enter the enable password, and then enter the password again to confirm. Click OK. Use the enable password that you entered in field S5 of the Switch Port Assignments worksheet.

    configure_catalyst_10.gif

  11. Click the Console/Telnet Password tab.

  12. Under Console and Telnet, type the admin password that you entered in field S5 of the Switch Port Assignments worksheet.

    configure_catalyst_25.gif

  13. Click Apply in the Users and Passwords window. When you receive an alert message that you have changed your authentication values, click Yes to continue. Then click OK.

  14. After you change the system passswords, CNA may prompt you to log in again. If the Network Authentication window appears, log in to CNA with the admin username and password that you entered in fields S5 of the Switch Port Assignments worksheet. Click OK.

    Note: The login prompt may not appear until you perform another action in CNA.

    configure_catalyst_11.gif

Set the System Time

Follow these steps to configure the clock time zone and the Network Time Protocol (NTP) server:

  1. On the Features tab, click Configure > Device Properties > System Time.

    configure_catalyst_12a.gif

  2. In the System Time window, use the Time Zone drop-down list to select the correct time zone for your location. Use the system time that you entered in field B13 in the Internet worksheet.

    Note: You do not need to manually enter the current time because the switch uses the router as a time server.

    configure_catalyst_12b.gif

  3. Click Advanced.

  4. In the Server field, enter the IP address of the router that you entered in field L6A of the LAN Addressing Worksheet, and click OK.

    configure_catalyst_12c.gif

  5. Click OK in the System Time window.

Configure the IP Address

Configure VLAN 20 with the IP address that you entered in field L8 of the LAN Addressing Worksheet.

  1. On the Features tab, click Configure > Device Properties > IP Addresses.

    configure_catalyst_13.gif

  2. On the Interface Configuration tab, enter the IP address information.

    • Click the IP Address field for VLAN 20, and then enter the IP address of the root switch that you entered in field L8 of the LAN Addressing Worksheet.

    • Click the Subnet Mask field, and then select 255.255.255.0 from the drop-down list.

    Click Apply.

    configure_catalyst_14a.gif

  3. Click the Device Configuration tab.

  4. Enter the default gateway information for the switch.

    • In the Default Gateway field, enter the IP address for the router that you entered in field L6A of the LAN Addressing Worksheet.

    • In the Domain Name field, enter the domain name for the device that you entered in field B48 of Internet Worksheet.

    • Uncheck the Enable Domain Lookup check box.

    Click OK.

    configure_catalyst_15.gif

Configure Port Assignments

Follow these steps to configure switch ports with Smartports. Smartports is a feature that helps you apply consistent configurations to ports based on roles that you assign to each port. CNA then applies appropriate port settings for the connection type.

  1. On the Features tab, click Configure > Smartports. A window displays with a graphic illustration of the switch.

    configure_catalyst_16a.gif

  2. Click port 1 to select the port, and then click Modify.

  3. In the Modify Port Roles window, configure the port role and attributes.

    • Use the Role drop-down list to set the port role to Desktop.

    • Use the Access VLAN drop-down list to set the Access VLAN field to Default (20).

    Click OK.

    configure_catalyst_16c.gif

    The port is assigned with the desktop macro, which appears on the switch illustration.

    configure_catalyst_17.gif

  4. Configure ports 2 through 9 with these assignments:

    • For port 2 (for use by a router), set the port role to Router and Native VLAN to Default (20).

      Note: When you receive a warning message that you are about to change a port role, click Yes to continue.

    • Port 3 is reserved for future use.

    • For port 4 (for use by PIX internal), set the port role to Desktop and Access VLAN to Default (20).

    • For port 5 (for use by a wireless access point) and ports 6 through 9 (for use by switches), set the port role to Switch and Native VLAN to Default (20). To configure these ports at one time, press Ctrl on your keyboard while you click each port in the CNA window.

      Note: When you receive a warning message that you are about to change a port role, click Yes to continue.

    Click OK. When you receive a warning message that modified ports will be set to factory default, click Yes to continue.

    configure_catalyst_18.gif

Save Your Configuration

Follow these steps to save your configuration.

Note: When you save your configuration, CNA disconnects from the switch.

  1. On the Features tab, click Configure > Save Configuration.

  2. In the Save Configuration window, use the Hostname drop-down list to select rootsw.

    configure_catalyst_22.gif

  3. Click Save. This causes the switch to exit setup mode and disconnect from your PC. All LEDs on the switch shut off except the SYS and STAT LEDs, which remain green.

  4. Close the CNA application.

Reconnect to the Switch

Follow these steps to reconnect to the switch on a different port:

  1. Unplug the Ethernet cable from port 20, and then insert the cable into port 1.

  2. Change the TCP/IP setting on your PC to match the switch (for example, 192.168.10.50). Right-click on the network connection icon in your system tray and open the network connections window. Right-click on the Local Area Connection icon and choose Properties. Select Internet Protocol (TCP/IP), click Properties, and then enter the new IP address.

    Note: You may need to restart your computer after you change the IP address.

  3. Launch CNA. When the Connect window appears, enter the switch IP address from field L8 on the LAN Addressing Worksheet (for example, 192.168.10.2), and then click Connect.

    configure_catalyst_23.gif

  4. When the Network Authentication window appears, log into the switch with the admin user ID and password.

Configure the Remaining Ports

Follow these steps to configure the rest of the ports on the switch.

  1. On the Features tab, click Configure > Smartports. A window displays with a graphic illustration of the switch.

    configure_catalyst_16a.gif

  2. Drag the mouse cursor over ports 10 through 24 (or 48) to highlight the ports with a yellow outline.

  3. Click Modify.

  4. In the Modify Port Roles window, configure the port type and attributes.

    • Use the Role drop-down list to set the macro type to Desktop.

    • Use the Access VLAN drop-down list to set the Access VLAN field to Default (20).

    Click OK.

    configure_catalyst_24.gif

  5. Click OK in the Smartports Setup window. The remaining ports are now configured.

Save Your Configuration

Follow these steps to save your configuration.

  1. On the Features tab, click Configure > Save Configuration.

  2. In the Save Configuration window, use the Hostname drop-down list to select rootsw.

    configure_catalyst_22.gif

  3. Click Save. You can now close the CNA application.

  4. To disconnect your PC from the switch, remove the Ethernet cable from the ports on the PC and the switch. You may need to restore the TCP/IP settings on your PC to the original values. Refer to Configure an IP Address on Your PC for instructions.


Back to Top



Connect the Switch to Your Network

Identify the cables that you need to connect the switch to your network. If you are not sure how to identify the types of Ethernet cables, refer to Cable Descriptions.

  • To connect your switch to a server, workstation, or router, use a straight-through Ethernet cable.

  • To connect your switch to a repeater or another switch, use a crossover Ethernet cable.

Connect devices to the switch according to the Switch Port Assignments Worksheet. The general assignments are shown in this table.

Port

Device

Port 1

Workstation

Port 2

Router

Port 3

Reserved for future use

Port 4

PIX

Port 5

Access Point

Ports 6 though 9

Additional switches

Ports 10 through 24 or 48

Additional devices

Follow these steps to connect devices to your switch:

  1. Connect one end of an Ethernet cable to a port on your switch.

  2. Insert the other end of the Ethernet cable into a port on the target device (server, workstation, router, switch, etc.).

  3. Wait for approximately 30 seconds, and then verify that the port status LED on the switch turns green. If the LED is off and does not turn green, see Troubleshoot the Procedure for help.


Back to Top



Next Step

You have completed configuration of your Catalyst switch.

If want to add additional switches, refer to Add a New Ethernet Switch.

To make other changes to your switch, refer to the Switch Support Page.

To configure other devices in your network, refer to the Configuration Overview Page.


Back to Top



Troubleshoot the Procedure

This section provides information about common problems that you may encounter. If this information does not solve your problem, contact the SMB Technical Assistance Center (SMB TAC) for assistance.

Problem

Cause(s) and Suggested Solution(s)

You are unable to put the switch into setup mode because the four Mode LEDs begin to blink after you have held the Mode button for two seconds or you cannot get the four LEDs to remain lit.

The switch has an existing configuration on it. To clear the current configuration from the switch, follow these steps:

  1. Press and hold the Mode button. The switch LEDs will begin to blink after about two seconds.

  2. Continue to hold the Mode button for approximately eight more seconds, or until the LEDs stop blinking.

  3. Release the Mode button. The switch will then reboot.

  4. Wait 1 minute for the power-on self test (POST) to complete successfully. When POST is complete the SYST and STAT LEDs will display green.

  5. Press and hold the Mode button for approximately two seconds, or until all LEDs next to the Mode button except for the RPS LED turn green.

You connected a PC directly to the switch, but you are unable to establish a connection with CNA.

  • Ensure that the power-on self test (POST) completed successfully. The SYST and STAT LEDs must be green.

  • After you connect the switch to the PC, you must wait 30 seconds before you can try to connect. Wait 30 seconds, and then try to connect again.

  • Verify the IP Address on your PC is 10.0.0.2.

  • Ensure that you typed the correct IP address in the Connect window. Retype 10.0.0.1, and then click Connect.

  • Ensure that you used the proper cable. You must use a straight-through cable, not a crossover cable. Refer to Cable Descriptions for more information.

You connected the switch to your network, but you are unable to establish a remote connection with CNA.

  • Ensure that you typed the correct IP address in the Connect window. Retype the IP address that you assigned to the switch, and then click Connect.

  • Ensure that you used the proper cable. To connect your switch to a server, workstation, or router, use a straight-through Ethernet cable. To connect your switch to a repeater or another switch, use a crossover Ethernet cable. Refer to Cable Descriptions for more information.

  • Ensure that the switch is connected to a subnet that matches the IP address you assigned.

You connected the switch to another device on your network, but the port status LED is off.

  • Ensure that the target device is powered on.

  • Ensure that you have used the correct cable to connect to the target device. Refer to Cable Descriptions for more information.

  • Ensure that the port adapter on the target device is operating properly.


Back to Top



Related Information

Service Requests

  Open a service request
  Update a service request

Feedback

Please rate this document.
++ + +/- - --

This document solved my problem.

Yes No Just Browsing

Suggestions for improvement:




If Cisco may contact you for more details
or for future feedback opportunities,
please enter your contact information:

Full Name:
Email:



© 1992-2006 Cisco Systems, Inc. All rights reserved. Terms and Conditions, Privacy Statement, Cookie Policy and Trademarks of Cisco Systems, Inc.