The Net-Brainer

The Net-Brainer (http://forums.netbraintech.com/index.php)
-   One-Skill-at-a-Time (http://forums.netbraintech.com/forumdisplay.php?f=18)
-   -   How to conditionally advertise a default route to BGP neighbors? (http://forums.netbraintech.com/showthread.php?t=385)

David.C 07-16-2009 05:38 AM

How to conditionally advertise a default route to BGP neighbors?
 
1 Attachment(s)
According to the topology above, configure R6 to conditionally advertise a default route to BGP neighbors when it has route to 11.11.36.0/30.

David.C 07-16-2009 05:46 AM

Knowledge Points
 
In this case, you can conditionally advertise a default-route by using the advertise-map, exist-map, non-exist map.



neighbor 11.11.67.7 advertise-map adv_default exist-map to_R3
  • advertise-map Specifies the BGP route that will be advertised if the conditions of the exist map or non-exist map are met.
  • exist-map Specifies the conditional routes that need to be in local route table in order for BGP to advertise the routes defined in advertise-map.
  • non-exist-map Specifies the conditional routes that must not be in local route table before BGP starts to advertise routes defined in advertise-map
Verify via:

R1#show ip route bgp
11.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
B 11.11.6.0/24 [20/0] via 11.11.17.7, 00:09:30
B 11.11.7.0/24 [20/0] via 11.11.17.7, 00:09:31
B* 0.0.0.0/0 [20/0] via 11.11.17.7, 00:08:22


All times are GMT -4. The time now is 04:57 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2009 NetBrain, Inc. All rights reserved.