Configuration Examples
You configure single subnet (bridge) mode by assigning the same IP address to the CSM client and
Note
server VLANs.
To configure Content Switching for the single subnet (bridge) mode, perform this task:
Command
Step 1
Router(config)# vlan database
Step 2
Router(vlan)# vlan 2
Step 3
Router(vlan)# vlan 3
Step 4
Router(vlan)# exit
Step 5
Router(config)# ip slb vlan 2 client
Step 6
Router(config-slb-vlan-client)# ip
addr 192.158.38.10 255.255.255.0
Step 7
Router(config-slb-vlan-client)#
gateway 192.158.38.20
Step 8
Router(config-slb-vlan-client)#
gateway 192.158.38.21
Step 9
Router(config-slb-vserver)# ip slb
vlan 3 server
Step 10
Router(config-slb-vlan-client)# ip
addr 192.158.38.10 255.255.255.0
Step 11
Router(config-slb-vlan-client)# exit
Step 12
Router(config)# ip slb vserver VIP1
Step 13
Router(config-slb-vserver)# virtual
192.158.38.30 tcp www
Step 14
Router(config-slb-vserver)# serverfarm
farm1
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.
Set the server's default routes to Router A's gateway (192.158.38.20) or Router B's gateway
Note
(192.158.38.21).
Catalyst 6000 Family Content Switching Module Installation and Configuration Note
36
Purpose
1
Enter the VLAN mode
.
Configure a client-side VLAN
Configure a server-side VLAN.
Exit to have the configuration take effect.
Create the client-side VLAN 2 and enter the SLB VLAN
1
mode
.
Assign the CSM IP address on VLAN 2.
Define the client-side VLAN gateway to Router A.
Define the client-side VLAN gateway to Router B.
Create the server-side VLAN 3 and enter the SLB VLAN
mode.
Assign the CSM IP address on VLAN 3.
Leave the submode.
Create a virtual server and enter the SLB vserver mode.
Create a virtual IP address.
Associate the virtual server with the server farm.
This step assumes that the server farm has
Note
already been configured. See the
Server Farms" section on page
2
.
"Configuring
24.
78-11631-02 Rev. A0