cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
427
Views
0
Helpful
1
Replies

policy route or VACL with http redirect

juan-ruiz
Level 1
Level 1

I have a SUP720 and would like to know if it can support the following configuration.

Create a VACL or policy base route type of configuration that if the source is a specific network and the protocol is http destined to group of systems redirect them to another IP address.

Source = 10.21.0.0/16

Destination = 10.25.5.11, .12, .13

Protocol http =

Action redirect to http://10.25.4.20

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

Juan

access-list 101 permit tcp 10.21.0.0 0.0.255.255 host 10.25.5.11

access-list 101 permit tcp 10.21.0.0 0.0.255.255 host 10.25.5.12

access-list 101 permit tcp 10.21.0.0 0.0.255.255 host 10.25.5.13

route-map PBR permit 10

match ip address 101

set ip next-hop 10.25.4.20

int vlan

ip policy route-map PBR

where vlan is the interface that the 10.21.0.0/16 traffic will come in on.

The above will simply send all http traffic from 10.21.0.0/16 to 10.25.5.11/12/13 to the next hop of 10.25.4.20. However this may not be what you want. If you are simply looking to redirect http traffic you may want to look at WCCP.

Jon