Hello @LovejitSingh1313 ,
modern BGP implementations default to
no auto-summary
this means that an exact match for the prefix needs to be found in the IP routing table in order for BGP to be able to advertise it.
>> If this is the case either use the aggregate-address command in BGP or create a static route to null 0 with high AD in order to have the prefix advertised as a /24.
You have found the following:
>> ip route vrf INTERNET 189.75.62.0 255.255.255.0 Null0 254 permanent
This means the prefix is actually subnetted in more specific subnets and the static route above is one of the two methods to build an aggregate route that can be advertised using network 189.75.62.0 255.255.255.0.
The other one if you are interested is to use the BGP aggregate-address command
router bgp <YourASN>
address-family ipv4 vrf INTERNET
aggregate-address 189.75.62.0 255.255.255.0
However, the aggregate-address would disappear if all the component subnets are removed from BGP table.
Here the static to Null0 with an high AD is used to create a permanent stable BGP advertisement.
The use of the keyword permanent in this case being a route to null0 that always exists can be considered not necessary.
Hope to help
Giuseppe