Cisco Systems 6000 manual Configure multiple cookies into a cookie map

Page 28

Configuring the Content Switching Module

 

 

Table 3

UNIX File Name Specifications (continued)

 

 

 

 

 

 

 

 

 

Convention

 

Description

 

 

 

 

 

 

 

 

 

 

A leading ^ in a range

Do not match any in the range. All other characters

 

 

 

 

represent themselves.

 

 

 

 

 

 

 

 

 

.\a

 

Alert (ascii 7).

 

 

 

 

 

 

 

 

 

.\b

 

Backspace (ascii 8).

 

 

 

 

 

 

 

 

 

.\f

 

Form-feed (ascii 12).

 

 

 

 

 

 

 

 

 

.\n

 

Newline (ascii 10).

 

 

 

 

 

 

 

 

 

.\r

 

Carriage return (ascii 13).

 

 

 

 

 

 

 

 

 

.\t

 

Tab (ascii 9).

 

 

 

 

 

 

 

 

 

 

 

.\v

 

Vertical tab (ascii 11).

 

 

 

 

 

 

 

 

.\0

 

Null (ascii 0).

 

 

 

 

 

 

 

 

.\\

 

Backslash.

 

 

 

 

 

 

 

 

 

 

 

.\x##

 

Any ascii character as specified in two digit hex notation.

 

 

 

 

 

 

 

 

To add a cookie map, perform this task:

 

 

 

 

 

 

 

 

Command

 

 

Purpose

 

 

 

Step 1

Router(config) ip slb map cookie-map-name

Configure multiple cookies into a cookie map1.

 

cookie

 

 

 

 

 

 

 

Step 2

Router(config-slb-map-cookie) match

Configure multiple cookies1.

 

protocol http cookie cookie-name

 

 

 

cookie-valuecookie-value-expression

 

 

 

 

 

 

 

 

 

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

This example shows how to configure maps and associate them with a policy:

Router(config)# ip slb map url_1 url

Router(config-slb-map-url)# match protocol http url /url1

Router(config-slb-map-url)# exit

Router(config)# ip slb map url_2 url

Router(config-slb-map-url)# match protocol http url /url/url/url

Router(config-slb-map-url)# match protocol http url /reg/*long.*

Router(config-slb-map-url)# exit

Router(config)# ip slb serverfarm pl_url_url_1

Router(config-slb-sfarm)# real 10.8.0.26

Router(config-slb-real)# inservice

Router(config-slb-real)# exit

Router(config-slb-sfarm)# exit

Router(config)# ip slb policy policy_url_1

Router(config-slb-policy)# serverfarm pl_url_url_1

Router(config-slb-policy)# url-mapurl_1

Router(config-slb-policy)# exit

Router(config)# ip slb serverfarm pl_url_url_2

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

28

78-11631-02 Rev. A0

Image 28
Contents Contents Overview Describes the features of the CSM FeaturesThese sections describe the CSM Front Panel Description CSM front panel features are shown in FigureStatus LED RJ-45 Connector Operation ModeOff 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 System Requirements CSM memory is not configurableMemory 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 InstallationAccessing Online Help Using the Command-Line InterfaceUpgrading 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 effectVlan mode Secure Router Mode ConfigurationCreate 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 followsConfigure EtherChannel on both switches as follows Configuring Probes for Health MonitoringAdd 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 FTP, SMTP, and Telnet Probe TCP ProbeDNS Probe Submode Understanding RHI Configuring Route Health InjectionRHI 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 InformationSafety Information Referral Warning Translated Safety WarningsRegulatory Standards Compliance Wrist Strap Warning Blank Faceplate Installation Requirement Warning Translated Safety Warnings Qualified Personnel Warning Related DocumentationRelease 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