background image
Written Lab
389
Written Lab
Write the configuration for the RouterA, such that HTTP traffic is
directed to RouterC, and all other traffic is directed to RouterB, as shown in
the following graphic:
Solution
The first step is to create an access list that specifies the traffic we are inter-
ested in, which in this case is HTTP traffic. By default, HTTP uses TCP port
80. Therefore, our access list would be
access-list 101 permit tcp any any eq 80
Next, we need to create a route map. In this exercise, we will name it
"routeweb":
route-map routeweb permit 10
We'll now set the criteria for the first match clause:
match ip address 101
Next, we will use the set clause to specify the next-hop address of traffic
satisfying the match clause:
set ip next-hop 172.16.1.1
Internet
172.16.1.1
172.16.2.1
T3
T1
RouterB
RouterC
RouterA
HTTP
Telnet, FTP, etc.
Copyright ©2001 SYBEX , Inc., Alameda, CA
www.sybex.com