Cisco CSS 11501 Getting Started Guide - Page 80

sticky-no-cookie-found-action

Page 80 highlights

Advanced Load-Balancing Method Using Cookies Chapter 4 Configuring Sticky Cookies 3. If the CSS cannot find the string prefix or match the cookie value with one of the service string values, then the CSS load balances the request according to the configured balance method (roundrobin by default). For more details on what action the CSS takes when it cannot locate the cookie header or the specified cookie string, see the content rule mode sticky-no-cookie-found-action command. configure GLOBAL ip route 0.0.0.0 0.0.0.0 10.86.191.174 1 INTERFACE interface 3/2 bridge vlan 2 CIRCUIT circuit VLAN1 description "client vlan" ip address 10.86.191.161 255.255.255.240 circuit VLAN2 description "server vlan" ip address 10.1.1.254 255.255.0.0 !The string value configured in the service must match the value of the cookie for a particular server SERVICE service test1 ip address 10.1.1.1 string server1 active service test2 ip address 10.1.1.2 string server2 active service test3 ip address 10.1.1.3 string server3 active Cisco Content Services Switch Getting Started Guide 4-4 OL-6037-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

Chapter 4
Configuring Sticky Cookies
Advanced Load-Balancing Method Using Cookies
4-4
Cisco Content Services Switch Getting Started Guide
OL-6037-01
3.
If the CSS cannot find the string prefix or match the cookie value with one of
the service string values, then the CSS load balances the request according to
the configured balance method (roundrobin by default). For more details on
what action the CSS takes when it cannot locate the cookie header or the
specified cookie string, see the content rule mode
sticky-no-cookie-found-action
command.
configure
!*************************** GLOBAL ***************************
ip route 0.0.0.0 0.0.0.0 10.86.191.174 1
!************************* INTERFACE *************************
interface
3/2
bridge vlan 2
!************************** CIRCUIT **************************
circuit VLAN1
description "client vlan"
ip address 10.86.191.161 255.255.255.240
circuit VLAN2
description "server vlan"
ip address 10.1.1.254 255.255.0.0
!The string value configured in the service must match the value of
the cookie for a particular server.
!************************** SERVICE **************************
service test1
ip address 10.1.1.1
string server1
active
service test2
ip address 10.1.1.2
string server2
active
service test3
ip address 10.1.1.3
string server3
active