summaryrefslogtreecommitdiffstats
path: root/tests/topotests/all-protocol-startup/r1/bgpd.conf
blob: 4614287f27f9fb4b53f98c4b8d4ab0b7441be744 (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
42
43
44
45
46
47
log file bgpd.log
!
!
router bgp 100
 bgp router-id 192.168.0.1
 bgp log-neighbor-changes
 neighbor 192.168.7.10 remote-as 100
 neighbor 192.168.7.20 remote-as 200
 neighbor fc00:0:0:8::1000 remote-as 100
 neighbor fc00:0:0:8::2000 remote-as 200
 !
 address-family ipv4 unicast
  network 192.168.0.0/24
  neighbor 192.168.7.10 route-map bgp-map in
  neighbor 192.168.7.10 filter-list bgp-filter-v4 out
  neighbor 192.168.7.20 route-map bgp-map in
  neighbor 192.168.7.20 filter-list bgp-filter-v4 out
 exit-address-family
 !
 address-family ipv6 unicast
  network fc00::/64
  neighbor fc00:0:0:8::1000 activate
  neighbor fc00:0:0:8::1000 route-map bgp-map in
  neighbor fc00:0:0:8::1000 filter-list bgp-filter-v6 out
  neighbor fc00:0:0:8::2000 activate
  neighbor fc00:0:0:8::2000 route-map bgp-map in
  neighbor fc00:0:0:8::2000 filter-list bgp-filter-v6 out
 exit-address-family
!
!
ip prefix-list bgp-filter-v4 description dummy-test-prefix-list
ip prefix-list bgp-filter-v4 seq 5 permit 192.168.0.0/24
!
ipv6 prefix-list bgp-filter-v4 seq 5 permit fc00::/64
ipv6 prefix-list bgp-filter-v6 description dummy-test-prefix-list-v6
!
route-map bgp-map permit 10
 set community 100:100 additive
 set local-preference 100
!
route-map bgp-map permit 20
 set metric 10
 set local-preference 200
!
line vty
!