I'm using BGP and i'm doing redistribution of OSPF into BGP so as i have been reading the best way to do that is to use the network command.
At the moment I'm doing the redistribution of OSPF into BGP using a prefix list that specifies the networks to redistribute.
Is possible to do this by the network command?
My Network to redistribute is the 188.8.131.52 / 8 but the 184.108.40.206 / 16 is excluded.
The network in the IGP is with specific IP directions so I think that I have also use the auto-summary option or configure the aggregate-address command.
Another option that I prefer is to advertise the network in to parts because some of the ingress routers to the AS are better for the first part of the network and the other are better to the second part. So I'm planning to advertise this networks.
- 220.127.116.11 / 9 (Excluding 18.104.22.168 / 16)
- 22.214.171.124 / 9
Thank you so much for your help. With regards, Juan.
By default, network command advertise only specific mask which u applied and it should be existed in routing table.
another option , you can use route map as well with network command
"please rate me if post helpful"