cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
548
Views
0
Helpful
6
Replies

Policy based routing

drnteam
Level 1
Level 1

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 6

foxbatreco
Level 3
Level 3

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

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)

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!!!

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

HTH

Rick

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.

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

Review Cisco Networking for a $25 gift card