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

Page 36
Image 36
Cisco Systems 6000 manual Enter the Vlan mode, Configure a client-side Vlan, Configure a server-side Vlan, Mode