cc/td/doc/product/lan/c29xx
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring the Switch

Configuring the Switch

This chapter describes how to perform the following configuration tasks:

For detailed descriptions and configuration instructions, refer to the Catalyst 5000 Series Advanced Software Configuration Guide.

Identifying the Default Switch Configuration

The Catalyst 2926 switch has features that you can customize, but the default values might suit your environment. The default values of these features are set as follows:

Changing the Default Switch Configuration

The commands listed in Table 5-1 are used to change the default configuration. Additional configuration commands are listed in Table 5-2.


Note Use the show command with any other command to verify or review your system status. You can also use the clear command with any command.


Table 5-1: Commands for Changing the Default Configuration
Task Command
Uploading/downloading system information upload or download
Establishing the console port connection

    • At the password prompt, press Return.

    • Enter privileged mode.

    • At the password prompt, press Return.

enable

Setting the system information

    • Set the system contact.

    • Set the system location.

    • Set the system name.

    • Set the system time.

    • Set the system prompt.

    • Set the system password.

    • Set the system password protection.

set system contact contact_string

set system location location_string

set system name name_string

set time day_of_week mm/dd/yy hh:mm:ss

set prompt prompt_string

set password

set enablepass

Setting the interface type

    • Configure the network interface.

set interface sc0 ip_address [netmask[broadcast]]

    • Add IP addresses to the IP routing table.

set ip route default gateway [metric]

Configuring SLIP on the console port

    • Set the IP address for the console port.

    • Enable the SLIP for the console port.

set interface slip_address_dest_address

slip attach

Creating a BOOTP server

    • Install the BOOTP server code on the workstation.

    • Add entry in BOOTP configuration file.

show module

Configuring SNMP management set snmp community read-only | read_write | read_write_all community string
set snmp trap rcvr_address rcvr_community
set snmp trap enable
Setting an Ethernet or Fast Ethernet port name

set port name mod_num/port_num [name_string]
Setting an Ethernet or Fast Ethernet port priority level set port level mod_num/port_num
normal | high
Setting 10/100Base TX port speed set port speed mod_num/port_num
[10 | 100 | auto]
Setting the Ethernet or Fast Ethernet port transmission type set port duplex mod_num/port_num
half | full

Table  5-2:
Commands Useful for Configuring the Switch
Task Command
Send ICMP1 echo request packets to another node on the network. ping
Show the system configuration. show configuration
Show the module information. show module
Show the port information. show port
Show the system information. show system
Start a telnet connection to a remote system. telnet

1 ICMP = Internet Control Message Protocol

Configuring the 10/100-Mbps Fast Ethernet Ports

This section lists the default configurations of the Fast Ethernet autosensing switched ports and provides a list of commands needed to quickly configure them. For complete configuration information, refer to the Catalyst 5000 Series Advanced Software Configuration Guide.

Default Configuration

The features you can customize have default values that will most likely suit your environment and need not be changed. Table 5-3 lists the default values of these features.


Table 5-3: Default Configuration Values
Feature Default Setting
Port enable state All ports are enabled
Port name None
Port priority level Normal
Port duplex setting 10/100-Mbps Fast Ethernet interfaces set to auto to support autonegotiation of half- or full-duplex
VLAN All ports are on VLAN 1
Spanning-Tree Protocol Enabled for VLAN 1

Quick Configuration

Table 5-4 lists the commands needed to quickly configure the Fast Ethernet ports. For complete configuration information, refer to the Catalyst 5000 Series Advanced Software Configuration Guide.


Table 5-4: Fast Ethernet Quick Configuration
Feature Command
Setting Up the System

  • Setting the port name

set port name mod_num/port_num    [name_string]

  • Setting the port priority level

set port level mod_num/port_num {normal | high}

  • Setting the port speed

set port speed mod_num/port_num {10 | 100 | auto}

  • Setting the port duplex mode

set port duplex mod_num/port_num {full | half | auto}

Checking Connectivity

  • Send an echo request from the Catalyst 2926 switch to the host.

ping host

  • If the host is unresponsive, check the configuration for the IP address of the Catalyst 2926 switch and default IP route, if appropriate.

show interface

show ip route

Configuring Spanning-Tree Protocol
Enable spanning tree set spantree enable [vlan]
Enabling Fast EtherChannel on a Fast Ethernet Interface
Step 1 Ensure that the ports you want to channel are configured correctly.
Step 2 Ensure a loop-free topology for all channeled VLANs.
Step 3 Create an Ethernet channel. set port channel port_list on
Step 4 Disable spanning tree for all channeled VLANs. set spantree disable vlan

Upgrading the Supervisor Engine Software

New software releases are released periodically to implement new features and enhancements and to provide maintenance for existing releases. You can use the following two methods to update the software on the Catalyst 2926 switch:

Use the procedures in the following sections to verify your current software version and then, if necessary, download new software to the supervisor engine.

Verifying the Software Version

When you start the system, the system loads the system image from Flash memory. You can use the show flash or show version commands to display the current system image version.


Note If necessary, you can reload the system image from Flash memory without restarting the system. Refer to the reload command description in the Catalyst 5000 Series Command Reference publication for details.

The show version and show flash commands show the current Flash code version on the first line of the supervisor engine display.

If the display shows that the system image loading from Flash memory is not the correct version, use the download command to load the new system image to the supervisor engine (refer to the section "Downloading a New System Image" for a TFTP download procedure).

Downloading a New System Image


Note Software updates are distributed on Sun- and PC-compatible 3.5-inch disks.

To download a new image into Flash memory, perform the following steps from a console, using TFTP:

Step 1 Ensure that the workstation acting as the download server has the TFTP daemon.

Step 2 On Sun workstations, make sure the /etc/inetd.conf file contains the following line:


Make sure the /etc/services file contains the following line:


Step 3 Copy the new software from the floppy disks to the home directory specified for the TFTP daemon on the workstation (usually /tftpboot). If this directory does not exist, create it before continuing. The file you copy is c5009_xx.bin, where xx is the software revision number.

Step 4 Log in to the switch through the command line or through a Telnet session.

Step 5 Use the download host file command. Specify the IP address or host name of the workstation acting as the download server. Also specify the file to download. If you are downloading a software file for an FDDI or Asynchronous Transfer Mode (ATM) module, you must also specify the module number. The following is the command syntax:

In the following example, when no module number is given, the file downloads by default to module 1:


Step 6 When the following prompt appears, press y:

The switch erases the Flash code and reprograms the module on the supervisor engine with the downloaded Flash code.


You see the following screen display:



Step 7 Reset the switch.

Step 8 Perform the following steps to verify that the new Flash code version is loaded:

If the new Flash code version is displayed, your installation is complete.

If a different (older) version is displayed, the old Flash code version is still loading from Flash memory.


hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.