07-05-2019 10:01 AM
07-05-2019 12:43 PM
Hi @Ibrahim Jamil,
On the IOS-XE platform you can make use of the soft-reconfiguration inbound command for your BGP peer.
This is, neighbor <IP_ADDRESS> soft-reconfiguration inbound under the BGP configuration section on your Cisco IOS-XE based Router.
You can use then:
- show bgp ipv4 unicast neighbor<IP_ADDRESS> received-routes (or show ip bgp neighbor <IP_ADDRESS> received-routes)
to see all the received routes before any filter.
and
- show bgp ipv4 unicast neighbor<IP_ADDRESS> routes (or show ip bgp neighbor <IP_ADDRESS> routes)
to see all the received routes that passed the filter.
Just be aware that the command will make BGP store the routes twice and thus requiring more memory.
More information via:
I hope this helps.
Regards.
07-06-2019 01:36 AM
Hello Hector
how to catch it via Debug
thanks
07-06-2019 05:45 AM
Hi @Ibrahim Jamil,
Have debug ip bgp updates enabled while the BGP UPDATES are being received from the peer.
Cheers.
07-06-2019 07:48 AM
Hello hector
i need to see the below highlighted in red
!***Drops common CSG community***
if community matches-any (10:10) then
route-policy R2-BGP_Egress_Transport_Filter
!***Passes FAN Loopbacks***
if community matches-any (20:20) then
pass
else
!***Passes Communities in R2: 10:201, 10:202, etc.***
if community matches-any (10:2*) then
pass
!***Drops common CSG community***
if community matches-any (10:10) then
drop
else
pass
endif
endif
07-06-2019 10:27 AM
Hi @Ibrahim Jamil,
My previous suggestions were based on IOS-XE. They may also work similarly on IOS-XR.
Your configurations are for an IOS-XR based device. If there is a more straightforward way on IOS-XR perhaps someone else can comment on this.
Cheers.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide