Having a strange issue can't seem to figure out what's happening. I got 2 routers running BGP. Router A is advertising 220.127.116.11/24 subnet and Router B is advertising 18.104.22.168/24. Routing is working fine from the internet and I can access both subnets from any location in the world. Both routers share the same AS number though. The problem I am facing is that when I try to see BGP route for any of the subnets from router B, I can't seem to find any route.
SSH@YLINX-CORE-2024C-4X-TX#sh ip bgp routes 22.214.171.124/24
BGP4 : None of the BGP4 routes match the display condition
While strange enough If I try to see subnets for router A on router B it should be the BGP route.
SSH@YLINX-CORE-2024C-4X-NY#sh ip bgp route 126.96.36.199
Number of BGP Routes matching display condition : 1
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
S:SUPPRESSED F:FILTERED s:STALE x:BEST-EXTERNAL
Prefix Next Hop MED LocPrf Weight Status
1 0.0.0.0/0 188.8.131.52 0 100 0 BEx
Last update to IP routing table: 1h0m25s, 1 path(s) installed:
Route is not advertised to any peers
Can't seem to figure out what is the problem. Any pointers would be helpful.