Knowledge Base

Design & Configure

PBR: Local Policy Based Routing (Cisco)

Technology: Routing

Area: PBR

Vendor: Cisco

Title: Local Policy Base Routing

Software: 12.X , 15.X, IP Services

Platform: Catalyst 3560, 3750, 3850, 4500, 6500, ISR/ASR Routers


Local policy based routing in contrary to normal policy feature affects purely locally generated traffic by the router instead of traffic traversing the router. It offers the same flexibility as normal PBR.


To configure a basic local policy which route locally originated traffic to a single host “” via next hop of in agreement with predefine policy:

R1#configure terminal
R1(config)# ip access-list extended FROM_ROUTER
R1(config-ext-nacl)# permit ip host host

R1(config)# route-map PBR-grandmetric permit 10
R1(config-route-map)# match ip address FROM_ROUTER
R1(config-route-map)# set ip next-hop

R1(config)# ip local policy route-map PBR-grandmetric

Verification commands:

To check if the policy is attached to device: 

R1# show ip policy
Interface      Route map
local              PBR-grandmetric

Once the policy is applied we can check the route-map status to observe how many packets match configured patterns.

R1# show route-map PBR-grandmetric
-map PBR-grandmetric, permit, sequence 10
Match clauses:
ip address (access-lists): FROM_ROUTER
Set clauses:
ip next-hop
Policy routing matches: 204 packets, 23923 bytes

Author: Marcin Bialy