Академический Документы
Профессиональный Документы
Культура Документы
Cache
1.1
1.2 Cache
1. Cache
1.3 Caching
Passive Caching
Active Caching
1. Cache
1.4 Cache deployment ()
Proxy mode
Client proxy server cache client browser(Web cache ) proxy server Cache server
Proxy mode
Internet
1. Cache
1.4 Cache deployment
Transparent mode
Client , application server cache server Redirection L4 switch, WCCP router Cache server cache bypass
Transparent mode
1. Cache
1.5 Cache protocol
Transparent caching cache server Cisco IOS protocol WCCP router HTTP, NNTP, MMS, RTSP protocol cache server
UDP
2. L4 switch
2.1 Layer 4 Switch
Layer 2 switching : MAC address MAC table broadcast Layer 3 switching : Destination IP Routing table IP packet forwarding Layer 4 switching : IP address TCP, UDP port number packet forwarding L2, L3, L4 protocol field Access List traffic filtering application data flow redirection
Routing table destination IP TCP, UDP port number network packet forwarding
forwarding
6
2. L4 switch
2.3 Layer 4 Switch
VPN Farm
2. L4 switch
2.4 Aplication Redirection
Web Cache
HTTP WAN
2. L4 switch
2.4 Aplication Redirection ()
DNS Redirection
DNS redirection
DNS DNS
Mobile DNS
2. L4 switch
2.4 Aplication Redirection ()
Host C
10
2. L4 switch
2.5 Server Load Balancing (SLB)
Round Robin
Round Robin
performance load
11
2. L4 switch
2.5 Server Load Balancing (SLB) ()
L4 black hole Server performance load Application (HTTP, FTP, DNS, RADIUS ) backup server ASP(Application Service Provider) server farm
DNS
10.0.0.1 To 100.1.1.1
10.0.0.2
FTP HTTP
Clients
DNS FTP
VIP 100.1.1.1
HTTP
12
2. L4 switch
2.6 Firewall Load Balancing (FLB)
fireWall fireWall fireWall Source IP, Destination IP hash forwarding fireWall FireWall L4 switch fireWall forwarding ICMP echo message FireWall
13
2. L4 switch
2.6 Firewall Load Balancing (FLB) ()
2 FLB
FireWalls
Internet
4 FLB (L4 )
L4 Switch L4 Switch
Internet
FireWalls
L4 Switch
14
3. AceDirector 3 (AD3)
3.1
15
3. AceDirector 3 (AD3)
3.2
CPU ASIC(WebIC) 8Gbps RISC Pentium CPU 2 Packet Performance , Flash Configuration OS
RISC RISC
RISC
Switch Modules
Fwd Engine
ASIC
RISC RISC
Fwd Engine
ASIC
Engine
RISC 2MB
.....
Uplink Module
2MB
16
3. AceDirector 3 (AD3)
3.3
Feature Set SLB(Server Load Balancing) SLB with NAT WCT with NAT WCR Dynamic NAT URL Parsing Filters
17
3. AceDirector 3 (AD3)
3.4
Auto, Half, Full Duplex ACE Director 3 10/100Mbps Port 802.3(10Mbps), 802.3u(100Mbps) 802.3x(Flow Control) 802.2(LLC) 802.1d(Spanning Tree) ACE Director 3 RIP Static Routing Protocol Load Balancing VIP : Round-Robin, Hash, Least-Connections, Min-Miss Web Cache Redirection EMS GUI View , , SNMP MIB
18
4. Configuration
4.1
10.254.100.100
Cache server
10.51.1.84 Port 5
10.51.1.110
Client
Client
19
4. Configuration
4.2 console
Speed : 9600 Data bit : 8 Parity bit : none Stop bit : 1 Flow Cntl : none
To AD3 (Male) 2 3 5
To PC (female) 2 3 5
20
4. Configuration
4.3
Boot version 8.0.49 Press <esc> for maintenance kernel.... The switch is booted with factory default configuration. To ease the configuration of the switch, a "Set Up" facility which
ACEdirector 3
Rebooted because of power cycle. Booting complete 23:51:08 Fri Dec 14, 2001: Version 8.0.49 from FLASH image1, factory default config block. Enter password: admin <--------
will prompt you with those configuration items that are essential
to the operation of the switch is provided. Would you like to run "Set Up" to configure the switch? [y/n] n -----------------------------------------------------------[Main Menu] info stats cfg oper boot maint diff apply save revert exit >> Main# - Information Menu - Statistics Menu - Configuration Menu - Operations Command Menu - Boot Options Menu - Maintenance Menu - Show pending config changes [global command] - Apply pending config changes [global command] - Save updated config to FLASH [global command] - Revert pending or applied changes [global command] - Exit [global command, always available]
System Information at 23:51:12 Fri Dec 14, 2001 ACEdirector 3 sysName: sysLocation: Last boot: 23:51:08 Fri Dec 14, 2001 (power cycle) MAC address: 00:60:cf:42:61:90 Hardware Revision: A Hardware Part No: 200009a02 Software Version 8.0.49 (FLASH image1), factory default configuration. IP (If 1) address: 0.0.0.0
21
4. Configuration
4.4 help
>> Main# [Main Menu] info stats cfg oper boot maint diff apply save revert
Tab
------------------------------------------------------------ Information Menu - Statistics Menu - Configuration Menu - Operations Command Menu - Boot Options Menu - Maintenance Menu - Show pending config changes [global command] - Apply pending config changes [global command] - Save updated config to FLASH [global command] - Revert pending or applied changes [global command]
exit
- Exit
22
4. Configuration
4.5 L4 switch IP address
Switch is set to use BOOTP for IP address assignment. Do you want to DISABLE the use of BOOTP? [y/n] n Use of BOOTP not changed.
23
4. Configuration
4.6 Cache server IP
>> IP Interface 1# /cfg/slb/real 1 -----------------------------------------------------------[Real server 1 rip name weight maxcon tmout backup inter retry DOWN restr UP addlb remlb - Add URL path for URL load balance - Remove URL path for URL load balance - Set number of successful attempts to declare server Menu] - Set IP addr of real server - Set server name - Set server weight - Set maximum number of connections - Set minutes inactive connection remains open - Set backup real server - Set interval between health checks - Set number of failed attempts to declare server
ena dis
del
cur
New pending real server IP address: 10.51.1.110 Warning: server did not respond to ping. >> Real server 1 # ena Current status: disabled New status: enabled
remote
proxy submac nocook
>> Real server 1 # apply -----------------------------------------------------------------Apply complete; don't forget to "save" updated configuration. >> Real server 1 #
24
4. Configuration
4.7 Real server group
>> Real server 1 # /cfg/slb/group 1 -----------------------------------------------------------[Real server group 1 Menu]
metric
health backup name add rem del cur
>> Real server group 1# add 1 Real server 1 added to real server group 1. >> Real server group 1# apply -----------------------------------------------------------------Apply complete; don't forget to "save" updated configuration. >> Real server group 1#
25
4. Configuration
4.8 Client http request redirection filter
>> Real server group 1# /cfg/slb/filt 2 -----------------------------------------------------------[Filter 2 Menu]
adv
smac dmac sip smask dip dmask proto sport dport action group rport nat invert ena dis del cur
26
4. Configuration
4.8 Client http request redirection filter ()
>> Filter 2
# sip any
source IP any
>> Filter 2
New pending source address: any >> Filter 2 # dip any destination IP any
# rport http
Current real server port: New pending real server port: >> Filter 2 # group 1
New pending destination address: any >> Filter 2 # proto tcp tcp source port any any tcp protocol any
New pending real server group: 1 >> Filter 2 New status: # ena enabled
# sport any
>> Filter 2
destination service port any http Current destination port or range: Pending new destination port or range:
# apply
27
4. Configuration
4.9 Non-cached traffic bypass default filter
>> Filter 2 [Filter 224 # ../filt 224 Menu] >> Filter 224 # sip any any
------------------------------------------------------------
New pending source address: any >> Filter 224 # dip any any
adv
smac dmac sip smask dip dmask proto sport dport action group rport nat invert ena dis del cur
New pending destination address: any >> Filter 224 # proto any any any
Current action: allow Pending new action: >> Filter 224 # ena
New status:
>> Filter 224
enabled
# apply
-----------------------------------------------------------------Apply complete; don't forget to "save" updated configuration. >> Filter 224 #
28
4. Configuration
4.10 Client port filter
>> SLB port 5# add 2 Filter 2 added to port 5. filter 2
filter 224
------------------------------------------------------------
Current port 5 filtering: disabled New port 5 filtering: >> SLB port 5# apply -----------------------------------------------------------------Apply complete; don't forget to "save" updated configuration. Also note that the following changes are still pending, waiting for a reset of the switch to take effect: Current value... Filtering: Filter 2: Filter 224: >> SLB port 5# new value... ------------------------------enabled
hotstan - Enable/disable hot-standby processing intersw - Enable/disable inter-switch processing proxy pip filt add rem - Enable/disable use of PIP for ingress traffic - Set Proxy IP address for port - Enable/disable filtering - Add filter to port - Remove filter from port
cur
29
4. Configuration
4.11 configuration
>> SLB port 5# .. [Layer 4 Menu] real group virt filt port gslb url sync adv on
(layer 4)
------------------------------------------------------------ Real Server Menu - Real Server Group Menu - Virtual Server Menu - Filtering Menu - Layer 4 Port Menu - Global SLB Menu - URL Resource Definition Menu - Config Synch Menu - Layer 4 Advanced Menu - Globally turn Layer 4 processing ON
>> Layer 4# apply -----------------------------------------------------------------Apply complete; don't forget to "save" updated configuration. >> Layer 4#
off
cur
30
4. Configuration
4.12
>> Layer 4# save Request will first copy the FLASH "active" config to "backup", then overlay FLASH "active" with new config. Confirm saving to FLASH [y/n]: y Compressing FLASH................ New config successfully saved to FLASH. Switch is currently set to use factory default config block on next boot. Do you want to change that to the active config block? [y/n] y Next boot will use active config block. >> Layer 4#
31
4. Configuration
4.13
slb
-----------------------------------------------------------[Server Load Balancing Information Menu] sess real virt filt port gslb dump - Session Table Information Menu - Show real server information - Show virtual server information - Show redirect filter information - Show port information - Show GSLB information - Show all layer 4 information
32
4. Configuration
4.14 configuration
/cfg/port 1 ena
tag dis
pvid 1 cont 256 /cfg/port 1/fast speed any fctl both mode any auto on /cfg/port 2 ena tag dis pvid 1 cont 256 /cfg/port 2/fast speed any fctl both mode any auto on
33
4. Configuration
4.14 configuration ()
/cfg/port 3 ena
/cfg/port 5 ena
tag dis
pvid 1 cont 256 /cfg/port 3/fast speed any fctl both mode any auto on /cfg/port 4 ena tag dis pvid 1 cont 256 /cfg/port 4/fast speed 0? fctl none mode 0? auto off
tag dis
pvid 1 cont 256 /cfg/port 5/fast speed any fctl both mode any auto on /cfg/port 6 ena tag dis pvid 1 cont 256 /cfg/port 6/fast speed any fctl both mode any auto on
34
4. Configuration
4.14 configuration ()
tag dis
pvid 1 cont 256 /cfg/port 7/fast speed any fctl both mode any auto on /cfg/port 8 ena tag dis pvid 1 cont 256 /cfg/port 8/fast speed any fctl both mode any auto on
ena
tag dis pvid 1 cont 256 /cfg/port 9/gig fctl both auto on /* /* /* /* /* /* /* /* /* /*
35
4. Configuration
4.14 configuration ()
/cfg/ip rearp 10 metrc strict /cfg/ip/if 1 ena addr 10.51.1.84 mask 255.0.0.0 broad 10.255.255.255 vlan 1 /cfg/ip/frwd/on dirbr disabled /* /* /cfg/slb/url/redir cooki dis
/*
/* /cfg/slb on /cfg/slb/adv direc dis imask 255.255.255.255 mnet 0.0.0.0 mmask 255.255.255.255 pmask 255.255.255.255 grace dis btshf 0 matrix ena /cfg/slb/real 1 ena rip 10.51.1.110 weight 1 maxcon 200000
urlal ena
nocache ena hash disable header dis host
36
4. Configuration
4.14 configuration ()
remot dis
tmout 10 retry 4 restr 8 proxy ena submac dis nocook dis exclude dis /cfg/slb/group 1 metric leastconns backup none healt tcp realthr 0 add 1 /* /* /cfg/slb/gslb/lookup lookups disabled
/* /* /cfg/slb/filt 2 ena actio redir sip any smask 0.0.0.0 dip any dmask 0.0.0.0 proto tcp sport any dport http group 1
rport 80
/cfg/slb/filt 2/adv
37
4. Configuration
4.14 configuration ()
actio allow
sip any smask 0.0.0.0 dip any dmask 0.0.0.0 proto any /cfg/slb/filt 224/adv /cfg/slb/port 5/ filt ena add 2 add 224 /* /* /* /* /script end /**** DO NOT EDIT THIS LINE! >> Configuration#
38
4. Configuration
4.15 configuration backup
39
4. Configuration
4.16 default configuration
>> Main# boot -----------------------------------------------------[Boot Options Menu] image conf tftp reset cur - Select software image to use on next boot - Select config block to use on next boot - Download new software image via TFTP - Reset switch [WARNING: Restarts Spanning Tree] - Display current boot options
>> Boot Options# conf Currently set to use active config block on next boot. Specify new block to use ["active"/"backup"/"factory"]: factory Next boot will use factory default config block instead of active. >> Boot Options# reset
Reset will use software "image1" and the factory default config block.
>> Note that this will RESTART the Spanning Tree, >> which will likely cause an interruption in network service. Confirm reset [y/n]: y Resetting at 4:27:18 Sat Dec 15, 2001...
40