|
|
This chapter describes how to initially configure the Catalyst 2948G-L3 switch router.
Step 1 Check that the switch router is set for the correct AC (or DC) power voltages.
Refer to the Catalyst 2948G-L3 Hardware Installation Guide for correct power voltages
Step 2 Connect the cables to the switch router.
Step 3 Connect a console terminal to the switch router.
Step 4 Start up the switch router.
Step 5 Enter CLI configuration mode by answering no when you are prompted to enter the initial dialog:
Would you like to enter the initial dialog? [yes]: no
You see the following user EXEC prompt: Router>
You can configure the Catalyst 2948G-L3 switch router from a direct console connection to the console port or remotely through its management port.
For further details on configuring ports and lines for management access, refer to the Cisco IOS Configuration Fundamentals Configuration Guide.
The Catalyst 2948G-L3 switch router has a console terminal line that you might need to configure. For line configuration, you must first set up the line for the terminal or the asynchronous device attached to it. For a complete description of configuration tasks and commands used to set up your terminal line and settings, refer to the Configuration Fundamentals Configuration Guide and
Dial Solutions Configuration Guide.
You can connect a modem to the console port or to the auxiliary port on the Catalyst 2948G-L3 switch router. The following settings on the modem are required:
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.
For further details on configuring ports and modems for management access, refer to the Cisco IOS Configuration Fundamentals Configuration Guide and Dial Solutions Configuration Guide.
There are two types of 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.
An enable secret password can contain from 1 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.
You will configure passwords in the next section, "Configuring the Management Port."
You can remotely configure the Catalyst 2948G-L3 switch router through the management port, but first you must configure an IP address so that the switch router is reachable. There are two ways to configure the management port interface: manually from the command-line interface (CLI) or by copying the configuration from the BOOTP server into NVRAM.
You can configure the management port from an IP connected network. To obtain remote management access using Telnet, use the following steps.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| | Enters enable mode. The | ||
| | Enters global configuration mode. You can also abbreviate the command to config t. The | ||
| | Sets the enable password. See the "About Passwords" section. | ||
| | Enters an enable secret password. Once set, a user must enter the enable secret password to gain access to global configuration mode. | ||
| | Enters interface configuration mode on the Fast Ethernet interface. You can use any Fast Ethernet interface f1-f48 or any Gigabit Ethernet interface g49-g50 to configure the management port. | ||
| | Enters the IP address and IP subnet mask for the Fast Ethernet interface. | ||
| | Enables the interface. | ||
| | Returns to global configuration mode. | ||
| | |||
| | Enters a password for Telnet sessions. | ||
| | Returns to privileged EXEC mode. | ||
| | Saves your configuration changes to NVRAM. |
The Catalyst 2948G-L3 switch router should now be operating correctly. You can now use Telnet to remotely assign and verify configurations.
You can display the configuration file when you are in EXEC (enable) mode.
Router# show running-configRouter# show startup-configIf you made changes to the configuration, but did not yet write the changes to NVRAM, the results of the show running-config will differ from the results of the show startup-config command.
| Step | Command | Purpose | ||
| | Enters global configuration mode. | ||
| | Enters a system name. In this example, we set the hostname to "2948G-L3." | ||
| | Returns to privileged EXEC mode. | ||
| | Copies your configuration changes to NVRAM. |
This section describes how to use the boot flash memory SIMM to perform the following system administration tasks:
You can perform the following tasks with the associated commands to view the contents of the onboard boot flash memory SIMM:
2948G-L3# pwd bootflash:
2948G-L3# dir Directory of bootflash:/ 1 -rw- 3153784 <no date> cat2948g-in-mz.old 2 -rw- 3153932 <no date> cat2948g-in-mz 16777216 bytes total (7315372 bytes free) 2948G-L3#
When you delete a file from boot flash memory, the system marks the file as deleted. Deleted files cannot be recovered. The boot flash memory is not released after the image file has been deleted, only the image file is marked as deleted.
![]() | Caution When deleting files from memory, be careful not to delete all the system images. You should always retain one known good image as a backup image. |
The following is an example of the delete command. The delete command requires you to specify the filename.
2948G-L3# dir Directory of bootflash:/ 1 -rw- 3153784 <no date> cat2948g-in-mz.old 2 -rw- 3153932 <no date> cat2948g-in-mz 16777216 bytes total (7315372 bytes free) 2948G-L3# delete cat2948g-in-mz.old Delete filename [cat2948g-in-mz.old]? Delete bootflash:cat2948g-in-mz.old? [confirm] 2948G-L3# dir Directory of bootflash:/ 2 -rw- 3153932 <no date> cat2948g-in-mz 16777216 bytes total (7315372 bytes free)
![]() | Tips Before you copy software between the network server and boot flash memory in the switch router, do the following: |
To create a backup of the system software on a TFTP server, use the following steps beginning in privileged EXEC mode.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| | Displays the contents of boot flash memory, including the names of the images that currently reside there. Note the name of the image file you want to copy. | ||
| | |||
| | Prompts you to enter the name of the system image. | ||
| | Enters the domain name or IP address of the TFTP server. You can accept the default address in square brackets or enter a new address. | ||
| | Enters the destination filename. You can accept the default filename in square brackets or enter a new filename. |
It is a good idea to have a copy of the current system image on the boot flash memory SIMM in case the new image file that you copy from the TFTP server is corrupted.
Use the following commands to copy the system image from the TFTP server to a boot flash memory SIMM beginning in privileged EXEC mode.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| | Displays the contents of boot flash memory, including the names of the images that currently reside there. | ||
| | Copies a file from a TFTP server to boot flash memory. | ||
| Address or name of remote host []? | Enters the domain name or IP address of the TFTP server. You can accept the default address in square brackets or enter a new address. | ||
| | Prompts you to enter the name of the system image. | ||
| | Enters the destination filename. You can accept the default filename in square brackets or enter a new filename. | ||
| | Enters no to save existing images on boot flash.
|
In the event that the boot flash memory is full, you must erase all the files in the boot flash memory filesystem before copying a new image file from the TFTP server.
Use the following commands to first erase and clean boot flash memory and then copy the system image from the TFTP server to boot flash memory beginning in privileged EXEC mode.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| | Displays the contents of boot flash memory, including the names of the images that currently reside there. | ||
| | Copies a file from a TFTP server to boot flash memory. | ||
| | Prompts you to enter the name of the system image. | ||
| | Enters the domain name or IP address of the TFTP server. You can accept the default address in square brackets or enter a new address. | ||
| | Enters the destination filename. You can accept the default filename in square brackets or enter a new filename. | ||
|
| Enters yes to erase the filesystem in boot flash memory before copying the new file from the TFTP server. This will erase all images on the boot flash and the new image will be the only image on the boot flash. This should be your good image. Your next operation can be copying any new image as explained in "Copying a System Image from a TFTP Server to a Boot Flash Memory SIMM" section.
|
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Fri Apr 14 09:49:25 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.