Техническая Инструкция для Cisco Cisco Content Switching Module
cat(config−if)# no shutdown
cat(config)# inter fastEthernet 2/4
cat(config−if)# switchport
cat(config−if)# switchport access vlan 200
cat(config−if)# no shutdown
Create the client side VLAN and gateway.
cat(config)# ip slb vlan 100 client
cat(config−slb−vlan−client)# ip address 172.17.63.217 255.255.255.192
cat(config−slb−vlan−client)# gateway 172.17.63.210
5.
Create the server side VLAN.
cat(config)# ip slb vlan 200 server
cat(config−slb−vlan−server)# ip address 10.1.1.251 255.255.255.0
cat(config−slb−vlan−server)# alias 10.1.1.250 255.255.255.0
6.
Create the serverfarm.
cat(config)# ip slb serverfarm WWWFARM
cat(config−slb−sfarm)# real 10.1.1.3
cat(config−slb−real)# inservice
cat(config−slb−real)# real 10.1.1.5
cat(config−slb−real)# inservice
7.
Create vserver and associate serverfarm.
cat(config)# ip slb vserver SERVER
cat(config−slb−vserver)# virtual 172.17.63.241 tcp www
cat(config−slb−vserver)# serverfarm WWWFARM
cat(config−slb−vserver)# inservice
8.
The following is a sample configuration of server load balancing that uses the Cisco Catalyst 6500 and the
CSM.
CSM.
CSM (WS−X6066−SLB−APC) Running Configuration
Current configuration : 3791 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password−encryption
!
hostname cat
!
boot buffersize 126968
boot system flash slot0:c6sup11−jsv−mz.121−8.EX.bin
!
redundancy
main−cpu
auto−sync standard
ip subnet−zero
!
!−−− SLB mode.
ip slb mode csm
!
!−−− Client side VLAN configuration.
!−−− Important: Gateway address pointing to interface VLAN 100.
ip slb vlan 100 client