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

Policy based routing

Hi,

I have done a policy based routing and attached the policy to the interface. But none of the packets are marking.

route-map name permit 10

match ip address 150

set ip next-hop.

And attached this to an ATN subinterface as;

ip policy route-map name

Can any one help to identify the reason of this;

6 REPLIES
Bronze

Re: Policy based routing

Pls post the config of show route-map as well as the ACL 150!!!

New Member

Re: Policy based routing

route-map APS-ToDIC, permit, sequence 10

Match clauses:

ip address (access-lists): 150

Set clauses:

ip next-hop (IP)

Policy routing matches: 0 packets, 0 bytes

10 permit ip 170.79.1.0 0.0.0.255 host (Destination)

Bronze

Re: Policy based routing

Try changing the acl to 150 permit ip 170.79.1.0 0.0.0.255 any.

am sure you must hav given the correct NH but just as a re-check,pls check the NH ip as well.

Let us know the output once u test this.

Pls rate if this helps!!!

Hall of Fame Super Silver

Re: Policy based routing

The original post says that the route map is assigned to the interface. But it does not tell whether the interface is the source interface where the packets arrive or is the destination interface where the packets are sent out. PBR needs the route map to be on the source interface and not the destination interface.

HTH

Rick

New Member

Re: Policy based routing

Hi,

The route map is assigned on the source interfce where the VLAN is active. But the WAN interface (where the branch is connected)is in other router.

Re: Policy based routing

DRNTEAM,

To make sure that the packets from 170.79.1.0/24 to the host(Destination) pass through the ATN sub-interface. Set ip next-hop command will be used for the connected next-hop.

If you correctly configure then it should work.

Is that a production router? "debug ip policy" is a good command to ensure that has been correctly configured.

HTH

Thot

144
Views
0
Helpful
6
Replies
CreatePlease login to create content