![]() |
Catalyst 2948G-L3 Software Feature and Configuration Guide
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Initial Switch Router Configurations
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsInitial Switch Router ConfigurationsStarting Up the Catalyst 2948G-L3 Switch Router Using Console Port and Management Port Configuring the Management Port Configuring the Host Name Using the Boot Flash Memory SIMM Viewing the Contents of Boot Flash Memory
Deleting Files from Boot Flash Memory Backing Up a System Image to a TFTP Server Copying a System Image from a TFTP Server to a Boot Flash Memory SIMM Erasing Files from a Full Boot Flash Memory SIMM Initial Switch Router ConfigurationsThis chapter describes how to initially configure the Catalyst 2948G-L3 switch router. Note You are at Step 2 in the suggested process for configuring your switch router (see Table 2-1). You should have already set up the hardware before proceeding with the initial switch router configurations. Starting Up the Catalyst 2948G-L3 Switch RouterThe following is a review of tasks you should have completed during hardware installation, including starting up the switch router. These tasks must be completed before proceeding with configuring your 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> Note In Step 5 you can choose to answer yes and continue to use the configuration menu that is provided. Using Console Port and Management PortYou can configure the Catalyst 2948G-L3 switch router from a direct console connection to the console port or remotely through its management port.
For interface configuration instructions, see the "Configuring the Management Port" section. For further details on configuring ports and lines for management access, refer to the Cisco IOS Configuration Fundamentals Configuration Guide. Modem Support 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 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. 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 Guide and Dial Solutions Configuration Guide. About PasswordsThere 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." Configuring the Management PortThe management port on the switch router allows multiple simultaneous Telnet or SNMP network management sessions. Since there is no separate management port on the Catalyst 2948G-L3 switch router, you can configure any Fast Ethernet or Gigabit Ethernet port as a 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. Note Before you begin to configure the management port interface manually, obtain the switch router's IP address and IP subnet mask. 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, use the following steps.
Note Any Fast Ethernet interface f1-f48 and any Gigabit Ethernet interface g49-g50 on the Catalyst 2948G-L3 switch router can be configured as a management port. Once you have configured an interface as a management port, you cannot route or bridge traffic to the other Ethernet ports on the switch router from this management port. The Catalyst 2948G-L3 switch router should now be operating correctly. You can now use Telnet to remotely assign and verify configurations. Displaying the Operating ConfigurationYou can display the configuration file when you are in EXEC (enable) mode. If 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. Configuring the Host NameIn 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 switch router. To configure the host name, use the following steps beginning in enable mode.
Using the Boot Flash Memory SIMMThis section describes how to use the boot flash memory SIMM to perform the following system administration tasks: Viewing the Contents of Boot Flash MemoryYou can perform the following tasks with the associated commands to view the contents of the onboard boot flash memory SIMM: Deleting Files from Boot Flash MemoryWhen 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. 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. Backing Up a System Image to a TFTP ServerTo create a backup copy of your system image, or to verify that the copy in boot flash memory is the same as the original file on disk, you can copy system images from boot 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.
To create a backup of the system software on a TFTP server, use the following steps beginning in privileged EXEC mode. Copying a System Image from a TFTP Server to a Boot Flash Memory SIMMIt 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. Note You can also create a backup copy of your system image by copying the system image from boot flash memory to a Trivial File Transfer Protocol (TFTP) server. You can maintain a known good image as a backup image on the TFTP server. In case the new image file you copy from the TFTP server is corrupted, you can then retrieve the known good backup copy of the system image file from the TFTP server. Use the following commands to copy the system image from the TFTP server to a boot flash memory SIMM beginning in privileged EXEC mode. Erasing Files from a Full Boot Flash Memory SIMMIn 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. Note It is important to have already created a backup copy of your system image by copying the system image from boot flash memory to a Trivial File Transfer Protocol (TFTP) server. You can maintain a known good image as a backup image on the TFTP server. In case the new image file you copy from the TFTP server is corrupted, you can retrieve the known good backup copy of the system 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|