summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_snmp_bgp4v2mib/r1/bgpd.conf
blob: 144466e418da86817a4cee3f120ac622051ea120 (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
!
!debug bgp updates
!
router bgp 65001
 no bgp ebgp-requires-policy
 no bgp network import-check
 no bgp default ipv4-unicast
 neighbor 192.168.12.4 remote-as external
 neighbor 192.168.12.4 timers 1 3
 neighbor 192.168.12.4 timers connect 1
 neighbor 2001:db8::12:4 remote-as external
 neighbor 2001:db8::12:4 timers 1 3
 neighbor 2001:db8::12:4 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.4 activate
  neighbor 192.168.12.4 addpath-tx-all-paths
  network 10.10.10.10/32
 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:4 activate
 exit-address-family
!
route-map p1 permit 10
 set metric 1
exit
route-map p2 permit 10
 set metric 2
 set origin incomplete
exit