380
Intel
®
NetStructure™ 480T Routing Switch User Guide
Configuring the Switches for SLB and ESRP
The SLB and ESRP
configurations are identical
on both switches, in
relation to the ports being
used.
The procedure used to configure the Switch 1 and Switch 2 in
Figure 18.5 is described below.
1. Create the VLANs, using these commands:
create vlan inside
create vlan server
2. Connect the gateway to the VLAN inside, using these com-
mands:
configure inside ipaddress 1.10.0.2 /16
configure inside add port 10
3. Configure the servers to connect to the VLAN server on ports 1
through 4, and configure port 8 to connect to the other ESRP
switch, using these commands:
configure server ipaddress 1.205.0.1 /16
configure server add port 1-4, 8
4. Enable IP forwarding, create a server pool called testpool, and
add four servers to it using TCP port 80, using these commands:
enable ipforwarding
create slb pool testpool
configure slb pool testpool add 1.205.1.1:80
configure slb pool testpool add 1.205.1.2:80
configure slb pool testpool add 1.205.1.3:80
configure slb pool testpool add 1.205.1.4:80
5. Use these commands to create SLB VIP addresses for the two
Web sites (
site1 and site2) and associate them with server pool
testpool:
create slb vip site1 pool testpool mode
transparent 1.10.1.1:80
create slb vip site2 pool testpool mode
transparent 1.10.1.2:80
6. Use these commands to display the statistics of SLB pool mem-
bers and SLB VIPs.
show slb stats pool
show slb stats pool testpool
show slb stats vip site1