09-03-2008 01:43 AM - edited 03-03-2019 11:23 PM
Hi there,
I have a new router with a new ISP and I want to test that the session comes up, without advertising my /24 network. I have the new neighbours set up with a prefix list called notransit. Can I just change the notransit prefix list from:
ip prefix-list notransit seq 5 permit x.x.x.0/24
to:
ip prefix-list notransit seq 5 deny x.x.x.0/24
And then change it back afterwards? Or would you recommend to remove all prefix list entries (from neighbours)?
Many thanks!
J
Solved! Go to Solution.
09-03-2008 03:39 AM
Hello!
The simplest solution is not to advertise your networks to peer. By having no network statement under bgp config and not route-map / prefix-list with neighbor statement you are sure that no networks will be advertise. In this case you will still receive networks from your peer. If you would like not to receive anything put a
ip prefix-list notransit seq 5 deny 0.0.0.0/0
and add this to
neighbor x.x.x.x prefix-list notransit in
Your solution is good to for not advertising your networks.
Cheers,
Calin
09-03-2008 03:39 AM
Hello!
The simplest solution is not to advertise your networks to peer. By having no network statement under bgp config and not route-map / prefix-list with neighbor statement you are sure that no networks will be advertise. In this case you will still receive networks from your peer. If you would like not to receive anything put a
ip prefix-list notransit seq 5 deny 0.0.0.0/0
and add this to
neighbor x.x.x.x prefix-list notransit in
Your solution is good to for not advertising your networks.
Cheers,
Calin
09-04-2008 06:22 AM
Great, thanks Calin, I just removed the statements in the end.
Regards,
J
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: