Alteon配置样例复习过程.ppt

上传人:豆**** 文档编号:77649887 上传时间:2023-03-16 格式:PPT 页数:141 大小:3.47MB
返回 下载 相关 举报
Alteon配置样例复习过程.ppt_第1页
第1页 / 共141页
Alteon配置样例复习过程.ppt_第2页
第2页 / 共141页
点击查看更多>>
资源描述

《Alteon配置样例复习过程.ppt》由会员分享,可在线阅读,更多相关《Alteon配置样例复习过程.ppt(141页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、Alteon配置样例Hand-On Lab AgendaLayer 4 LBBasic L4Client NAT(Proxy IP)Source IP PersistencyLayer 7 LB URLUser-AgentHostHost+Regular ExpressionOther HTTP HeaderLayer 7 Content ModificationX-Forwarded-For InsertionCookie InsertionError Code ModificationServer CloakingPagename ReplacementPagetype Replaceme

2、ntHost ReplacementPath InsertionAccelerationCompressionHTTP MultiplexingSSL Offload&AccelerationOne-Arm SLBRedundancyVRRPVRRP+Tracking(“IF”Interface)VRRP+Tracking(Real Server)Basic SLB+Server Outbound NATFilter+PIP“Invert”Filter+PIP“ProxyIP”in FiltervADC RedundancyVRRP+Session MirroringGSLBAlteon Co

3、nfig Dump“/cfg/dump”Main#/cfg/dscript start Alteon Application Switch 4408 4 /*DO NOT EDIT THIS LINE!/*Configuration dump taken 15:57:42 Fri Jan 21,2011/*Configuration last applied at 15:40:01 Fri Jan 21,2011/*Configuration last save at 15:57:36 Fri Jan 21,2011/*Version 27.0.0,Base MAC address 00:03

4、:b2:50:f9:80/cfg/l2/stg 1/off/cfg/l3/if 1 ena ipver v4 addr 10.1.1.1 mask 255.255.255.0 broad 10.1.1.255/cfg/slb on/cfg/slb/adv direct ena/cfg/slb/real 1 ena ipver v4 rip 10.1.1.101-/cfg/slb/real 2 ena ipver v4 rip 10.1.1.102/cfg/slb/group 1 ipver v4 add 1 add 2/cfg/slb/port 1 client ena/cfg/slb/por

5、t 2 server ena/cfg/slb/virt 1 ena ipver v4 vip 10.1.1.100/cfg/slb/virt 1/service 80 http group 1/script end /*DO NOT EDIT THIS LINE!Sever&Service Up Message/i/slb/group 1/i/slb/vir 1/i/slb/sess/dump/stat/slb/vir 1Client NAT:Proxy IP10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy

6、.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network TopologyPhy.Port 1:-Client NAT IP:10.1.1.12321Source IP:10.1.1.88Source IP:10.1.1.123Proxy IP Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/sl

7、b/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/pip/type port/cfg/slb/pip/add 10.1.1.123 1/cfg/slb/port 1/proxy enLayer 4 LB:Source IP

8、Persistency10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network TopologySource IP Persistency Config/c/l2/stg 1/off/c/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/c/slb/on/c/slb/adv/direct en

9、/c/slb/r 1/rip 10.1.1.101/en/c/slb/r 2/rip 10.1.1.102/en/c/slb/gr 1/add 1/add 2/c/slb/vir 1/vip 10.1.1.100/en/c/slb/vir 1/service 80/gr 1/c/slb/port 1/client en/c/slb/port 2/server en/c/slb/group 1/metric phashL7 LB:URL10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(clien

10、t port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology1http:/10.1.1.100/index1.htmhttp:/10.1.1.100/index2.htmindex1.htm2index2.htm2URL LB Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10

11、.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/slb/ren 2 index1.htm/cfg/slb/layer7/slb/ren 3 index2.htm/*/cfg/slb/layer7/slb/addstr index1.htm

12、/*/cfg/slb/layer7/slb/addstr index2.htm/cfg/slb/real 1/layer7/addlb 2/cfg/slb/real 2/layer7/addlb 3/cfg/slb/virt 1/service 80/dbind en/cfg/slb/virt 1/service 80/http/httpslb urlslbHTTP URL/Header SLB“/stat/slb/layer7/str”&“/stat/slb/virt 1”“/stat/slb/layer7/str”&“/stat/slb/virt 1”L7 LB:User-Agent10.

13、1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology1http:/10.1.1.10012http:/10.1.1.100http:/10.1.1.1002http:/10.1.1.100User-Agent LB Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/

14、mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/slb/ren 2 Firefox/c

15、fg/slb/layer7/slb/ren 3 MSIE/cfg/slb/real 1/layer7/addlb 2/cfg/slb/real 2/layer7/addlb 3/cfg/slb/virt 1/service 80/dbind en/cfg/slb/virt 1/service 80/http/httpslb browserL7 LB:Host10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1

16、.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology1http:/http:/22http:/http:/Hostname LB Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/vir

17、t 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/slb/ren 2 3 1/layer7/addlb 2/cfg/slb/real 2/layer7/addlb 3/cfg/slb/virt 1/service 80/dbind en/cfg/slb/virt 1/service 80/http/httpslb hostLayer 7 LB:Host+Regular Expression10.1.1.8

18、8client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology1http:/10.1.1.100/index1.htmhttp:/10.1.1.100/index2.htmindex1.htm2index2.htm2Host+Regular Expression Config/cfg/l2/stg 1/off/cfg/l3/if 1/

19、addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/slb/r

20、en 2 3 1/layer7/addlb 2/cfg/slb/real 2/layer7/addlb 3/cfg/slb/virt 1/service 80/dbind en/cfg/slb/virt 1/service 80/http/httpslb hostL7 LB:Other HTTP Header10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.10

21、0Physical Network Topology1http:/10.1.1.10012http:/10.1.1.100http:/10.1.1.1002http:/10.1.1.100(Language:zh-HK)(Language:en-us)Other HTTP Header LB Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/

22、rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/slb/ren 2 en-us/cfg/slb/layer7/slb/ren 3 zh-HK/cfg/slb/real 1/layer7/addlb 2/cfg/slb/real 2/layer7/addlb 3/cfg/slb/virt 1/

23、service 80/dbind en/cfg/slb/virt 1/service 80/http/httpslb others Accept-LanguageLayer 7 Modification:X-Forwarded-For Insertion10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network TopologyX-

24、Forwarded-For Insertion Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/po

25、rt 1/client en/cfg/slb/port 2/server en/cfg/slb/virt 1/service 80/http/xforward enL7 Modification:Cookie Insertion10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology1http:/10.1.1.1

26、00Set-Cookie:AlteonP=f4ecbbdaf4ecbbdbbaeehabf22Set-Cookie:AlteonP=f4ecbbdaf4ecbbd8baeebabcCookie Insertion Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/

27、add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/virt 1/service 80/dbind en/cfg/slb/virt 1/service 80 http/pbind cookie insertL7 Modification:Error Code Modification10.1.1.88client10.1.1.101(real server 1)10.1.1.102(re

28、al server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network TopologyReturn Code:200Return Code:20112Error Code Modification Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10

29、.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/slb/ren 2 en-us/cfg/slb/layer7/slb/ren 3 zh-HK/cfg/slb/real 1/layer7/addlb 2/cfg/slb/real 2/lay

30、er7/addlb 3/cfg/slb/virt 1/service 80/dbind en/cfg/slb/virt 1/service 80/http/httpslb others Accept-Language/cfg/slb/virt 1/service 80 http/http/errcode ena match_code=200 nonredirect_code=201 nonredirect_reason=Alteon-ModifyOriginalAlteon ModifiedL7 Modification:Server Cloaking10.1.1.88client10.1.1

31、.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network TopologyServer:Samber 4.3Server:Web Server12Server Cloaking Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/dir

32、ect en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/slb/ren 2 en-us/cfg/slb/layer7/slb/ren 3 zh-HK/cfg/slb/real 1/layer

33、7/addlb 2/cfg/slb/real 2/layer7/addlb 3/cfg/slb/virt 1/service 80/dbind en/cfg/slb/virt 1/service 80/http/httpslb others Accept-Language/cfg/slb/virt 1/service 80 http/http/errcode ena match_code=200 nonredirect_code=201 nonredirect_reason=Alteon-Modify“/cfg/slb/virt 1/ser 80/http/cloaksrv enOrigina

34、lAlteon ModifiedLayer 7 Modification:Pagename Replacement(request)10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology21http:/10.1.1.100/index1.htmhttp:/10.1.1.100/index2.htmPagenam

35、e Replacement Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/clien

36、t en/cfg/slb/port 2/server en/cfg/slb/layer7/httpmod 1/ena/cfg/slb/layer7/httpmod 1/rule 1 url/ena/cfg/slb/layer7/httpmod 1/rule 1 url/directn req/cfg/slb/layer7/httpmod 1/rule 1 url/match/pagename index1/cfg/slb/layer7/httpmod 1/rule 1 url/action/pagename index2/cfg/slb/virt 1/service 80 http/http/

37、httpmod 1Layer 7 Modification:Pagetype Replacement(request)10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology21http:/10.1.1.100/index1.htmlhttp:/10.1.1.100/index1.htmPagetype Repl

38、acement/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/

39、port 2/server en/cfg/slb/layer7/httpmod 1/ena/cfg/slb/layer7/httpmod 1/rule 1 url/ena/cfg/slb/layer7/httpmod 1/rule 1 url/directn req/cfg/slb/layer7/httpmod 1/rule 1 url/match/pagetype html/cfg/slb/layer7/httpmod 1/rule 1 url/action/pagetype htm/cfg/slb/virt 1/service 80 http/http/httpmod 1Layer 7 M

40、odification:Host Replacement (request)10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology21http:/http:/Host Replacement/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.

41、0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/httpmod 1/ena/cfg/slb/layer7/httpmod

42、 1/rule 1 url/ena/cfg/slb/layer7/httpmod 1/rule 1 url/directn req/cfg/slb/layer7/httpmod 1/rule 1 url/match/host eq 1/rule 1 url/action/host replace 1/service 80 http/http/httpmod 1Layer 7 Modification:Host Replacement(return&body)10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.

43、Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology12Host Replacement(return&body)/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cf

44、g/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/httpmod 1/ena/cfg/slb/layer7/httpmod 1/rule 1 url/ena/cfg/slb/layer7/httpmod 1/rule 1 url/directn resp/cfg/slb/layer7/httpmod 1/rule 1 url/bod

45、y include/cfg/slb/layer7/httpmod 1/rule 1 url/match/host eq 1/rule 1 url/action/host replace 1/service 80 http/http/httpmod 1Layer 7 Modification:Path Insertion(request)10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1

46、)VIP:10.1.1.100Physical Network Topology21http:/ Insertion Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/v

47、irt 1/service 80/group 1/cfg/slb/port 1/client en/cfg/slb/port 2/server en/cfg/slb/layer7/httpmod 1/ena/cfg/slb/layer7/httpmod 1/rule 1 url/ena/cfg/slb/layer7/httpmod 1/rule 1 url/directn req/cfg/slb/layer7/httpmod 1/rule 1 url/match/path eq dir1/cfg/slb/layer7/httpmod 1/rule 1 url/action/path inser

48、t internal/before/cfg/slb/virt 1/service 80 http/http/httpmod 1Acceleration :Compression10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client port)Phy.Port 2(server port)IF 1:10.1.1.1(Vlan 1)VIP:10.1.1.100Physical Network Topology12File Size=1MBFile Size=7KB(after compre

49、ssion)Compression Config/cfg/l2/stg 1/off/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en/cfg/slb/on/cfg/slb/adv/direct en/cfg/slb/real 1/rip 10.1.1.101/en/cfg/slb/real 2/rip 10.1.1.102/en/cfg/slb/group 1/add 1/add 2/cfg/slb/virt 1/vip 10.1.1.100/en/cfg/slb/virt 1/service 80/group 1/cfg/slb/port 1/c

50、lient en/cfg/slb/port 2/server en/cfg/slb/accel/compress/on/cfg/slb/accel/compress/comppol 1/minsize 1024/cfg/slb/accel/compress/comppol 1/ena/cfg/slb/virt 1/service 80 http/http/comppol 1Acceleration:HTTP Multiplexing10.1.1.88client10.1.1.101(real server 1)10.1.1.102(real server 2)Phy.Port 1(client

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 小学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁