[c-nsp] How to view BGP community attached to prefix in Cisco ASR routers?

Martin T m4rtntns at gmail.com
Fri Aug 7 10:33:12 EDT 2015


thanks! I checked the "show ip bgp" command numerous times, but I did
not know that the "received-only" part shows the prefix before any
ingress policies.


On 8/7/15, Antoine Monnier <mrantoinemonnier at gmail.com> wrote:
> you should be able to do that if you configure "soft-reconfiguration
> inbound" and look for the specific prefix with "show ip bgp".
> It will show the prefix before any inbound policies (tagged with
> "receive-only") and the prefix after the policy has been applied.
> On Fri, Aug 7, 2015 at 12:56 PM, Martin T <m4rtntns at gmail.com> wrote:
>> Hi,
>> Cisco ASR routers use IOS XR software. One can see the received IPv4
>> unicast prefixes from BGP neighbor before any inbound policies with
>> "sh bgp ipv4 unic neigh <neighbor-address> received routes" command.
>> Example output of this command is:
>> Status codes: s suppressed, d damped, h history, * valid, > best
>>               i - internal, r RIB-failure, S stale
>> Origin codes: i - IGP, e - EGP, ? - incomplete
>>    Network            Next Hop            Metric LocPrf Weight Path
>> *                           0 65001 65005 i
>> Is it possible to see communities attached to prefix
>> before any inbound policies?
>> thanks,
>> Martin
>> _______________________________________________
>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>> archive at http://puck.nether.net/pipermail/cisco-nsp/

More information about the cisco-nsp mailing list