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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

PBR ACL configuration to PBR certain hosts

Hello,

I have a route-map setup on a port to route only internet traffic to the next-hop. I would like to be able to route-map one of the ip's on the network that is being routed to a different next-hop. Here is my config:

ip access-list extended inet

deny ip any 192.168.0.0 0.255.255.255 (this is the network accessing the internet)

deny ip any 10.50.1.0 0.255.255.255 (this is the network on my switches)

deny ip any 10.51.3.0 0.255.255.255 (this is the network with different gateways to the internet)

permit ip any any

!

route-map dsl01 permit 10

match ip address inet

set ip next-hop 10.51.3.2

So the route-map is assigned to port 5 on the switch and it routes internet traffic to 10.51.3.2. But I would like to be able to route just machine 192.168.0.1 to a different hop (10.51.3.3). Can this be done in the route-map or acl?

Thanks,

Dan.

  • Other Network Infrastructure Subjects
1 REPLY

Re: PBR ACL configuration to PBR certain hosts

Yes, just need to add another route map ahead of the existing one.

ip access-list extended inet

deny ip any 192.168.0.0 0.255.255.255 (this is the network accessing the internet)

deny ip any 10.50.1.0 0.255.255.255 (this is the network on my switches)

deny ip any 10.51.3.0 0.255.255.255 (this is the network with different gateways to the internet)

permit ip any any

ip access-list extended test

permit ip any host 192.168.0.1

route-map dsl01 permit 5

match ip address test

set ip next-hop 10.51.3.3

!

route-map dsl01 permit 10

match ip address inet

set ip next-hop 10.51.3.2

Configuration is self explanatory.

Let me know if you have any questions.

--Sundar

98
Views
0
Helpful
1
Replies
This widget could not be displayed.