Résumé du contenu de la page N° 1
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
• Configuring the Management Port, page 3-3
• Displaying the Operating Configuration, page 3-4
• Enabling Fast Ethernet Client, page 3-4
Résumé du contenu de la page N° 2
Chapter 3 Configuring the Catalyst 4840G Processor Before 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. • If you are using a direct console connection, configure your terminal emulation program for 9600 baud, 8 data bits, no parity, and 1 stop bit. • If you are using an Ethernet interface as a management port interface, yo
Résumé du contenu de la page N° 3
Chapter 3 Configuring the Catalyst 4840G Processor Configuring the Management Port 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 as a management port. Note Any Fast Ethernet interface (fastethernet 1 through 40), and any Gigabit Ethernet interface (gigabiteth
Résumé du contenu de la page N° 4
Chapter 3 Configuring the Catalyst 4840G Processor Displaying the Operating Configuration Command Purpose SLB-Switch(config)# line vty Step 9 Enter line configuration mode for virtual terminal line-number connections. Commands entered in this mode control the SLB-Switch(config-line)# operation of Telnet sessions to the Catalyst 4840G SLB switch. SLB-Switch(config-line)# Step 10 Enter a password for Telnet sessions. password password SLB-Switch(config-line)# end Step 11 Return to priv
Résumé du contenu de la page N° 5
Chapter 3 Configuring the Catalyst 4840G Processor Configuring a Host Name To enable Fast Ethernet client, perform the following task: Command Purpose Step 1 [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. Step 2 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 In addition to the
Résumé du contenu de la page N° 6
Chapter 3 Configuring the Catalyst 4840G Processor 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: Step 1 Back up files that you have on an existing Flash PC card by copying them to a TFTP server using the copy flash tftp: command. Step 2 Insert the Flash PC card you want to format into slot 0. Step 3 Format the F
Résumé du contenu de la page N° 7
Chapter 3 Configuring the Catalyst 4840G Processor Using Flash PC Cards 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, e
Résumé du contenu de la page N° 8
Chapter 3 Configuring the Catalyst 4840G Processor 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 slot0:/ 4 -rw-2386May 11 1999 17:25:36 startup-config 16384000 bytes total (9360836 bytes free) SLB-Switch
Résumé du contenu de la page N° 9
Chapter 3 Configuring the Catalyst 4840G Processor Using Flash PC Cards Command Purpose SLB-Switch# copy system:running-config Step 6 Save the configuration to NVRAM. nvram:startup-config Step 7 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 boo
Résumé du contenu de la page N° 10
Chapter 3 Configuring the Catalyst 4840G Processor 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. Note Be sure that you have a properly formatted Flash PC card in the appropriate slot before beginning this procedure.