Hi all,While playing around with PBR,, it seems like matching an as-path 
access-list in the PBR route-map actually works!!?? As far as I knew (as 
documented), only IP ACL:s and length were the only matchable criterias. Has 
anyone got any experience from this (matching other things than IP ACL and 
length in PBR)?This is the topology and config (R6 is doing PBR on f0.50.);R6 
is running Version 12.4(16),upstream|R6--f0.50-------BB3|
f0.30||BB2(AS2)R6#sh ip b 199.172.1.0BGP routing table entry for 
199.172.1.0/24, version 10Paths: (2 available, best #1, table 
Default-IP-Routing-Table)Advertised to update-groups:22150.3.13.254 from 
150.3.13.254 (150.3.13.254)Origin IGP, metric 0, localpref 300, valid, 
external, best1150.1.13.254 (metric 282112) from 150.1.13.254 
(199.172.16.1)Origin IGP, metric 0, localpref 200, valid, externalR6#sh ip ro 
150.3.13.254Routing entry for 150.3.13.0/24Known via "connected", distance 0, 
metric 0 (connected, via interface)Redistributing via eigrp 13, eigrp 
100Advertised by eigrp 100Routing Descriptor Blocks:* directly connected, via 
FastEthernet0.30Route metric is 0, traffic share count is 1R6#sh run int f0.50 
| i policyip policy route-map pbrR6#sh route-map pbrroute-map pbr, permit, 
sequence 10Match clauses:as-path (as-path filter): 1Set clauses:interface 
Tunnel0Policy routing matches: 132 packets, 8448 bytesR6#sh ip as 1AS path 
access list 1permit ^2$A trace with PBR enabled on R6;BB3#tr 199.172.1.0Type 
escape sequence to abort.Tracing the route to 199.172.1.01 150.2.13.1 0 msec 4 
msec 0 msec2 13.13.6.2 8 msec 4 msec 4 msec3 150.1.13.254 8 msec 4 msec 4 msec4 
* *Hop 3 above is beyond the tunnel endpoint:A trace without PBR on R6;BB3#tr 
199.172.1.0Type escape sequence to abort.Tracing the route to 199.172.1.01 
150.2.13.1 0 msec 4 msec 4 msec2 150.3.13.254 0 msec 0 msec 4 msec3 *It goes 
straight down to BB2 accordingly to the RIB.Another trace to another dest 
behind BB2 that doesn't match as-path acl 1 when PBR is enabled on R6;BB3#tr 
200.200.200.0Type escape sequence to abort.Tracing the route to 200.200.200.01 
150.2.13.1 0 msec 4 msec 0 msec2 150.3.13.254 8 msec 4 msec 0 msec3 
150.3.13.254 !HThink this proves that PBR and as-path ACL actually works...or 
?? 
_________________________________________________________________
Står karriären still? Låt någon annan hitta drömjobbet åt dig!
http://msn.jobbguiden.se/jobseeker/resumes/postresumenew/postresumestart.aspx?sc_cmp2=JS_INT_SEMSN_NLPCV

Reply via email to