SlideShare a Scribd company logo
www.netprotocolxpert.in
Policy Based Routing
Introduction:-
 Is a most powerful feature you have available to you to direct
traffic moving to your cisco router
 Process applied to ingress interface of a router which override’s
the normal routing process
Objectives:-
 PC1 surfs the internet all day doing nothing productive. All
traffic from this PC should route out ISP, which is a slower
internet connection. If ISP2 is down, PC1 should not be able to
access the internet
 PC2 handles sophisticated transactions. Both Telnet and HTTPS
traffic should route towards ISP1, which is the more reliable
connections. All other traffic from PC2 should router out ISP2
 Traffic from other clients (not shown in this diagram) should
route out ISP2.
Testing:-
 Telnet from PC1 to ISP2 (200.200.200.5). This session should be
connect to the ISP Router
 Verify the traffic by using “show route-map” command on the R1.
 Performing the telnet session to ISP1(200.200.200.1) should fail
(Simply because ISP1 and ISP2 have no knowledge of each other)
 Telnet from PC2 to ISP1 (200.200.200.1} .Both session should
connect
Router1 interfaces Configuration
interface FastEthernet0/0
description CONNECTED WITH SW1
 ip address 192.168.2.1 255.255.255.0
 no shut
interface Serial1/0
description CONNECTED WITH ISP1
 ip address 200.200.200.2 255.255.255.252
 no shut
interface Serial1/1
description CONNECTED WITH ISP2
 ip address 200.200.200.6 255.255.255.252
 no shut
ISP1 (actually a routers} interfaces configuration
interface Serial1/0
description CONNECTED WITH R1
 ip address 200.200.200.1 255.255.255.252
 clock rate 64000
 no shut
 ip route 192.168.2.0 255.255.255.0 200.200.200.2
{for connecting R1 internal network}
ISP2 (actually a routers} interfaces configuration
interface Serial1/1
description CONNECTED WITH R1
 ip address 200.200.200.5 255.255.255.252
 clock rate 64000
 no shut
 ip route 192.168.2.0 255.255.255.0 200.200.200.6
{for connecting R1 internal network}
 First all the Devices ping each other But ISP1 and ISP2 do not ping
each other
On ISP2
 Create an access-list for permit PC1 and PC2 traffic
 access-list 10 permit 192.168.2.50
{Permit PC1}
 access-list 120 permit tcp host 192.168.2.100 any eq 443
{Permit PC2 https}
 ccess-list 120 permit tcp host 192.168.2.100 any eq telnet
{Permit PC2 telnet}
On ISP2
Now Implement the ACL into Route-map
 route-map POLICY-DEMO permit 10
{POLICY-DEMO:- route-map name}
 match ip address 10
{Match PC1 ACL 10}
 set ip next-hop 200.200.200.5
 {Set ISP2}
 route-map POLICY-DEMO permit 20
 match ip address 120 {Match PC2 ACL 120}
 set ip next-hop 200.200.200.1 {Set ISP2 for Telnet & https}
 route-map POLICY-DEMO permit 30
 set ip next-hop 200.200.200.5
{Permit PC2 and All Traffic to ISP2}
On ISP2
Apply Route-map into R1 Fastethernet interface
 interface FastEthernet0/0
 description CONNECTED WITH SW1
 ip policy route-map POLICY-DEMO
{filter the incoming traffic from internal networks}
Troubleshooting & Verification Commands
 Show ip route
 Show ip interface brief
 Show access-list
 Show route-map
 Debug ip policy
Policy Based Routing
Policy Based Routing

More Related Content

PDF
CCNA CheatSheet
PDF
CCNA Lab Guide
PDF
IOS Cisco - Cheat sheets
DOCX
Ccna command
PDF
Router commands
PDF
Segment Routing Lab
PDF
Ncat ccna cheat sheet
PDF
Policy Based Routing (PBR)
CCNA CheatSheet
CCNA Lab Guide
IOS Cisco - Cheat sheets
Ccna command
Router commands
Segment Routing Lab
Ncat ccna cheat sheet
Policy Based Routing (PBR)

What's hot (20)

PPT
Spanning tree protocol
PDF
Deploy MPLS Traffic Engineering
PDF
Ccna Commands In 10 Minutes
PPT
MPLS & BASIC LDP
PDF
ccna cheat_sheet
PPTX
GRE Tunnel Configuration
PDF
VRF (virtual routing and forwarding)
DOCX
How to configure vlan, stp, dtp step by step guide
PPTX
Cisco Live Milan 2015 - BGP advance
PDF
MikroTik & RouterOS
PDF
Designing Multi-tenant Data Centers Using EVPN
PDF
SRv6: DEPLOYMENT & USECASES by Aditya Kaul
PDF
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
PDF
Implementing cisco mpls
PDF
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
PPTX
HSRP ccna
PPTX
EVPN-Presentation.pptx
PPT
PDF
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Milan Jan/2014
Spanning tree protocol
Deploy MPLS Traffic Engineering
Ccna Commands In 10 Minutes
MPLS & BASIC LDP
ccna cheat_sheet
GRE Tunnel Configuration
VRF (virtual routing and forwarding)
How to configure vlan, stp, dtp step by step guide
Cisco Live Milan 2015 - BGP advance
MikroTik & RouterOS
Designing Multi-tenant Data Centers Using EVPN
SRv6: DEPLOYMENT & USECASES by Aditya Kaul
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
Implementing cisco mpls
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
HSRP ccna
EVPN-Presentation.pptx
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Milan Jan/2014
Ad

Viewers also liked (6)

KEY
Netscreen Policy Based Routing
PDF
PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)
PDF
9th SDN Expert Group Seminar - Session3
PDF
1st SDN Interest Group Seminar - Session2 (121017)
PDF
9th SDN Expert Group Seminar - Session2
PDF
[OpenStack Day in Korea] 15분만에 구축하는 오픈스택 기반 크라우드 솔루션: HP CloudSystem
Netscreen Policy Based Routing
PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)
9th SDN Expert Group Seminar - Session3
1st SDN Interest Group Seminar - Session2 (121017)
9th SDN Expert Group Seminar - Session2
[OpenStack Day in Korea] 15분만에 구축하는 오픈스택 기반 크라우드 솔루션: HP CloudSystem
Ad

Similar to Policy Based Routing (20)

PDF
4.1.1.10 Packet Tracer - Configuring Extended ACLs Scenario 1 Instructor (1).pdf
PDF
4.1.1.10 Packet Tracer - Configuring Extended ACLs Scenario 1.pdf
PDF
4.1.1.10 packet tracer configuring extended ac ls scenario 1
PDF
26.2.1 Packet Tracer - Configure Extended IPv4 ACLs - Scenario 1 - ITExamAnsw...
PDF
1. Task In this assignment you are asked to provide named.pdf
PPTX
Cisco CCNA IP SLA with tracking configuration
PDF
Lab8 Controlling traffic using Extended ACL Objectives Per.pdf
DOC
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
PPT
Firewalls
PPTX
BASIC TO ADVANCED NETWORKING TUTORIALS
DOC
Eigrp on a cisco asa firewall configuration
PDF
cisco-ewan-nat-acl-pt-practice-sba-with-solution-110516171316-phpapp02.pdf
DOCX
Ccna 2 rse practice skills assessment
PPT
In depth understanding network security
PPTX
Time Based ACL
PDF
Packettracersimulationlabl3routing 130306235157-phpapp02
PPTX
Basic Cisco ASA 5506-x Configuration (Firepower)
PDF
Cisco Equipment Security
PDF
Site to Site VPN between Cisco Routers
PPT
Firewall
4.1.1.10 Packet Tracer - Configuring Extended ACLs Scenario 1 Instructor (1).pdf
4.1.1.10 Packet Tracer - Configuring Extended ACLs Scenario 1.pdf
4.1.1.10 packet tracer configuring extended ac ls scenario 1
26.2.1 Packet Tracer - Configure Extended IPv4 ACLs - Scenario 1 - ITExamAnsw...
1. Task In this assignment you are asked to provide named.pdf
Cisco CCNA IP SLA with tracking configuration
Lab8 Controlling traffic using Extended ACL Objectives Per.pdf
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Firewalls
BASIC TO ADVANCED NETWORKING TUTORIALS
Eigrp on a cisco asa firewall configuration
cisco-ewan-nat-acl-pt-practice-sba-with-solution-110516171316-phpapp02.pdf
Ccna 2 rse practice skills assessment
In depth understanding network security
Time Based ACL
Packettracersimulationlabl3routing 130306235157-phpapp02
Basic Cisco ASA 5506-x Configuration (Firepower)
Cisco Equipment Security
Site to Site VPN between Cisco Routers
Firewall

More from NetProtocol Xpert (20)

PPTX
MPLS Layer 3 VPN
PPTX
Common Layer 2 Threats, Attacks & Mitigation
PPTX
Storm-Control
PPTX
Dynamic ARP Inspection (DAI)
PPTX
IP Source Guard
PPTX
DHCP Snooping
PPTX
Password Recovery
PPTX
Application & Data Center
PPTX
Cisco ISR 4351 Router
PPTX
Cisco ASR 1001-X Router
PPTX
Securing management, control & data plane
PPTX
Point to-point protocol (ppp), PAP & CHAP
PPTX
Avoid DNS lookup when mistyping a command
PPTX
TCLSH and Macro Ping Test on Cisco Routers and Switches
PPTX
Private VLANs
PPTX
MTU (maximum transmission unit) & MRU (maximum receive unit)
PPTX
OTV Configuration
PPTX
Cisco OTV 
PPTX
OTV(Overlay Transport Virtualization)
PPTX
Regular expression examples
MPLS Layer 3 VPN
Common Layer 2 Threats, Attacks & Mitigation
Storm-Control
Dynamic ARP Inspection (DAI)
IP Source Guard
DHCP Snooping
Password Recovery
Application & Data Center
Cisco ISR 4351 Router
Cisco ASR 1001-X Router
Securing management, control & data plane
Point to-point protocol (ppp), PAP & CHAP
Avoid DNS lookup when mistyping a command
TCLSH and Macro Ping Test on Cisco Routers and Switches
Private VLANs
MTU (maximum transmission unit) & MRU (maximum receive unit)
OTV Configuration
Cisco OTV 
OTV(Overlay Transport Virtualization)
Regular expression examples

Recently uploaded (20)

PPTX
UNIT 4 Total Quality Management .pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Project quality management in manufacturing
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
web development for engineering and engineering
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Sustainable Sites - Green Building Construction
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
UNIT 4 Total Quality Management .pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Lecture Notes Electrical Wiring System Components
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Project quality management in manufacturing
Model Code of Practice - Construction Work - 21102022 .pdf
Internet of Things (IOT) - A guide to understanding
R24 SURVEYING LAB MANUAL for civil enggi
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
web development for engineering and engineering
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Sustainable Sites - Green Building Construction
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
573137875-Attendance-Management-System-original
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx

Policy Based Routing

  • 3. Introduction:-  Is a most powerful feature you have available to you to direct traffic moving to your cisco router  Process applied to ingress interface of a router which override’s the normal routing process Objectives:-  PC1 surfs the internet all day doing nothing productive. All traffic from this PC should route out ISP, which is a slower internet connection. If ISP2 is down, PC1 should not be able to access the internet  PC2 handles sophisticated transactions. Both Telnet and HTTPS traffic should route towards ISP1, which is the more reliable connections. All other traffic from PC2 should router out ISP2  Traffic from other clients (not shown in this diagram) should route out ISP2.
  • 4. Testing:-  Telnet from PC1 to ISP2 (200.200.200.5). This session should be connect to the ISP Router  Verify the traffic by using “show route-map” command on the R1.  Performing the telnet session to ISP1(200.200.200.1) should fail (Simply because ISP1 and ISP2 have no knowledge of each other)  Telnet from PC2 to ISP1 (200.200.200.1} .Both session should connect
  • 5. Router1 interfaces Configuration interface FastEthernet0/0 description CONNECTED WITH SW1  ip address 192.168.2.1 255.255.255.0  no shut interface Serial1/0 description CONNECTED WITH ISP1  ip address 200.200.200.2 255.255.255.252  no shut interface Serial1/1 description CONNECTED WITH ISP2  ip address 200.200.200.6 255.255.255.252  no shut
  • 6. ISP1 (actually a routers} interfaces configuration interface Serial1/0 description CONNECTED WITH R1  ip address 200.200.200.1 255.255.255.252  clock rate 64000  no shut  ip route 192.168.2.0 255.255.255.0 200.200.200.2 {for connecting R1 internal network}
  • 7. ISP2 (actually a routers} interfaces configuration interface Serial1/1 description CONNECTED WITH R1  ip address 200.200.200.5 255.255.255.252  clock rate 64000  no shut  ip route 192.168.2.0 255.255.255.0 200.200.200.6 {for connecting R1 internal network}  First all the Devices ping each other But ISP1 and ISP2 do not ping each other
  • 8. On ISP2  Create an access-list for permit PC1 and PC2 traffic  access-list 10 permit 192.168.2.50 {Permit PC1}  access-list 120 permit tcp host 192.168.2.100 any eq 443 {Permit PC2 https}  ccess-list 120 permit tcp host 192.168.2.100 any eq telnet {Permit PC2 telnet}
  • 9. On ISP2 Now Implement the ACL into Route-map  route-map POLICY-DEMO permit 10 {POLICY-DEMO:- route-map name}  match ip address 10 {Match PC1 ACL 10}  set ip next-hop 200.200.200.5  {Set ISP2}  route-map POLICY-DEMO permit 20  match ip address 120 {Match PC2 ACL 120}  set ip next-hop 200.200.200.1 {Set ISP2 for Telnet & https}  route-map POLICY-DEMO permit 30  set ip next-hop 200.200.200.5 {Permit PC2 and All Traffic to ISP2}
  • 10. On ISP2 Apply Route-map into R1 Fastethernet interface  interface FastEthernet0/0  description CONNECTED WITH SW1  ip policy route-map POLICY-DEMO {filter the incoming traffic from internal networks} Troubleshooting & Verification Commands  Show ip route  Show ip interface brief  Show access-list  Show route-map  Debug ip policy