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 |
Step 3 |
|
|
Router(vlan)# vlan 3 | Configure a | |
Step 4 |
|
|
Router(vlan)# exit | Exit to have the configuration take effect. | |
Step 5 |
|
|
Router(config)# ip slb vlan 2 client | Create the | |
|
| mode1. |
Step 6 |
|
|
Assign the CSM IP address on VLAN 2. | ||
| addr 192.158.38.10 255.255.255.0 |
|
Step 7 |
|
|
Define the | ||
| gateway 192.158.38.20 |
|
Step 8 |
|
|
Define the | ||
| gateway 192.158.38.21 |
|
Step 9 |
|
|
Create the | ||
| vlan 3 server | mode. |
Step 10 |
|
|
Assign the CSM IP address on VLAN 3. | ||
| addr 192.158.38.10 255.255.255.0 |
|
Step 11 |
|
|
Leave the submode. | ||
Step 12 |
|
|
Router(config)# ip slb vserver VIP1 | Create a virtual server and enter the SLB vserver mode. | |
Step 13 |
|
|
Create a virtual IP address. | ||
| 192.158.38.30 tcp www |
|
Step 14 |
|
|
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 |