summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_set_local_preference_add_subtract/r2/bgpd.conf
blob: 1f85a3578bc8caba121466470fb343d7a1cf94f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
router bgp 65000
  no bgp ebgp-requires-policy
  no bgp network import-check
  network 10.10.10.2/32 route-map l2
  neighbor 192.168.255.1 remote-as 65000
  neighbor 192.168.255.1 timers 3 10
  address-family ipv4
    redistribute connected
    neighbor 192.168.255.1 route-map r1-out out
  exit-address-family
!
route-map r1-out permit 10
  set local-preference +50
route-map l2 permit 10
  set local-preference +10