hints:routing
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hints:routing [2020/09/22 11:08] – [Conclusion] philip | hints:routing [2020/09/22 11:12] (current) – [Complete Configuration] philip | ||
|---|---|---|---|
| Line 78: | Line 78: | ||
| route-map EBGP-in permit 5 | route-map EBGP-in permit 5 | ||
| | | ||
| - | match ip address prefix-list | + | match ip address prefix-list |
| set community no-advertise | set community no-advertise | ||
| ! | ! | ||
| Line 88: | Line 88: | ||
| | | ||
| neighbor 10.10.10.1 route-map EBGP-in in | neighbor 10.10.10.1 route-map EBGP-in in | ||
| + | distance bgp 20 200 200 | ||
| ! | ! | ||
| </ | </ | ||
| Line 99: | Line 100: | ||
| ==== Complete Configuration ==== | ==== Complete Configuration ==== | ||
| - | For BR1: | + | For BR1 (making BR1 the //main// default gateway): |
| < | < | ||
| + | router isis ISP | ||
| + | ... | ||
| + | | ||
| + | ! | ||
| + | router bgp 64512 | ||
| + | | ||
| + | neighbor 10.10.10.1 route-map EBGP-in in | ||
| + | distance bgp 20 200 200 | ||
| + | ! | ||
| + | ip access-list standard BGP-NH | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | ip prefix-list DEFAULT permit 0.0.0.0/0 | ||
| + | ! | ||
| + | route-map DEFAULT-ORIG permit 5 | ||
| + | match ip address prefix-list DEFAULT | ||
| + | match ip next-hop BGP-NH | ||
| + | ! | ||
| + | route-map EBGP-in permit 5 | ||
| + | | ||
| + | match ip address prefix-list DEFAULT | ||
| + | set community no-advertise | ||
| + | ! | ||
| + | route-map EBGP-in permit 10 | ||
| + | | ||
| + | ... | ||
| + | ! | ||
| + | </ | ||
| + | |||
| + | For BR2 (making BR2 the //backup// default gateway): | ||
| + | |||
| + | < | ||
| + | router isis ISP | ||
| + | ... | ||
| + | | ||
| + | ! | ||
| + | router bgp 64512 | ||
| + | | ||
| + | neighbor 10.10.20.1 route-map EBGP-in in | ||
| + | distance bgp 20 200 200 | ||
| + | ! | ||
| + | ip access-list standard BGP-NH | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | ip prefix-list DEFAULT permit 0.0.0.0/0 | ||
| + | ! | ||
| + | route-map DEFAULT-ORIG permit 5 | ||
| + | match ip address prefix-list DEFAULT | ||
| + | match ip next-hop BGP-NH | ||
| + | set metric 10 | ||
| + | ! | ||
| + | route-map EBGP-in permit 5 | ||
| + | | ||
| + | match ip address prefix-list DEFAULT | ||
| + | set community no-advertise | ||
| + | ! | ||
| + | route-map EBGP-in permit 10 | ||
| + | | ||
| + | ... | ||
| + | ! | ||
| + | </ | ||
| [[start| Back to Home page]] | [[start| Back to Home page]] | ||
hints/routing.1600772913.txt.gz · Last modified: by philip
