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
Step1 Router(config)# vlan database Enter the VLAN mode1.
1. Enter the exit co mmand to leave a mode or submode. Enter the end command to return to the menu’s top level.
Step2 Router(vlan)# vlan 2 Configure a client-side VLAN2.
2. The no form of this command restores the defaults.
Step3 Router(vlan)# vlan 3 Configure a server-side VLAN.
Step4 Router(vlan)# exit Exit to have the configuration take effect.
Step5 Router(config)# ip slb vlan 2 client Create the client-side VLAN 2 and enter the SLB VLAN
mode1.
Step6 Router(config-slb-vlan-client)# ip
addr 192.158.38.10 255.255.255.0
Assign the CSM IP address on VLAN 2.
Step7 Router(config-slb-vlan-client)#
gateway 192.158.38.20
Define the client-side VLAN gateway to Router A.
Step8 Router(config-slb-vlan-client)#
gateway 192.158.38.21
Define the client-side VLAN gateway to Router B.
Step9 Router(config-slb-vserver)# ip slb
vlan 3 server
Create the server-side VLAN 3 and enter the SLB VLAN
mode.
Step1 0 Router(config-slb-vlan-client)# ip
addr 192.158.38.10 255.255.255.0
Assign the CSM IP address on VLAN 3.
Step1 1 Router(config-slb-vlan-client)# exit Leave the submode.
Step1 2 Router(config)# ip slb vserver VIP1 Create a virtual server and enter the SLB vserver mode.
Step1 3 Router(config-slb-vserver)# virtual
192.158.38.30 tcp www
Create a virtual IP address.
Step1 4 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.