Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

qualify the traffic by port or class of service

We are in a switched network, using Cat 5500 switches. The routing is done via RSM on our 2 back bone switches. We have a default route established that currently points to 172.21.8.9 address. What we would like to do is to route all the HTTP/HTTPS traffic to a different ip address. Is there a way to route a specific traffic to an ip address based on a port or a class of service? - sort of like 0.0.0.0 0.0.0.0 port 80 172.21.8.10

Thanks.

1 REPLY
New Member

Re: qualify the traffic by port or class of service

You need Policy Based Routing

This feature was introduced in 12.1 (I believe) and if the RSM is an IOS "Thingy" will support it.

Refer to:

http://www.cisco.com/en/US/tech/tk648/tk365/technologies_tech_note09186a008009481d.shtml

You need to define a policy like

!

access-list 111 permit tcp any any 80

!

route-map web permit 10

match ip address 111

set ip next-hop 172.21.8.10

and apply it to your routing interfaces. Please not that the packets not matching your route maps will be conventionally routed, therefore ensure you have appropriate routes for non-policy based destinations.

Final consideration is that PBR is in PLUS images.

Fabio

68
Views
0
Helpful
1
Replies
CreatePlease login to create content