Friday, June 24, 2016

BGP Bestpath Selection - AS-Path Prepending




AS-Path Prepend
ip access-list standard 10
  permit 144.144.144.0 0.0.0.255
  route-map SET-AS-PATH
  match ip address 10
  set as-path prepend 200 200 200

R3(config-router)#do show run | s bgp
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 3.3.3.0 mask 255.255.255.0
 neighbor 13.1.1.1 remote-as 100
 neighbor 13.1.1.1 next-hop-self
 neighbor 34.1.1.4 remote-as 200
 neighbor 34.1.1.4 route-map SET-AS-PATH in
 no auto-summary









No comments:

Post a Comment