summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_features/r2/bgpd.conf
blob: 99cec988116dd785bc633da9dc9f0b1caad0c110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
!
hostname r2
log file bgpd.log
!
router bgp 65000
 bgp router-id 192.168.0.2
 timers bgp 3 10
 coalesce-time 0
 bgp log-neighbor-changes
 no bgp ebgp-requires-policy
 neighbor 192.168.0.1 remote-as 65000
 neighbor 192.168.0.1 timers 3 10
 neighbor 192.168.0.1 description Router R1 (iBGP)
 neighbor 192.168.0.1 update-source lo
 neighbor 192.168.0.1 timers connect 5
 neighbor 192.168.201.2 remote-as 65200
 neighbor 192.168.201.2 timers 3 10
 neighbor 192.168.201.2 description Router R5 (eBGP AS 65200)
 neighbor 192.168.201.2 timers connect 5
 !
 address-family ipv4 unicast
  network 192.168.0.0/24
  network 192.168.1.0/24
  network 192.168.2.0/24
  network 192.168.3.0/24
  network 192.168.7.0/24
  network 192.168.8.0/24
  neighbor 192.168.201.2 route-map testmap-in in
  neighbor 192.168.201.2 route-map testmap-out out
 exit-address-family
!
!
!
route-map testmap-in permit 999
!
route-map testmap-out permit 999
!
!
line vty
!