Home

Cisco Systems 4840G Switch User Manual

image

Contents

1. Command Purpose SLB Switch copy system running config Save the configuration to NVRAM nvram startup config SLB Switch reload Reboot the system When you enter boot commands be careful not to insert extra spaces because they affect the way the SLB switch interprets the command For example notice the difference in the following commands The following command correctly instructs the SLB switch to boot the image file SLB Switch config boot system flash slot0 imagel The following command incorrectly contains a space between slot0 and image2 The SLB switch finds the filename field blank and boots the first file on the Flash PC card SLB Switch config boot system flash slot0 image2 Backing Up a System Image to a TFTP Server Step 1 Step 2 Step 3 To create a backup copy of your system image or to verify that the copy in Flash memory is the same as the original file on disk you can copy system images from Flash memory to a Trivial File Transfer Protocol TFTP server In some implementations of TFTP you must create a dummy file on the TFTP server and give it read write and execute permissions before copying the file over it Refer to your TFTP documentation for more information Before you copy software between the network server and Flash memory in the SLB switch perform these tasks e Make sure you have access to the network server and obtain its IP address and name e Verify that th
2. as a management port Note Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 Any Fast Ethernet interface fastethernet 1 through 40 and any Gigabit Ethernet interface gigabitethernet 41 or 42 on the Catalyst 4840G SLB switch can be configured as a management port After you have configured an interface as a management port you cannot route or bridge traffic to the other Ethernet ports on the switch from this management port You can remotely configure the Catalyst 4840G SLB switch through the management port but first you must configure an IP address so that the switch is reachable You can configure the management port interface two ways manually from the command line interface CLI or by copying the configuration from the BOOTP server into NVRAM Before you begin to configure the management port interface manually obtain the IP address and IP subnet mask of the SLB switch Also make sure the console cable is connected to the console port You can configure the management port from an IP connected network To obtain remote management access using Telnet perform this task Command Purpose SLB Switch gt enable Enter privileged EXEC configuration mode You can also SLB Switchi t abbreviate the command to ena The sLB Switch prompt indicates that you are in privileged EXEC configuration mode SLB Switch configure terminal Enter global configuration mode You can also abbreviate the SLB
3. CHAPTER 3 Configuring the Catalyst 4840G Processor This chapter describes how to configure the Catalyst 4840G processor so it can be accessed by other devices For further information about the commands used in this chapter see Appendix A Command Reference This chapter includes the following sections Before Starting Up the Catalyst 4840G page 3 1 e Configuring the Management Port page 3 3 e Displaying the Operating Configuration page 3 4 e Enabling Fast Ethernet Client page 3 4 e Configuring a Host Name page 3 5 e Using Flash PC Cards page 3 5 amp Note You are at Step 2 in the suggested procedure for configuring your Catalyst 4840G switch See the Switch Configuration Steps section on page 2 1 Before Starting Up the Catalyst 4840G Before starting up the Catalyst 4840G switch you should verify the following e The cables are connected to the switch e A console terminal is connected to the switch For instructions refer to the Catalyst 4840G Chassis Installation Guide When you start up the switch the CLI prompts you whether to enter the initial configuration dialog Answer no to this prompt Would you like to enter the initial dialog yes no You see the following user EXEC prompt SLB Switch gt You can now begin configuring the SLB switch Catalyst 4840G Software Feature and Configuration Guide 78 10416 02 nE Chapter3 Configuring the Catalyst 4840G Processor HI Before
4. Guide and Dial Solutions Configuration Guide Using Passwords You can configure both an enable password and an enable secret password For maximum security the enable password should be different from the enable secret password e The enable password The enable password is a nonencrypted password It can contain any number of uppercase and lowercase alphanumeric characters Give the enable password only to users permitted to make configuration changes to the SLB switch e The enable secret password The enable secret password is a secure encrypted password On systems running Cisco IOS software you must type in the enable secret password before you can access global configuration mode You must type in the enable secret password to access boot ROM software An enable secret password can contain from to 25 uppercase and lowercase alphanumeric characters The first character cannot be a number Spaces are valid password characters Leading spaces are ignored trailing spaces are recognized Catalyst 4840G Software Feature and Configuration Guide 78 10416 02 Chapter 3 Configuring the Catalyst 4840G Processor Configuring the Management Port W Configuring the Management Port The management port on the Catalyst 4840G SLB switch allows multiple simultaneous Telnet or SNMP network management sessions Because there is no separate management port on the switch you can configure any Fast Ethernet or Gigabit Ethernet port
5. Note Step 1 Step 2 Step 3 Be sure that you have a properly formatted Flash PC card in the appropriate slot before beginning this procedure To copy the system image from the TFTP server to a Flash PC card perform this task Command Purpose SLB Switch cd filesystem Change the Flash device to the slot that holds the Flash PC card SLB Switch pwd Verify that you are in the right directory SLB Switch copy tftp flash Copy a file from a TFTP server to Flash memory This example shows how to copy a system image file from the default TFTP server to the current Flash PC card SLB Switch copy tftp flash Source filename cat4840G in mz X bin Address or name of remote host 172 8 1 129 y Destination filename cat4840g in mz X bin y 5746016 bytes available on device slot0 proceed confirm y Now that you have configured the processor see Chapter 4 Configuring Interfaces for instructions on interface configurations for your SLB switch Catalyst 4840G Software Feature and Configuration Guide
6. Starting Up the Catalyst 4840G Using the Console Port or a Management Port You can configure the Catalyst 4840G switch from a direct console connection to the console port or remotely through its management port Ifyou are using a direct console connection configure your terminal emulation program for 9600 baud 8 data bits no parity and stop bit Ifyou are using an Ethernet interface as a management port interface you must assign an IP address to the interface For interface configuration instructions see the Configuring the Management Port section on page 3 3 For further details on configuring ports and lines for management access refer to the Cisco IOS Configuration Fundamentals Configuration Guide Connecting a Modem You can connect a modem to the console port on the Catalyst 4840G SLB switch The following settings on the modem are required e Enable auto answer mode e Suppress result codes You can configure your modem by setting the DIP switches on the modem or by connecting the modem to terminal equipment Refer to the user manual provided with your modem for the correct configuration information Note Because there are no hardware flow control signals available on the console port the console port terminal characteristics should match the modem settings For further details on configuring ports and modems for management access refer to the Cisco IOS Configuration Fundamentals Configuration
7. Switch config command to config t The sLB switch config prompt indicates that you are in global configuration mode SLB Switch enable Set the enable password password password SLB Switch config enable Enter an enable secret password Once set a user must enter secret password the enable secret password to gain access to global configuration mode SLB Switch config interface Enter interface configuration mode on the interface fastethernet 1 40 g igabitethernet 41 42 LB Switch config if s SLB Switch config if ip address Enter the IP address and IP subnet mask for the interface ip address subnetmask SLB Switch config if no shutdown Enable the interface SLB Switch config if exit Return to global configuration mode SLB Switch config I 78 10416 02 Catalyst 4840G Software Feature and Configuration Guide jg Chapter3 Configuring the Catalyst 4840G Processor W Displaying the Operating Configuration Command Purpose Step9 SLB Switch config line vty Enter line configuration mode for virtual terminal Tee A ao connections Commands entered in this mode control the Ste su re nicone igre operation of Telnet sessions to the Catalyst 4840G SLB switch Step 10 SLB Switch config line Enter a password for Telnet sessions password password Step 11 SLB Switch config line end Return to privileged EXEC mode SLB Switch Step 12 SLB Switch copy r
8. copy system images and make standard configurations A Flash PC card is not required for the operation of the SLB switch Note A Flash PC card must be ordered as a spare part We recommend that you use a 20 MB Flash PC card to download and store a copy of the SLB switch software image Doing so allows you to store two or more images at the same time Flash PC cards store a copy of the software image The following sections describe how to format delete configure and copy files between the onboard Flash memory Single In Line Memory Module SIMM network servers and the Flash PC card e Formatting a Flash PC Card page 3 6 e Copying the Startup Configuration File to the Flash PC Card page 3 6 e Viewing the Contents of Flash Memory page 3 7 e Deleting Files from Flash Memory page 3 7 e Booting from a Flash PC Card page 3 8 e Backing Up a System Image to a TFTP Server page 3 9 e Copying a System Image from a TFTP Server to a Flash PC Card page 3 10 I 78 10416 02 Catalyst 4840G Software Feature and Configuration Guide j Chapter3 Configuring the Catalyst 4840G Processor WE Using Flash PC Cards Formatting a Flash PC Card A Flash PC card is blank and must be formatted before use The formatting procedure erases all information on the Flash PC card To format a Flash PC card follow these steps Step1 Back up files that you have on an existing Flash PC card by copying them to a TFTP server using the copy f
9. e server has sufficient room to accommodate the Cisco IOS software image e Check the filename requirements and file space on the network server To create a backup of the system software on a TFTP server perform this task Command Purpose SLB Switch cd filesystem Change the Flash device to the slot that holds the Flash PC card SLB Switch show flash all Display the contents of Flash memory including the names of the images that currently reside there Note the name of the image file you want to copy SLB Switch copy flash tftp Copy a file from Flash memory to a TFTP server Be sure to include a colon at the end of the tftp keyword as shown in this example The following example demonstrates copying a specified system image file from the current flash device to the default TFTP server SLB Switch copy flash tftp Source filename cat4840G in mz X bin Address or name of remote host 172 8 1 129 y Destination filename cat4840G in mz X bin y I 78 10416 02 Catalyst 4840G Software Feature and Configuration Guide jg Chapter3 Configuring the Catalyst 4840G Processor WE Using Flash PC Cards Copying a System Image from a TFTP Server to a Flash PC Card You should have a copy of the current system image on a Flash PC card in case the file in Flash memory becomes corrupted You can replace the system software by copying the backup image from the Flash PC card to the onboard Flash memory
10. ient on the same EPIF that supports Fast Ethernet client You must verify that servers and clients are not connected on the same EPIF that is set to support Fast Ethernet client Catalyst 4840G Software Feature and Configuration Guide Chapter 3 P Configuring the Catalyst 4840G Processor Step 1 Step 2 Configuring a Host Name W To enable Fast Ethernet client perform the following task Command Purpose no ip slb fast ethernet client Enable Fast Ethernet ports 37 40 for client connections No Enable Fast Ethernet ports 37 40 for server connections show ip slb fast ethernet client Show whether Fast Ethernet ports 37 40 are enabled for client connections or for server connections Configuring a Host Name Step 1 Step 2 Step 3 Step 4 In addition to the system passwords and enable password your initial configuration should include the host name to make it easier to configure and troubleshoot the SLB switch To configure the host name perform this task Command Purpose SLB Switch configure terminal Enter global configuration mode SLB Switch config SLB Switch config hostname name Specify a system name SLB Switch config end Return to privileged EXEC mode SLB Switch SLB Switch copy system running config Save your configuration changes to NVRAM nvram startup config Using Flash PC Cards amp This section describes how to use a Flash PC card to
11. inate spaces between them To prevent data loss due to sudden power loss the squeezed data is temporarily saved to another location in Flash memory The squeeze command keeps a log of the functions performed so that if a power failure occurs the system continues the process when the power resumes Caution When deleting files from memory be careful not to delete all the system images If you delete all existing system images you can no longer download new images Catalyst 4840G Software Feature and Configuration Guide 78 10416 02 a Chapter3 Configuring the Catalyst 4840G Processor WE Using Flash PC Cards The following is an example of the delete and squeeze commands used together Note that the delete command requires you to specify the filename while the squeeze command requires that you specify the Flash memory media for example slot0 SLB Switch delete cat4840G in mz X bin SLB Switch dir Directory of slot0o 4 rw 2386May 11 1999 17 25 36 startup config 16384000 bytes total 9360836 bytes free SLB Switch The image file is marked for deletion Enter the squeeze command to complete the operation SLB Switch squeeze slot0 All deleted files will be removed proceed confirm y Squeeze operation may take a while proceed confirm Y ebESESESESESESESES SLB Switch dir 4 rw 2386May 11 1999 17 25 36 startup config 12869836 bytes available 1825540 bytes used Table 3 1 describes the output
12. lash tftp command Step 2 Insert the Flash PC card you want to format into slot 0 Step3 Format the Flash PC card using the format command This example shows how to format a Flash PC card in slot 0 and name it NewPCcard SLB Switch format slot0 Format operation may take a while Continue confirm y Enter volume ID up to 30 characters NewPCcard Formatting sector 1 Format device slot0O completed This example uses a 16 MB Flash PC card At the line Formatting sector 1 the system counts the card s sectors backward from 128 to 1 as it formats them For 20 MB Flash PC cards the system counts backward from 160 to 1 amp Note For more information on inserting a Flash PC card refer to the Catalyst 4840G Chassis Installation Guide Copying the Startup Configuration File to the Flash PC Card To copy the startup configuration file from NVRAM to a Flash PC card after the Flash PC card is formatted and ready to use perform this task Command Purpose SLB Switch copy nvram startup config Copy the file startup config to the Flash PC ARIRE card in the specified location This example shows how to copy the startup configuration file to the Flash PC card in slot 0 the default filename is used SLB Switch copy nvram startup config slot0 Destination filename startup config y 3790 bytes copied in 0 484 secs SLB Switch Catalyst 4840G Software Feature and Configuration Guide Chapter3 Co
13. nfiguring the Catalyst 4840G Processor Using Flash PC Cards W Viewing the Contents of Flash Memory This section describes commands you can use with the onboard Flash memory SIMM bootflash and Flash PC cards Determining the Current File System Device To determine which file system device you are accessing enter the pwd print working directory command as shown in this example SLB Switch pwd bootflash Moving Between Flash Memory Media To move between Flash memory media enter the ed command as shown in this example SLB Switch cd slot0 SLB Switch pwd s S LB Switch Listing the Flash Memory Directory Contents To list the directory contents of any Flash memory media enter the dir command as shown in this example SLB Switch dir Directory of slot0 1 rw 3509000 Jan 25 1999 19 46 25 cat4840G in mz 120 1 W5 6a bin 3 rw 3509004 Feb 5 1999 19 46 25 cat4840G in mz 120 1a W5 6b bin 4 rw 2386 Feb 19 1999 17 25 36 startup config 16384000 bytes total 9360836 bytes free SLB Switch Deleting Files from Flash Memory A When you delete a file from Flash memory the system marks the file as deleted allowing you to later recover a deleted file using the undelete command Erased files cannot be recovered To permanently erase the configuration file enter the squeeze command The squeeze command permanently removes files marked for deletion and pushes all the other undeleted files together to elim
14. that is generated from a squeeze command Table 3 1 Interpreting the Output from the squeeze Command Output Letter Description e This special location was erased which must be performed before any write operation b The data about to be written to this special location was temporarily copied E The sector temporarily occupied by the data was erased S The data was written to its permanent location in Flash memory Z This log was erased after the squeeze command was successfully completed Booting from a Flash PC Card Step 1 Step 2 Step 3 Step 4 Step 5 This section describes how to configure the SLB switch so that it boots from an image on a Flash PC card To enable booting from a Flash PC card perform this task Command Purpose SLB Switch configure terminal Enter global configuration mode SLB Switch config SLB Switch config no boot system Disable booting from bootflash SLB Switch config boot system flash Enable booting from the image name file on the flash fs partition number specified Flash file system device filename SLB Switch config config reg 0x2102 Set the configuration register for automatic booting SLB Switch config end Exit global configuration modes n LB Switch Catalyst 4840G Software Feature and Configuration Guide Chapter 3 Configuring the Catalyst 4840G Processor Step 6 Step 7 Using Flash PC Cards W
15. unning config Save your configuration changes to NVRAM startup config The Catalyst 4840G SLB switch should now be operating correctly You can now use Telnet to remotely assign and verify configurations Displaying the Operating Configuration You can display the configuration file when you are in privileged EXEC enable mode To see the current operating configuration enter the following command at the enable prompt wn LB Switch more system running config To see the configuration in NVRAM enter the following command SLB Switch more nvram startup config If you made changes to the configuration but did not yet write the changes to NVRAM the contents of the running config file will differ from the contents of the startup config file Enabling Fast Ethernet Client The Catalyst 4840G contains forty 10 100 BASE T ports that are configured for server connections The Fast Ethernet client feature allows you to enable 10 100 BASE T ports 37 40 for client connections The last Ethernet port interface EPIF supports these four ports If you enable Fast Ethernet client on one of these ports all four of the ports are enabled for client connections When Fast Ethernet client is enabled Gigabit Ethernet port G42 is designated as a loopback port and acts as a proxy for the Fast Ethernet client ports Gigabit Ethernet port G42 is not operational while in loopback mode Note You cannot connect a server and a cl

Download Pdf Manuals

image

Related Search

Related Contents

MODE D`EMPLOI - Rubrieksadvertenties    FP7 CPU Unit User`s Manual (LAN port  Octobre 2015 - Cité du Livre  Jabra BIZ 620 MS Duo  How humans factor (in medical device design)  Fujifilm 23-50mm User's Manual  Cv-Thèque PROJECT mode d`emploi  

Copyright © All rights reserved.
Failed to retrieve file