[c-nsp] question with adj-rib-out and policy engine order and show commands

Aaron Gould aaron1 at gvtc.com
Sun Feb 9 12:41:12 EST 2020

Question with adj-rib-out and policy engines.  I've look at bassam halabi's
explanation in inet routing archs, googles, etc, etc.


Is "show ip bpg neighbor advertised-routes" PRE-outbound-policy or


someone please explain why I see r1 "show ip bpg neighbor
advertised-routes" showing metric 2, but I see on r2 that it rcv's it change
as planned to metric 17.


My question is really just about why I see metric 2 on advertise-route route
of r1, when I know it's getting set to metric 17.  Why don't I see what the
policy is changing it to on the sending router, r1 ?


I tried to only include pertinent info to keep this short and to the point.


*** R1..... Sending an advertisement..


r1#sh ip bgp neighbors advertised-routes | be Network

   Network          Next Hop            Metric LocPrf Weight Path

*>                 2         32768 ?


r1#sh run | sec router bgp

router bgp 123


neighbor route-map my-routemap-xmit out


route-map my-routemap-xmit, permit, sequence 10

    ip address prefix-lists: my-prefixlist-out

  Set clauses:

    metric 17


r1#sh ip prefix-list

   seq 1 permit


*** R2... Receiving that advertisement correctly as altered Metric 17


r2#sh ip bgp neighbors routes | be Network

   Network          Next Hop            Metric LocPrf Weight Path

*>                 17             0 123 ?


Total number of prefixes 1


r2#sh ip ro bgp is subnetted, 1 subnets

B [20/17] via, 09:40:38




More information about the cisco-nsp mailing list