summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_snmp_bgp4v2mib/rr/bgpd.conf
blob: 5ebbde6703fe3d426655fe0ed888d7d7dc7f300f (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
!
! debug bgp updates
!
router bgp 65004
 no bgp ebgp-requires-policy
 no bgp network import-check
 no bgp default ipv4-unicast
 neighbor 192.168.12.1 remote-as external
 neighbor 192.168.12.1 timers 1 3
 neighbor 192.168.12.1 timers connect 1
 neighbor 192.168.12.2 remote-as external
 neighbor 192.168.12.2 timers 1 3
 neighbor 192.168.12.2 timers connect 1
 neighbor 192.168.12.3 remote-as external
 neighbor 192.168.12.3 timers 1 3
 neighbor 192.168.12.3 timers connect 1
 neighbor 2001:db8::12:1 remote-as external
 neighbor 2001:db8::12:1 timers 1 3
 neighbor 2001:db8::12:1 timers connect 1
 neighbor 2001:db8::12:2 remote-as external
 neighbor 2001:db8::12:2 timers 1 3
 neighbor 2001:db8::12:2 timers connect 1
 neighbor 2001:db8::12:3 remote-as external
 neighbor 2001:db8::12:3 timers 1 3
 neighbor 2001:db8::12:3 timers connect 1
 !
 address-family ipv4 unicast
  network 10.0.0.0/31 route-map p1
  network 10.0.0.2/32 route-map p2
  neighbor 192.168.12.1 activate
  neighbor 192.168.12.2 activate
  neighbor 192.168.12.2 addpath-tx-all-paths
  neighbor 192.168.12.2 route-map r2-import in
  neighbor 192.168.12.2 route-map r2-export out
!  neighbor 192.168.12.2 soft-reconfiguration inbound
  neighbor 192.168.12.3 activate
 exit-address-family
 address-family ipv6 unicast
  network 2001:db8::1/128 route-map p1
  network 2001:db8:1::/56 route-map p2
  neighbor 2001:db8::12:1 activate
  neighbor 2001:db8::12:2 activate
  neighbor 2001:db8::12:2  addpath-tx-all-paths
  neighbor 2001:db8::12:3 activate
 exit-address-family


ip prefix-list r2-toto permit any

route-map r2-import permit 10
 match ip address prefix-list r2-toto

route-map r2-export permit 10
 match ip address prefix-list r2-toto
!
route-map p1 permit 10
 set metric 1
exit
route-map p2 permit 10
 set metric 2
 set origin incomplete
exit



agentx
!