Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Null 0 Interface Usage in BGP

Question:

Ip route 172.168.0.0 255.255.0.0 null 0

router bgp 100

redistrbribute static

In regular situation, null 0 is like a black hole. So why does Cisco recommend to use null 0 under BGP redistribution of static routes?

2 REPLIES
Silver

Re: Null 0 Interface Usage in BGP

To prevent routing loops.

Whenever one uses aggregates, it is helpful to use null0 routes. Not just for BGP.

Suppose you have multiple sites, the addresses of which you are summarizing, and one of these sites go down. You are still advertising the whole aggregate. To prevent traffic for that downed site from going back and forth in your network, discard it right there.

Hope it explains.

New Member

Re: Null 0 Interface Usage in BGP

The previous posting is quite correct. Just wanted to add that since the Internet is quite a huge monster, when there is a route goes down, you would not want BGP routers to update every other routers about a route down. You would rather still advertising a lost route (part of the summarised route pointing to null 0) to other while calmly (need to concentrate here) and quitely fix the problem (and not let everybody know about it).

479
Views
0
Helpful
2
Replies
CreatePlease to create content