2440
Views
0
Helpful
1
Replies
deny BGP default route

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2019 02:12 AM - edited 03-01-2019 03:12 PM
Hi guys,
If i am receiving a full bgp table from my provider and the table includs the default route. how do i filter out the default route?
Labels:
- Labels:
-
Other Service Providers
1 Reply 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2019 01:04 PM - edited 02-11-2019 01:15 PM
You can use a simple prefix-list to achieve that.
router bgp xxx
neighbor 192.168.1.1 prefix-list no_default in
!
ip prefix-list no_default seq 5 deny 0.0.0.0/0 (deny the default route)
ip prefix-list no_default seq 10 permit 0.0.0.0/0 le 32 (accept anything else)
Regards,
Regards,
Harold Ritter, CCIE #4168 (EI, SP)
Harold Ritter, CCIE #4168 (EI, SP)
