Cisco ASR routers use IOS XE 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. Output of this command is following:
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
* 10.10.10.0/24 192.168.4.9 0 65001 65005 i
Is it possible to see communities attached to 10.10.10.0/24 prefix before any inbound policies?