User Tools

Site Tools


hints:routing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hints:routing [2020/09/22 21:11] philiphints:routing [2020/09/22 21:12] (current) – [Complete Configuration] philip
Line 78: Line 78:
 route-map EBGP-in permit 5 route-map EBGP-in permit 5
  description Do not propagate default route  description Do not propagate default route
- match ip address prefix-list default+ match ip address prefix-list DEFAULT
  set community no-advertise  set community no-advertise
 ! !
Line 108: Line 108:
 ! !
 router bgp 64512 router bgp 64512
- ... 
  address-family ipv4  address-family ipv4
-  ... 
   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   distance bgp 20 200 200
Line 126: Line 124:
 route-map EBGP-in permit 5 route-map EBGP-in permit 5
  description Do not propagate default route  description Do not propagate default route
- match ip address prefix-list default+ match ip address prefix-list DEFAULT 
 + set community no-advertise 
 +
 +route-map EBGP-in permit 10 
 + description Other policy 
 + ... 
 +
 +</code> 
 + 
 +For BR2 (making BR2 the //backup// default gateway): 
 + 
 +<code> 
 +router isis ISP 
 + ... 
 + default-information originate route-map DEFAULT-ORIG 
 +
 +router bgp 64512 
 + address-family ipv4 
 +  neighbor 10.10.20.1 route-map EBGP-in in 
 +  distance bgp 20 200 200 
 +
 +ip access-list standard BGP-NH 
 + remark External BGP speaker 
 + permit 10.10.20.1 
 +
 +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 
 + description Do not propagate default route 
 + match ip address prefix-list DEFAULT
  set community no-advertise  set community no-advertise
 ! !
hints/routing.1600773062.txt.gz · Last modified: 2020/09/22 21:11 by philip