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

Routing by port number

Has anyone ever routed by port number.

2 REPLIES
New Member

Re: Routing by port number

You can look into policy routing on CCO. With this approach, you set policy for inbound traffic on an interface. You then use 'match' and 'set' commands to achieve your goal (for instance set next hop). You can match the incoming traffic using extended access lists, which I believe allow you to go down to the destination port number.

New Member

Re: Routing by port number

It is very easy and you can define outgoing port for a given set of IPs.

int s1/2

ip address x.x.x.x x.x.x.x

ip policy route-map ABC

access-list 20 permit y.y.y.y y.y.y.y

route-map ABC

match ip address 20

set interface s2/3

i hope it helps.

Thanks

kanwal

201
Views
0
Helpful
2
Replies
CreatePlease login to create content