![]() |
Catalyst 2926 and 2926G Series Installation Guide
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring the Switch
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table of ContentsConfiguring the SwitchDefault Global System Configuration
Default Ethernet, Fast Ethernet, and Gigabit Ethernet Configuration Setting the Switch IP Address Configuring Ethernet, Fast Ethernet, and Gigabit Ethernet Ports Configuring the Global System Settings Checking Network Connectivity Configuring Flow Control (Catalyst 2926G Series Switch Only) Configuring Link Negotiation (Catalyst 2926G Series Switch Only) Upgrading the Supervisor Engine Software Configuring the SwitchThis chapter describes how to perform these configuration tasks:
For detailed descriptions and configuration instructions, refer to the Software Configuration Guide for your switch. Default Global System ConfigurationThe default supervisor engine configuration is as follows:
Default Ethernet, Fast Ethernet, and Gigabit Ethernet ConfigurationThe default Ethernet, Fast Ethernet, and Gigabit Ethernet port configuration is as follows:
Setting the Switch IP AddressBefore you can Telnet to your Catalyst 2926 and Catalyst 2926G series switches, you need to assign an IP address, a subnet mask, and a default gateway. This information allows the switch to communicate using the IP protocol. When configuring the switch for the first time, assign the in-band (sc0) interface to the default VLAN, VLAN 1. After you have configured additional VLANs, you can assign the interface to any VLAN. Make sure the IP address you specify belongs to the subnet associated with that VLAN. To assign an IP address, subnet mask, and default gateway to your switch, perform these steps in privileged mode:
Configuring Ethernet, Fast Ethernet, and Gigabit Ethernet PortsEthernet, Fast Ethernet, and Gigabit Ethernet ports on both ends of a link must use the same port speed and duplex in order to communicate. The ports are configured as follows:
To set the port configuration on Ethernet or Fast Ethernet ports, perform these steps in privileged mode:
Configuring the Global System SettingsYou can specify a variety of useful global system settings for your switch, such as system name, current date and time, system prompt, and passwords. To configure the global system settings, perform these steps in privileged mode:
Checking Network ConnectivityAfter the switch is assigned an IP address and a default gateway, and at least one switch port is connected to the network and properly configured, you should be able to communicate with other nodes on the network. To check whether the switch is properly connected and configured, perform these tasks in privileged mode:
Configuring Flow Control (Catalyst 2926G Series Switch Only)The Catalyst 2926G series switch Gigabit Ethernet uplink ports and 10/100 Mbps autosensing Fast Ethernet switched ports use flow control, which inhibits packet transmission to the port for a period of time. If the port's receive buffer becomes full, the port transmits a "pause" packet that tells remote devices to delay sending more packets for a specified period of time. The port can also receive "pause" packets from other devices. To configure flow control, enter the set port flowcontrol {receive | send} mod_num/port_num {off | on | desired} command. Table 5-1 lists the flow-control tasks and commands. By default, send is set to desired and receive is set to off. Table 5-1: Gigabit Ethernet set port flowcontrol Commands
The following examples show the results of the set port flowcontrol commands: Console> (enable) set port flowcontrol send 1/1 on Port 1/1 will send flowcontrol to far end. To display the current flow-control status and statistics, enter the show port flowcontrol command. The following example shows the results of the show port flowcontrol command: Console> show port flowcontrol
Port Send-Flowcontrol Receive-Flowcntl RxPause TxPause
Admin Oper Admin Oper
---- ----------------- ---------------- ------- -------
1/1 on disagree on disagree 0 0
1/2 off off off off 0 0
Configuring Link Negotiation (Catalyst 2926G Series Switch Only)
The Catalyst 2926G series switch Gigabit Ethernet uplink ports and 10/100 Mbps autosensing Fast Ethernet switched ports use link negotiation to exchange flow-control parameters, remote fault information, and duplex information (even though Cisco Gigabit Ethernet ports only support full-duplex mode). You configure link negotiation using the set port negotiation command. Port negotiation is enabled by default. The ports on both ends of a link must have the same setting. The link will not come up if the ports at each end of the link are set inconsistently (link negotiation enabled on one port and disabled on the other). Refer to the Software Configuration Guide for your switch for more information. To enable link negotiation on a port, perform this task in privileged mode:
This example shows how to enable port negotiation and verify the configuration: Console> (enable) set port negotiation 2/1 enable Port 2/1 negotiation enabled Console> (enable) show port negotiation 2/1 Port Link Negotiation ----- ---------------- 2/1 enabled Console> (enable) To disable link negotiation on a port, perform this task in privileged mode:
This example shows how to disable port negotiation and verify the configuration: Console> (enable) set port negotiation 2/1 disable Port 2/1 negotiation disabled Console> (enable) show port negotiation 2/1 Port Link Negotiation ----- ---------------- 2/1 disabled Console> (enable) Upgrading the Supervisor Engine SoftwareNote To upgrade the supervisor engine software on the Catalyst 2926 and Catalyst 2926G series switch, see the section "Modifying the Startup Configuration" in the Software Configuration Guide for your switch. 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 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 VersionWhen you start the switch, 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 Command Reference for your switch 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 loaded from Flash memory is not the correct version, enter the download command to load the new system image on the supervisor engine as described in the section "Downloading a New System Image (Catalyst 2926 Series Switch)" for a TFTP download procedure. Downloading a New System Image (Catalyst 2926 Series Switch)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: tftp dgram udp wait root /usr/etc/in.tftpd in.tftpd -p -s /tftpboot Make sure the /etc/services file contains the following line: tftp 69/udp Note You must restart the inetd daemon after modifying the /etc/inetd.conf and /etc/services files. To restart the daemon, either stop the inetd process and restart it, or use a fastboot command (on the SunOS 4.x) or a reboot command (on Solaris 2.x or SunOS 5.x). Refer to your workstation manual for use of TFTP daemons. 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 cat5000.xx.bin, where xx is the software revision number. Step 4 Log in to the switch through the console port or through a Telnet session. Step 5 Enter the download host file command. Specify the IP address or host name of the workstation acting as the TFTP server. Also specify the file to download. The following is the command syntax:
The following example shows how to download the file from the TFTP server:
Step 6 When the following prompt appears, press y:
Note While the software is downloading, the fan, PS1, and PS2 LEDs on the supervisor engine front panel blink greenthis is normal, the switch remains operational. 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: Finished network download. (1136844 bytes) Flash erase in progress ... Erase done Programming Flash: Flash Programming Complete Flash erase in progress ... Erase done Programming Flash: Flash Programming Complete Flash erase in progress ... Erase done Programming Flash: Flash Programming Complete Flash erase in progress ... Erase done Programming Flash: Flash Programming Complete Flash erase in progress ... Erase done Programming Flash: Flash Programming Complete Flash erase in progress ... Erase done Programming Flash: Flash Programming Complete Flash erase in progress ... Erase done Programming Flash: Flash Programming Complete The system needs to be reset to run the new image. 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 before the download (some might have been shut down). (b) Enter the show version command to display the software version information. 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. Downloading a New System Image Using TFTP (Catalyst 2926G Series Switch)Use this procedure to download a software image to a Catalyst 2926G series switch: Step 1 Copy the software image file to the appropriate TFTP directory on the workstation (usually /tftpboot on a UNIX workstation). Step 2 Log into the Catalyst 2926G series switch through the console port or via a Telnet session. If you log in via Telnet, your Telnet session disconnects when you reset the switch to run the new software. Step 3 Download the software image from the TFTP server using the copy tftp flash command. When prompted, enter the IP address or host name of the TFTP server, the name of the file to download, the Flash device to which to copy the file, and the destination filename. The Catalyst 2926G series switch downloads the image file to the Flash device. Note The Catalyst 2926G series switch remains operational while the image downloads. Step 4 Prepend the image filename to the BOOT environment variable using the set boot system flash device:filename prepend command, so the new image boots when you reset the switch. Step 5 Reset the Catalyst 2926G series switch using the reset system command. If you are connected to the switch via Telnet, your Telnet session disconnects. During startup, the Flash memory on the supervisor engine is reprogrammed with the new Flash code. Step 6 When the switch reboots, enter the show version command to check the version of the code on the switch.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|