Configuration Examples

 

Command

 

Purpose

Step 5

 

 

Router(config-slb-vserver)# virtual

Create a virtual IP address.

 

192.158.38.30 tcp www

 

Step 6

 

 

Router(config)# ip slb vlan 3 server

Create the server-side VLAN 3 and enter the SLB

 

 

 

VLAN mode.

Step 7

 

 

Router(config-slb-vserver)# ip addr

Assign the CSM IP address on VLAN 2.

 

192.158.39.10

255.255.255.0

 

Step 8

 

 

Router(config-slb-vserver)# alias ip addr

Assign the default route for VLAN 2.

 

192.158.39.20

255.255.255.0

 

Step 9

 

 

Router(config) ip slb vlan 9 ft

Define VLAN 9 as a fault-tolerant VLAN.

Step 10

 

 

Router(config)# ip slb fault_tolerance

Create the Content Switching primary and

 

group ft-group-number vlan 9

secondary (A/B) group VLAN 9.

 

 

 

Step 11

Router(config)# vlan database

Enter the VLAN mode1.

Step 12

Router(vlan)# vlan 2

Configure a client-side VLAN22.

Step 13

Router(vlan)# vlan 3

Configure a server-side VLAN3.

 

 

 

Step 14

Router(vlan)# vlan 9

Configure a fault-tolerant VLAN9.

Step 15

 

 

Router(vlan)# exit

Enter the exit command to have the configuration

 

 

 

take affect.

 

 

 

 

1.xEnter 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.

To configure the secondary (B) CSM for fault tolerance, perform this task (see Figure 12):

 

Command

 

Purpose

Step 1

 

 

Router(config)# ip slb vlan 2 client

Create the client-side VLAN 2 and enter the

 

 

 

SLB VLAN mode1.

Step 2

Router(config-slb-vlan-client)# ip addr

Assign the Content Switching IP address on

 

192.158.38.40 255.255.255.0

VLAN 2.

Step 3

 

 

Router(config) ip slb vlan 9 ft

Define VLAN 9 as a fault-tolerant VLAN.

Step 4

 

 

Router(config-slb-vlan-client)# gateway

Define the client-side VLAN gateway.

 

192.158.38.20

 

 

Step 5

 

 

Router(config)# ip slb vserver vip1

Create a virtual server and enter the SLB vserver

 

 

 

mode.

Step 6

 

 

Router(config-slb-vserver)# virtual

Create a virtual IP address.

 

192.158.38.30 tcp www

 

Step 7

 

 

Router(config)# ip slb vlan 3 server

Create the server-side VLAN 3 and enter the

 

 

 

SLB VLAN mode.

Step 8

 

 

Router(config-slb-vserver)# ip addr

Assign the CSM IP address on VLAN 3.

 

192.158.39.30

255.255.255.0

 

Step 9

 

 

Router(config-slb-vserver)# alias

Assign the default route for VLAN 2.

 

192.158.39.20

255.255.255.0

 

Step 10

 

 

Router(config)# ip slb fault_tolerance group

Create the CSM primary and secondary (A/B)

 

ft-group-number ab vlan 9

group VLAN 9.

 

 

 

 

1. Enter the exit command to leave a mode or submode. Enter the end command to return to the menu’s top level.

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

42

78-11631-02 Rev. A0

Page 42
Image 42
Cisco Systems 6000 Assign the default route for Vlan, Define Vlan 9 as a fault-tolerant Vlan, Secondary A/B group Vlan