Cisco Systems 6000 Enter the Vlan mode, Configure a client-side Vlan, Mode, Leave the submode

Page 36

Configuration Examples

Note You configure single subnet (bridge) mode by assigning the same IP address to the CSM client and server VLANs.

To configure Content Switching for the single subnet (bridge) mode, perform this task:

 

Command

Purpose

 

 

 

Step 1

Router(config)# vlan database

Enter the VLAN mode1.

Step 2

Router(vlan)# vlan 2

Configure a client-side VLAN2.

Step 3

 

 

Router(vlan)# vlan 3

Configure a server-side VLAN.

Step 4

 

 

Router(vlan)# exit

Exit to have the configuration take effect.

Step 5

 

 

Router(config)# ip slb vlan 2 client

Create the client-side VLAN 2 and enter the SLB VLAN

 

 

mode1.

Step 6

 

 

Router(config-slb-vlan-client)# ip

Assign the CSM IP address on VLAN 2.

 

addr 192.158.38.10 255.255.255.0

 

Step 7

 

 

Router(config-slb-vlan-client)#

Define the client-side VLAN gateway to Router A.

 

gateway 192.158.38.20

 

Step 8

 

 

Router(config-slb-vlan-client)#

Define the client-side VLAN gateway to Router B.

 

gateway 192.158.38.21

 

Step 9

 

 

Router(config-slb-vserver)# ip slb

Create the server-side VLAN 3 and enter the SLB VLAN

 

vlan 3 server

mode.

Step 10

 

 

Router(config-slb-vlan-client)# ip

Assign the CSM IP address on VLAN 3.

 

addr 192.158.38.10 255.255.255.0

 

Step 11

 

 

Router(config-slb-vlan-client)# exit

Leave the submode.

Step 12

 

 

Router(config)# ip slb vserver VIP1

Create a virtual server and enter the SLB vserver mode.

Step 13

 

 

Router(config-slb-vserver)# virtual

Create a virtual IP address.

 

192.158.38.30 tcp www

 

Step 14

 

 

Router(config-slb-vserver)# serverfarm

Associate the virtual server with the server farm.

 

farm1

Note This step assumes that the server farm has

 

 

 

 

already been configured. See the “Configuring

 

 

Server Farms” section on page 24.

 

 

 

1.Enter the exit command to leave a mode or submode. Enter the end command to return to the menu’s top level.

2.The no form of this command restores the defaults.

Note Set the server’s default routes to Router A’s gateway (192.158.38.20) or Router B’s gateway (192.158.38.21).

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

36

78-11631-02 Rev. A0

Image 36
Contents Contents Overview Features Describes the features of the CSMThese sections describe the CSM CSM front panel features are shown in Figure Front Panel DescriptionStatus LED Operation Mode RJ-45 ConnectorOff Red Orange Green Green to Orange Content Switching Module and Servers Client-to-Content Switching Module-to-Server Traffic Flow Client-to-CSM-to-Server Traffic FlowSafety Overview CSM memory is not configurable System RequirementsMemory Requirements Power Requirements Hardware SupportedEnvironmental Requirements 72-876-01 Console Cable Not applicableInstalling the Content Switching Module Preparing to Install the CSMRequired Tools Software RequirementsInstalling the CSM Power supply Installing Modules in the Catalyst 6000 Family Switch Verifying the Installation Verifying the InstallationUsing the Command-Line Interface Accessing Online HelpUpgrading to a New Software Release Upgrading from the Supervisor Engine Bootflash Set up a session between the supervisor engine and the CSMCSM upgrade 127.0.0.zz c6slb-apc.revision-num.bin Routerconfig# power cycle module slot-numberRouterconfig# tftp-server slotxc6slb-apc.revision-num.bin CSM upgrade slot0 c6slb-apc.revision-num.binRouter config# power cycle module slot-number Upgrading from a Pcmcia CardConfiguring the Content Switching Module SwitchportSwitchport access vlan Router# vlan databaseConfiguration Overview Configuring VLANs Configure the required parameters in the following sectionsConfiguring VLANs See for the following notesConfiguring Client-Side VLANs Configuring Server-Side VLANsConfiguring Server Farms Configuring Real Servers Configuring Policies Configuring Maps Configure multiple cookies into a cookie map Configure multiple cookiesConfiguring Sticky Groups Configuring Virtual Servers Configuring TCP Parameters Configuring Dynamic Feedback ProtocolConfiguring Redirect Virtual Servers Configuring Client NAT Pools Writing and Restoring Configurations Configuring Server NATConfiguration Examples Single Subnet Bridge Mode ConfigurationEnter the Vlan mode Configure a client-side VlanConfigure a server-side Vlan Exit to have the configuration take effectSecure Router Mode Configuration Vlan modeCreate the client-side Vlan 2 and enter the SLB Fault-Tolerant Configuration Routerconfig# ip slb vlan 3 serverCreate the server-side Vlan 3 and enter the SLB Exit the submodeRouter# configure terminal Routerconfig# mac access-list extended VenusRouterconfig# int GigabitEthernet 2/1 Routerconfig-if#service-policy input VenusFault-tolerant configuration, the following rules apply Configuration Parameter On Both Content Switching ModulesCreate the client-side Vlan 2 and enter the SLB Vlan mode Assign the Content Switching IP address onRouter B Hsrp address 192.158.38.10Assign the default route for Vlan Define Vlan 9 as a fault-tolerant VlanCreate the Content Switching primary Configure a client-side VLAN2Configuring Hsrp Hsrp Configuration OverviewConfigure Switch 2-FT2 Hsrp secondary as follows CSG VlanConfiguring CSM VLANs Configure VLANs on Hsrp FT2 as followsConfiguring Probes for Health Monitoring Configure EtherChannel on both switches as followsAdd ports to the EtherChannel as follows Probe-name is the name of the probe being configured it has Http creates an Http probe with a default configurationIcmp creates an Icmp probe with a default configuration Telnet creates a Telnet probe with a default configurationCommands Available to all Probe Configurations Http ProbeIcmp Probe TCP Probe FTP, SMTP, and Telnet ProbeDNS Probe Submode Configuring Route Health Injection Understanding RHIRHI Overview Routing to VIP Addresses Without RHI Routing to VIP Addresses With RHIConfiguring RHI for Virtual Servers Routerconfig# ip slb vserver vserver1Understanding How the CSM Determines VIP Availability Understanding Propagation of VIP Availability InformationTranslated Safety Warnings Safety Information Referral WarningRegulatory Standards Compliance Wrist Strap Warning Blank Faceplate Installation Requirement Warning Translated Safety Warnings Related Documentation Qualified Personnel WarningRelease Notes for Catalyst 6000 Family IOS Software Obtaining Documentation World Wide WebDocumentation CD-ROM Ordering DocumentationContacting TAC by Using the Cisco TAC Website To access Cisco.com, go to the following websiteObtaining Technical Assistance Cisco.comContacting TAC by Telephone Obtaining Technical Assistance