How to filter out the default route from outgoing bgp advertisements?
Answer / Ashk Kumar Shah
To filter out the default route (0.0.0.0/0) from outgoing BGP advertisements, you can use route maps in your router configuration. Here's a basic example using Cisco IOS:n
1. Create a route map:nn`configure router bgp`n`address-family ipv4 unicast`n`route-map filter-default permit 10`
2. Define the conditions to match the default route:nn`route-map filter-default permit 10`n`match ip address 1`n`address-prefix list default-exclude`
3. Create an access list (ACL) to exclude the default route:nn`access-list 1 deny 0.0.0.0 0.0.0.0 0 255`
4. Apply the route map to the BGP process:nn`network-statement`n`exit`n`bgp router-configuration address-family ipv4 unicast exit`n`exit`nnIn this example, the default route is excluded using access list 1 in the route map named filter-default.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between routers and hubs?
What is Auto-Negotiation function?
How does this WIC when installed into the Cisco 2600/3600 differ from the Cisco IAD2400 Series?
What is the difference between packet switching and circuit switching?
What are the differences between DMT and G.Lite?
Does the WIC support auto detection?
what is the difference between collision domain and broadcast domain?
What market segment does the Cisco 1700 Series target with the ADSL WIC?
Difference between Router and Switch
What's the Difference Between Routers, Switches and Hubs?
8 Answers Adcell Group, BEL, Huawei, Infosys,
Will this WIC operate in the 1E2W, 2E2W, or 1E1R2W?
Explain external routers components?