A SERVICE OF

logo

36
Catalyst 6000 Family Content Switching Module Installation and Configuration Note
78-11631-02 Rev. A0
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:
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).
Command Purpose
Step 1
Router(config)# vlan database
Enter the VLAN mode
1
.
1. Enter the exit command to leave a mode or submode. Enter the end command to return to the menu’s top level.
Step 2
Router(vlan)# vlan 2
Configure a client-side VLAN
2
.
2. The no form of this command restores the defaults.
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
mode
1
.
Step 6
Router(config-slb-vlan-client)# ip
addr 192.158.38.10 255.255.255.0
Assign the CSM IP address on VLAN 2.
Step 7
Router(config-slb-vlan-client)#
gateway 192.158.38.20
Define the client-side VLAN gateway to Router A.
Step 8
Router(config-slb-vlan-client)#
gateway 192.158.38.21
Define the client-side VLAN gateway to Router B.
Step 9
Router(config-slb-vserver)# ip slb
vlan 3 server
Create the server-side VLAN 3 and enter the SLB VLAN
mode.
Step 10
Router(config-slb-vlan-client)# ip
addr 192.158.38.10 255.255.255.0
Assign the CSM IP address on VLAN 3.
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
192.158.38.30 tcp www
Create a virtual IP address.
Step 14
Router(config-slb-vserver)# serverfarm
farm1
Associate the virtual server with the server farm.
Note This step assumes that the server farm has
already been configured. See the “Configuring
Server Farms” section on page 24.