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

PBR question

Hello.

I need to configure PBR on my RouterA.

I have <RouterA>----DLCI100----<RouterB>:

<10.100.102.94>--10.100.102.92/30--<10.100.102.93>

And also

<RouterA>----DLCI101----<RouterC>:

<10.100.102.90>---10.100.102.88/30---<10.100.102.89>

And I need:

-All packets from 10.20.28.0/24 on any, exept 194.186.3.0/24 will pass through DLCI100

-All packets from 194.186.3.0/24 on any, exept 10.20.28.0/24 will pass through DLCI101

Please, help me with configuration.

Kind regards.

1 REPLY
Community Member

Re: PBR question

If below config will work?

access-list 1 deny 10.20.28.0 0.0.0.255 194.186.3.0 0.0.0.255

access-list 1 permit 10.20.28.0 0.0.0.255 any

!

access-list 2 deny 194.186.3.0 0.0.0.255 10.20.28.0 0.0.0.255

access-list 2 permit 194.186.3.0 0.0.0.255 any

!

interface Serial1.1

ip policy route-map Moscow

!

interface Serial1.2

ip policy route-map Moscow

!

route-map Moscow permit 10

match ip address 1

set ip next-hop 10.100.102.93

!

route-map Moscow permit 20

match ip address 2

set ip next-hop 10.100.102.89

!

ip local policy route-map Moscow

120
Views
0
Helpful
1
Replies
CreatePlease to create content