cc/td/doc/product/l3sw/4840g/ios_12/120_10
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Before You Begin

Before You Begin

This chapter gives you a process to follow in configuring your Server Load Balancing (SLB) switch, lists the information you need to have available before you begin, and describes Cisco IOS command modes. This chapter includes the following topics:

Configuring Your SLB Switch

The following steps represent a suggested procedure for configuring your Catalyst 4840G SLB switch.


Step 1   Set up the hardware as described in the chassis installation guide for your SLB switch.

Step 2   Configure the SLB processor. See "Configuring the SLB Processor."

Step 3   Configure the SLB. See "Server Load Balancing."

Step 4   Configure SLB redundancy. See "Configuring SLB Redundancy."

Step 5   Configure the interfaces. See "Configuring Interfaces."

Step 6   Configure networking and routing protocols. See "Configuring Networking Protocols."

Step 7   Configure bridging. See "Configuring Bridging."

Step 8   Configure the EtherChannel. See "Configuring EtherChannel."

Step 9   Perform optional system management and performance tasks.


Preparing to Configure Your SLB Switch

Before configuring your SLB switch, have the following information available:

About the Command-Line Interface

You can configure the SLB switch from the command-line interface (CLI) that runs on the SLB switch console or terminal, or by using remote access.

To use the CLI, your terminal must be connected to the SLB switch through the console port or one of the TTY lines. By default, the terminal has a basic configuration, which works for most terminal sessions.

About Cisco IOS Command Modes

The Cisco IOS user interface is divided into many different modes. The commands available to you depend on which mode you are currently in. To get a list of the commands available in a given mode, type a question mark (?) at the system prompt.

When you start a session on the SLB switch, you begin in user mode, often called EXEC mode. Only a limited subset of the commands are available in EXEC mode. To have access to all commands, you must enter privileged EXEC mode. Normally, you must type in a password to access privileged EXEC mode. From privileged mode, you can type in any EXEC command or access global configuration mode. Most of the EXEC commands are one-time commands, such as show commands, which show the current configuration status, and clear commands, which clear counters or interfaces. The EXEC commands are not saved across reboots of the SLB switch.

The configuration modes allow you to make changes to the running configuration. If you later save the configuration, these commands are stored across SLB switch reboots. You must start at global configuration mode. From global configuration mode, you can enter interface configuration mode, subinterface configuration mode, and a variety of protocol-specific modes.

ROM monitor mode is a separate mode used when the switch cannot boot properly. For example, your SLB switch might enter ROM monitor mode if it does not find a valid system image when it is booting, or if its configuration file is corrupted at startup.

Table 2-1 lists and describes the most commonly used modes, how to enter the modes, and the resulting system prompts. The system prompt helps you identify which mode you are in and, therefore, which commands are available to you.


Table 2-1: Frequently Used Cisco IOS Command Modes
Mode Description of Use How to Access Prompt

User EXEC

To connect to remote devices, change terminal settings on a temporary basis, perform basic tests, and display system information.

Log in.

SLB-Switch>

Privileged EXEC (Enable)

To set operating parameters. The privileged command set includes the commands in user EXEC mode, as well as the configure command. Use this command to access the other command modes.

From the user EXEC mode, enter the enable command and the enable password.

SLB-Switch#

Global configuration

To configure features that affect the system as a whole.

From the privileged EXEC mode, enter the configure terminal command.

SLB-Switch(config)#

Interface configuration

To enable features for a particular interface. Interface commands enable or modify the operation of a Gigabit Ethernet or Fast Ethernet port.

From global configuration mode, enter the interface type location command.

For example, enter
interface fastethernet 1
or
interface gigabitethernet 41.

SLB-Switch(config-if)#

Line configuration

To configure the console port or VTY line from the directly connected console or the virtual terminal used with Telnet.

From global configuration mode, enter the line console 0 command to configure the console port, or the line vty line-number command to configure a VTY line.

SLB-Switch(config-line)#

The Cisco IOS command interpreter, called the EXEC, interprets and executes the commands you enter. You can abbreviate commands and keywords by entering just enough characters to make the command unique from other commands. For example, you can abbreviate the show command to sh and the configure terminal command to config t.

When you type exit, the SLB switch backs out one level. In general, typing exit returns you to global configuration mode. To exit configuration mode completely and return to privileged EXEC mode, enter End.

Getting a List of Cisco IOS Commands and Syntax

In any command mode, you can get a list of available commands by entering a question mark (?).

SLB-Switch> ?

 

To obtain a list of commands that begin with a particular character sequence, type in those characters followed immediately by the question mark (?). Do not include a space. This form of help is called word help, because it completes a word for you.

SLB-Switch# co?

configure
 

To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space before the question mark. This form of help is called command syntax help, because it reminds you which keywords or arguments are applicable based on the command, keywords, and arguments you have already entered.

SLB-Switch# configure ?

	memory               Configure from NV memory
	network              Configure from a TFTP network host
	overwrite-network    Overwrite NV memory from TFTP network host
	terminal             Configure from the terminal                         
 

To redisplay a command you previously entered, press the up-arrow key. You can continue to press the up-arrow key to see more previously issued commands.


Tips If you are having trouble entering a command, check the system prompt, and enter the question mark (?) for a list of available commands. You might be in the wrong command mode or using incorrect syntax.

You can enter End in any mode to immediately return to privileged EXEC (enable) mode, instead of entering exit, which returns you to the previous mode.

More Configuration Documentation

After you have installed the hardware, checked all external connections, turned on the system power, allowed the system to boot up, and minimally configured the system, you might need to perform more complete and complex configurations, which are beyond the scope of this document.

The Cisco IOS software running your SLB switch contains extensive features and functionality. The effective use of many of these features is easier if you have more reference information. See the following list for additional information on Cisco IOS software and configuring your SLB switch:

For systems with Cisco IOS Release 12.0 or later, refer to the following modular configuration and modular command reference publications:


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Sep 28 15:26:10 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.