|
|
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:
The following steps represent a suggested procedure for configuring your Catalyst 4840G 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.
Before configuring your SLB switch, have the following information available:
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.
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.
| Mode | Description of Use | How to Access | Prompt |
|---|---|---|---|
User EXEC | Log in. | | |
Privileged EXEC (Enable) | From the user EXEC mode, enter the enable command and the enable password. | | |
Global configuration | To configure features that affect the system as a whole. | From the privileged EXEC mode, enter the configure terminal command. | |
Interface configuration | From global configuration mode, enter the interface type location command. For example, enter | | |
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. | |
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.
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.
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:
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Sep 28 15:26:10 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.