| |
Configure the Catalyst 4500 Switch with Cisco Network Assistant
|
|
|
|
Introduction
This document explains how to use the Cisco Network Assistant (CNA)
software to configure a Catalyst 4500 switch.
Back to Top
Requirements
To perform the steps described in this document, you need to have these
items:
Note: This configuration assumes that you have a supervisor module
installed in slot 1 of the switch and a switch module installed in slot 2. This
document provides instructions to connect to the switch with the first
available Ethernet port in this configuration, FastEthernet 2/1.
Note: If your switch does not have a switch module installed in slot 2, use
the first available Ethernet port on your switch. For example, if the first
available Ethernet port is installed in slot 3 of the switch, you need to use
interface FastEthernet 3/1 to connect to the switch.
Back to Top
Prepare to Configure the Switch
Follow these steps to prepare your switch for configuration with
CNA:
-
Ensure that the switch is powered on. The switch takes
approximately 2-3 minutes to boot.
-
Connect a console cable from the PC to the console port of the
switch. For more information about cables, refer to
Cable
Descriptions.
-
Create a terminal connection to the switch. For more information
about how to create a terminal connection, refer to
Create a
HyperTerminal Connection.
-
At the autoinstall prompt, press Enter to
terminate autoinstall.
Note: If the autoinstall prompt does not display when you log into the
switch, press Enter.
Would you like to terminate autoinstall [yes]:
-
Type enable and press
Enter.
Switch>enable
Switch#
-
Type configure terminal and press
Enter.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
-
Type ip http server and press
Enter.
Switch(config)#ip http server
-
Type interface vlan 20 and press
Enter.
Switch(config)#interface vlan 20
Switch(config-if)#
-
Type ip address root-switch-ip
255.255.255.0 and press Enter. For
root-switch-ip, use the root switch IP address that you entered in field L8 of
the LAN Addressing Worksheet.
Switch(config-if)#ip address 192.168.10.2 255.255.255.0
-
Type no shutdown and press
Enter.
Switch(config-if)#no shutdown
Switch(config-if)#
-
Type exit and press
Enter.
Switch(config-if)#exit
Switch(config)#
-
Type interface fastethernet 2/1 and
press Enter.
Note: If your switch does not have a switch module installed in slot 2,
use the slot and port number of the first available Ethernet port on your
switch in place of interface FastEthernet 2/1.
Switch(config)#interface fastethernet2/1
Switch(config-if)#
-
Type macro description cisco-desktop and
press Enter.
Switch(config-if)#macro description cisco-desktop
-
Type switchport mode access and press
Enter.
Switch(config-if)#switchport mode access
-
Type switchport access vlan 20 and press
Enter.
Switch(config-if)#switchport access vlan 20
-
Type no shutdown and press
Enter.
Switch(config-if)#
Switch(config-if)#no shutdown
-
Type end and press
Enter.
Switch(config-if)#end
Switch#
-
Type write memory and press
Enter.
Switch#write memory
Building configuration...
Compressed configuration from 4128 to 1219 bytes[OK]
-
Exit the terminal software.
Back to Top
Connect to the Switch
Follow these steps to connect your PC to the switch:
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, click 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 an IP address that matches the
switch. For example, if the switch has IP address 192.168.10.2 with subnet mask
255.255.255.0, use 192.168.10.50 with the subnet mask
255.255.255.0. For more detailed instructions, refer to
Configure
an IP Address on Your PC.
Connect the PC to the Switch
To create a connection to the switch, connect the PC to the first
available Ethernet port on the switch. Follow these steps to connect your PC to
the switch:
Note: The Ethernet management port on the 4500 series switch is used for
emergency software image recovery only. This port is not active during normal
operation of the switch.
-
Connect one end of a straight-through Ethernet cable to Ethernet
port 2/1 on the front panel of the switch.
Note: If you do not have a switch module installed in slot 2 of your
switch, use the first available Ethernet port on the switch in place of
interface FastEthernet 2/1.
-
Connect the other end of the Ethernet cable to the Ethernet port on
your PC.
-
Verify that the port status LEDs turn green on both connected
Ethernet ports.
Connect to the Switch with CNA
Follow these steps to log in to the switch with CNA:
-
To launch CNA, go to Start > Programs > Cisco Network
Assistant > Cisco Network Assistant.
-
When the Connect window opens, type 192.168.10.2
in the Connect To field, and then click
Connect.
Note: If you are unable to connect to the switch with CNA, see
Troubleshoot the Procedure for help.
-
CNA displays the current network topology.
Back to Top
Configure the Switch
Follow these steps to configure VLANs on the switch with CNA:
Note: 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.
Configure VTP Server
Follow these steps to configure the VLAN trunking protocol (VTP)
server:
-
On the Features tab, click Configure > Switching >
VLANs.
-
In the VLANs window, click the Configure VTP
tab.
-
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 Router Worksheet.
To save the VTP information, click Apply, and then
click OK.
Configure the Host Name
The host name identifies the switch. Follow these steps to configure or
change the host name on the switch:
-
On the Features tab, click Configure > Device Properties
> Hostname.
-
Type rootsw in the New Hostname field. Click
Apply, then 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.
-
On the Features tab, click Configure > Device Properties
> Users and Passwords.
-
In the Users and Passwords window, click the
Local Username/Password tab.
-
Click Create.
-
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.
-
Click Apply. The user information appears in the
Username list.
-
In the same Users and Passwords window, click the
HTTP Authentication tab.
-
Click the Local Username/Password radio button,
and 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.
-
Click the Enable Password
tab.
-
Click Create.
-
Choose privilege level 15. 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.
-
Click the Console/Telnet Password tab.
-
Next to Console and Telnet, type the admin password that you
entered in field S5 of the Switch Port Assignments
Worksheet.
-
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.
Click OK.
-
After you change the system passswords, CNA prompts 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 does not appear until you perform another action
in CNA.
Set the System Time
Follow these steps to configure the clock time zone and the Network
Time Protocol (NTP) server:
-
On the Features tab, click Configure > Device Properties
> System Time.
-
In the System Time window, click
Modify.
-
In the Modify System Time window, enter the system
time information.
-
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.
-
In the Auto Daylight Saving Adjustment drop-down list, select
enable.
Note: You need not manually enter the current time because the switch
uses the router as a time server.
-
Click OK.
-
In the System Time window, click
NTP.
-
In the Network Time Server window, next to IP
Address: field, enter the IP address of the router that you entered in field
L6A of the LAN Addressing Worksheet, and click
OK.
-
Click OK in the Info: Network Time
Server window.
-
Click Apply and click OK in the
System Time window.
Configure Port Settings
Follow these steps to configure Description, Duplex/Speed and Port Fast
settings on your switch ports:
-
On the Features tab, click Configure >
Ports > Port
Settings.
-
Follow these steps to configure a descriptive name for the ports or
interfaces of the switch:
-
Click on the Configuration Settings tab.
-
Click the Description field for Fa0/1 and enter the brief text
description of the port. For example the first port of the switch Fa0/1 is
connected to Router port hence, enter the text description for that port as
Connected to Router.
Click Apply.
-
To enable or disable a switch port, click Status
field for the respective port and select enable or
disable from the drop-down list. For example to enable port
Fa0/2 which is in administratively shut down mode, click on Status for Fa0/2
and select enable from drop-down list.
Click Apply.
-
To configure Duplex/Speed setting for the port, click on
Duplex or Speed field for the respective port
and select the appropriate value form the drop-down list. For example, to
configure a switch port duplex/speed settings for Fa 0/4 port connected to a 10
Mbps Hub, click the Speed field and select
10. Click on Duplex field for the same port
and select half.
Click Apply.
-
To enable Port Fast on a port, click Port Fast
field for the respective port and select enable from
the drop-down list. To disable Port Fast, select disable from
the drop-down list. You can choose to enable it for only static-access ports or
for both static-access ports and trunk ports.
Click Apply and click OK.
Note: Use the table to see information on various Switch Port settings
that can be configured on your switch.
Port Settings
|
Explanation
|
Description
|
Text description of the port. Click
Describe in the Port Settings window to
describe multiple ports.
You cannot use the ? and / characters.
If you select more than one port, this field is not
available.
|
Status
|
Setting to enable or disable the port, which can be
different from the runtime setting. For example, if no device is connected to a
port, it can be administratively enabled with a runtime status of DOWN.
If you change other settings on a disabled port, they do
not take effect until you enable the port.
When you disable a port, a linkdown trap is sent to the
management station if you configure an SNMP manager.
|
Duplex
|
Follow these steps to set for duplex: full duplex, half
duplex, or auto:
-
The default setting for Gigabit Ethernet and GigaStack
GBIC ports is auto. These ports automatically match the duplex capability of an
attached device.
-
To set a duplex value other than auto, the speed value
must be other than auto. The duplex value must be auto if the port speed is set
to auto and if the port can run at a speed of 1000 Mbps.
-
GigaStack GBIC stack connections operate in half-duplex
mode.
-
Point-to-point GigaStack GBIC port connections operate in
full-duplex mode.
|
Speed
|
Settings for the 10/100-Mbps and 10/100/1000-Mbps ports:
-
10 (Ports run at a forced speed of 10 Mbps.)
-
100 (Ports run at a forced speed of 100 Mbps.) • 1000
(Ports run at a forced speed of 1000 Mbps.)
-
auto (Ports autonegotiate and advertise all available
speeds.) The default setting for 10/100- and 10/100/1000-Mbps ports is auto.
Ethernet ports can automatically match the transmission speed of an attached
device.
The default setting for 10/100- and 10/100/1000-Mbps ports
is auto. Ethernet ports can automatically match the transmission speed of an
attached device.
|
Port Fast
|
Immediately brings a port from the blocking state into the
forwarding state by eliminating the forwarding delay (the amount of time a port
waits before changing from its STP learning and listening states to the
forwarding state).
|
Configure a Default Gateway
Follow these steps to configure a default gateway on the
switch:
-
On the Features tab, click Configure > Device Properties
> IP Addresses.
-
Click the Device Configuration
tab.
-
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 Apply, and click OK.
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.
-
On the Features tab, click Configure >
Smartports. A window displays with a graphic illustration of the
switch.
-
Follow these steps to update the settings for the Fastethernet port
2/2:
Note: This section gives instructions on how to configure Smartports on
ports 2/2 through 2/48. If your switch does not have a switch module installed
in slot 2, use the slot and port numbers available on your switch, starting
with the second available Ethernet port.
-
Click on port 2 so that it is selected yellow. Click
Modify.
Note: You need to expand the Smartports window to view all ports on
the switch.
-
For Port role, choose
Router.
-
For VLAN, choose Default
(20).
-
Click OK.
Note: When you receive a warning message that you are about to change
a port role, click Yes to continue.
-
Configure ports 3 through 9 with these assignments:
-
Port 3 is reserved for future use- no changes to the Smarport
settings are required.
-
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 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.
-
Select the remaining ports on the switch except for port 3, and
configure them to use the port role Desktop and the VLAN
Default (20).
Caution: This operation may take up to 2 minutes to complete.
-
In the Port Setup window, click
Apply, then click OK.
Save Your Configuration
Follow these steps to save your configuration.
Note: When you save your configuration, CNA disconnects from the
switch.
-
On the Features tab, click Configure > Save
Configuration.
-
In the Save Configuration window, use the Hostname
drop-down list to select rootsw.
-
Click Save.
-
Click Application > Exit to close the CNA
application. Click Yes to confirm.
Back to Top
Connect the Switch to Your Network
Identify the type of cable needed to connect each network device to the
switch. For more information about 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
|
Management Workstation
|
Port 2
|
Router
|
Port 3
|
Reserved for future use
|
Port 4
|
PIX
|
Port 5
|
Access Point
|
Ports 6 though 9
|
Additional switches
|
Remaining ports
|
Additional devices
|
Follow these steps to connect devices to your switch:
-
Connect one end of an Ethernet cable to a port on your
switch.
-
Insert the other end of the Ethernet cable into a port on the
target device (server, workstation, router, switch, etc.).
-
Wait for approximately 30 seconds, and 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 4000 series
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 connected a PC directly to the switch, but you are unable
to establish a connection with CNA.
|
-
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 matches the IP address of
the root switch. If the root switch is 192.168.10.2, the PC
must use 192.168.10.50 and subnet mask
255.255.255.0.
-
Ensure that you type the correct IP address in the
Connect window. Retype 192.168.10.2, and
click Connect.
-
Ensure that you use 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 type the correct IP address in the
Connect window. Retype the IP address that you assigned to the
switch, and click Connect.
-
Ensure that you use 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.
-
Ensure that the port you are connected to has an assigned
port role. To view port settings in CNA, click Configure >
Smartports.
-
Contact the
SMB
Technical Assistance Center (SMB TAC) for
assistance.
|
Back to Top
Related Information
|
|