How to filter out the default route from outgoing bgp advertisements?



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

Post New Answer

More Telecom Routers Switches Interview Questions

What is the difference between routers and hubs?

1 Answers  


What is Auto-Negotiation function?

1 Answers  


How does this WIC when installed into the Cisco 2600/3600 differ from the Cisco IAD2400 Series?

1 Answers   Cisco,


What is the difference between packet switching and circuit switching?

1 Answers   Ericsson,


What are the differences between DMT and G.Lite?

1 Answers   Cisco,


Does the WIC support auto detection?

1 Answers   Cisco,


what is the difference between collision domain and broadcast domain?

6 Answers   HCL,


What market segment does the Cisco 1700 Series target with the ADSL WIC?

1 Answers   Cisco,


Difference between Router and Switch

2 Answers   Alvarion, TCS,


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?

1 Answers   Cisco,


Explain external routers components?

1 Answers  


Categories
  • Telecom Routers Switches Interview Questions Telecom Routers Switches (87)
  • Telecom Protocols Interview Questions Telecom Protocols (83)
  • Telecom Algorithms Interview Questions Telecom Algorithms (10)
  • Voice Gateways Interview Questions Voice Gateways (17)
  • VoIP IP Telephony Interview Questions VoIP IP Telephony (41)
  • Telecom Security Interview Questions Telecom Security (5)
  • Telecom Hardware Interview Questions Telecom Hardware (12)
  • WiFi Related Interview Questions WiFi Related (726)
  • Telecom General Interview Questions Telecom General (169)
  • Telecom AllOther Interview Questions Telecom AllOther (14)