Cisco Systems 6000 manual Configuring Maps

Page 27

Configuring the Content Switching Module

 

Command

Purpose

Step 5

 

 

Router(config-slb-policy)# client-groupvalue

Configure a client filter associated with a policy.

 

std-access-list-name

Only standard IP access lists are used to define

 

 

a client filter. Refer to the Catalyst 6000 Family

 

 

Software Configuration Guide for information

 

 

about configuring access lists.

Step 6

 

 

Router(config-slb-policy)# serverfarm

Configure the server farm serving a particular

 

serverfarm-name

load-balancing policy. Only one server farm can

 

 

be configured per policy2.

Step 7

Router(config-slb-policy)# set ip dscp

Mark traffic with a dscp-valueif packets

 

dscp-value

matched with the load-balancing policy2.

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.

This example shows how to configure load-balancing policies and associate them to virtual servers:

Router(config)# ip slb policy policy_sticky_ck

Router(config-slb-policy)# serverfarm pl_sticky

Router(config-slb-policy)# url-map map1

Router(config-slb-policy)# exit

Router(config)# ip slb vserver vs_sticky_ck

Router(config-slb-vserver)# slb-policypolicy_sticky_ck

Configuring Maps

You configure maps to define multiple URLs and cookies into groups that can be associated with a policy when you configure the policy. (See the “Configuring Policies” section on page 26.)

To add a URL map, perform this task:

 

Command

Purpose

Step 1

 

 

Router(config)# ip slb map

Configure multiple URLs into a URL map in the URL map

 

url-map-name url

submode. Regular expressions for URLs (for example url1 and

 

 

url2) are based on UNIX filename specifications1, 2. See Table 3

 

 

for more information.

 

 

 

Step 2

Router(config-slb-map-url)

Match the URL map with the URL path2.

 

match protocol http url

 

 

url-path

 

 

 

 

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.

 

 

Table 3

UNIX File Name Specifications

 

 

 

 

 

 

 

 

 

Convention

 

 

Description

 

 

 

 

 

 

*

 

 

Zero or more characters.

 

 

 

 

 

 

?

 

 

Exactly one character.

 

 

 

 

 

 

\

 

 

Escaped character.

 

 

 

 

 

 

 

 

Bracketed range [0-9]

 

Matching any single character from the range.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

78-11631-02 Rev. A0

 

 

 

 

27

 

 

 

 

 

 

 

Image 27
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-CSM-to-Server Traffic Flow Client-to-Content Switching Module-to-Server Traffic FlowSafety Overview CSM memory is not configurable System RequirementsMemory Requirements 72-876-01 Console Cable Not applicable Power RequirementsHardware Supported Environmental RequirementsSoftware Requirements Installing the Content Switching ModulePreparing to Install the CSM Required ToolsInstalling 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 Routerconfig# power cycle module slot-number Upgrading from the Supervisor Engine BootflashSet up a session between the supervisor engine and the CSM CSM upgrade 127.0.0.zz c6slb-apc.revision-num.binUpgrading from a Pcmcia Card Routerconfig# tftp-server slotxc6slb-apc.revision-num.binCSM upgrade slot0 c6slb-apc.revision-num.bin Router config# power cycle module slot-numberRouter# vlan database Configuring the Content Switching ModuleSwitchport Switchport access vlanConfiguration Overview Configure the required parameters in the following sections Configuring VLANsSee for the following notes Configuring VLANsConfiguring Server-Side VLANs Configuring Client-Side VLANsConfiguring Server Farms Configuring Real Servers Configuring Policies Configuring Maps Configure multiple cookies Configure multiple cookies into a cookie mapConfiguring Sticky Groups Configuring Virtual Servers Configuring Dynamic Feedback Protocol Configuring TCP ParametersConfiguring Redirect Virtual Servers Configuring Client NAT Pools Configuring Server NAT Writing and Restoring ConfigurationsSingle Subnet Bridge Mode Configuration Configuration ExamplesExit to have the configuration take effect Enter the Vlan modeConfigure a client-side Vlan Configure a server-side VlanSecure Router Mode Configuration Vlan modeCreate the client-side Vlan 2 and enter the SLB Exit the submode Fault-Tolerant ConfigurationRouterconfig# ip slb vlan 3 server Create the server-side Vlan 3 and enter the SLBRouterconfig-if#service-policy input Venus Router# configure terminalRouterconfig# mac access-list extended Venus Routerconfig# int GigabitEthernet 2/1Configuration Parameter On Both Content Switching Modules Fault-tolerant configuration, the following rules apply192.158.38.10 Create the client-side Vlan 2 and enter the SLB Vlan modeAssign the Content Switching IP address on Router B Hsrp addressConfigure a client-side VLAN2 Assign the default route for VlanDefine Vlan 9 as a fault-tolerant Vlan Create the Content Switching primaryHsrp Configuration Overview Configuring HsrpCSG Vlan Configure Switch 2-FT2 Hsrp secondary as followsConfigure VLANs on Hsrp FT2 as follows Configuring CSM VLANsConfiguring Probes for Health Monitoring Configure EtherChannel on both switches as followsAdd ports to the EtherChannel as follows Telnet creates a Telnet probe with a default configuration Probe-name is the name of the probe being configured it hasHttp creates an Http probe with a default configuration Icmp creates an Icmp probe with a default configurationHttp Probe Commands Available to all Probe ConfigurationsIcmp Probe TCP Probe FTP, SMTP, and Telnet ProbeDNS Probe Submode Configuring Route Health Injection Understanding RHIRHI Overview Routing to VIP Addresses With RHI Routing to VIP Addresses Without RHIUnderstanding Propagation of VIP Availability Information Configuring RHI for Virtual ServersRouterconfig# ip slb vserver vserver1 Understanding How the CSM Determines VIP AvailabilityTranslated 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 Ordering Documentation Obtaining DocumentationWorld Wide Web Documentation CD-ROMCisco.com Contacting TAC by Using the Cisco TAC WebsiteTo access Cisco.com, go to the following website Obtaining Technical AssistanceContacting TAC by Telephone Obtaining Technical Assistance