Header
Home | Set as homepage | Add to favorites
  Search the Site     » Advanced Search
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey,


Debugging policy-based routing

Dec 01,2008 by alperen

image

Debugging policy-based routing
Below is the configuration and output from an exchange between the routers LAB1 and
LAB2, regarding LAB3:
LAB1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
LAB1(config)#access-list 100 permit ip any 192.168.100.0 0.0.0.255
LAB1(config)#route-map Sendtot1 permit 10
LAB1(config-route-map)#match ip address 100
LAB1(config-route-map)#set interface s0
LAB1(config-route-map)#exit
LAB1(config)#interface s2
LAB1(config-if)#ip policy route-map Sendtot1
LAB1(config-if)#^Z
LAB1#debug ip policy
Policy routing debugging is on
192.168.100.0
192.168.31.0
192.168.12.0
Lab3
Lab1
Lab2
E0
.1
.1 .1
.1
192.168.13.0
S0
S0
S0
S2
S1
S1
.2
.2
T1 .2
336 Chapter 10  Route Optimization
LAB2#ping 192.168.100.1
LAB1#
8w4d: IP: s=192.168.12.2 (Serial2), d=192.168.100.1, len 100, policy match
8w4d: IP: route map SENDTOT1, item 10, permit
8w4d: IP: s=192.168.12.2 (Serial2), d=192.168.100.1 (Serial0), len 100,
➥policy routed
8w4d: IP: Serial2 to Serial0 192.168.100.1
LAB1#
LAB2#ping 10.0.0.1
LAB1#
8w4d: IP: s=192.168.12.2 (Serial2), d=10.0.0.1 (Serial0), len 100,
➥policy rejected -- normal forwarding
LAB1#
Notice how the 56K link on LAB1’s interface S1 is not used in this exchange. This policy may
have been necessary because a protocol such as RIP was load-balancing across the two links, as
if they were equal. The result of the PBR configuration is that traffic coming in LAB1’s S2 interface,
bound for the 192.168.100.0 network, is forced over the T1, making traffic flow much
faster overall.
521 times read

Related news

» Type of service policies
by alperen posted on Dec 01,2008
» Type of Traffic Policies
by alperen posted on Dec 01,2008
» Source-Based Policies
by alperen posted on Dec 01,2008
» Using Policy-Based Routing to Route Based on Application Type
by admin posted on Jul 21,2008
» Verifying and Troubleshooting
by alperen posted on Dec 01,2008
Did you enjoy this article?
(total 0 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author