|
|
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.
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:
The commands listed in Table 5-1 are used to change the default configuration. Additional configuration commands are listed in Table 5-2.
| Task | Command |
|---|---|
| Uploading/downloading system information | upload or download |
Establishing the console port connection
|
|
Setting the system information
|
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 | |
| |
|
set ip route default gateway [metric] |
Configuring SLIP on the console port
|
set interface slip_address_dest_address |
Creating a BOOTP server
|
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 |
| 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 |
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.
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.
| 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 |
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.
| Feature | Command |
|---|---|
| Setting Up the System | |
|
set port name mod_num/port_num [name_string] |
|
set port level mod_num/port_num {normal | high} |
|
set port speed mod_num/port_num {10 | 100 | auto} |
|
set port duplex mod_num/port_num {full | half | auto} |
| Checking Connectivity | |
|
ping host |
|
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 |
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.
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.
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).
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:
Console> (enable) download host_file [module_num]
In the following example, when no module number is given, the file downloads by default to module 1:
Console> (enable) download 190.180.122.40 c5009_11xx.bin
Step 6 When the following prompt appears, press y:
Download image filename from IP address to Module 1? (y/n) [n]? 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:
(a) Look at the supervisor engine status LEDs and verify that the interfaces return to the same state they were in prior to the download (some might have been shut down).
(b) Enter the show module command to display the information on the Fast Ethernet interfaces.
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.
|
|