ROS7 BGP newbye

Hello,
I try bgp session without success.
plese let me konw how to setup: i want to connect AS12345 to IP: 11.22.33.44, my AS 11111 and one /22 to announce, in example 10.0.0.0/22

I’ve setup a template then connection in ebpg-peer:

/routing bgp template
add as=11111 name=NR output.filter-chain=myAsFilter
set default as=11111 disabled=no output.filter-chain=myAsFilter
routing-table=main templates=NR

/routing bgp connection
add as=11111 disabled=yes input.filter=bgp_in listen=yes local.address=
11.22.33.45 .role=ebgp name=isp02 output.filter-chain=myAsFilter
remote.address=11.22.33.44 .as=12345 routing-table=main templates=NR

/routing filter rule
add chain=bgp_in disabled=no rule=“if (dst in 10.0.0.0/22) {accept}”

850k bgp routes downloaded ok but all route with flag: DIFb ( Dynamic Invalid Filtered BGP)

someone can help me?
(CCR1072)

thanks in advance.

in bgp_in chain you have specified to accept only 10.0.0.0/22 any other received prefix will be rejected and show up as Filtered.

Hi @mrz
in bgp_in I set 0.0.0.0/0 ?
Filter mechanism in ros7 is very strange.
I don’t see any complete example

Thank you

Default action in any chain is “reject”. If you want to accept everything just add rule /routing filter rule add chain=bgp_in rule=“accept”