summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_snmp_bgp4v2mib/r1/bgpd.conf
blob: d82a21e1f9fea4e03c2d45c9d16f6809b1fa5944 (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
!
router bgp 65001
 no bgp ebgp-requires-policy
 no bgp network import-check
 no bgp default ipv4-unicast
 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 2001:db8::12:2 remote-as external
 neighbor 2001:db8::12:2 timers 1 3
 neighbor 2001:db8::12:2 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.2 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:2 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
!