summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_roles_capability/r1/bgpd.conf
blob: 273f933d6e0fe59d17d33eccc0183febdd15f3c4 (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
router bgp 64501
  bgp router-id 192.168.2.1
  network 192.0.2.0/24
! Correct role pair
  neighbor 192.168.2.2 remote-as external
  neighbor 192.168.2.2 local-role provider
  neighbor 192.168.2.2 timers 3 10
! Incorrect role pair
  neighbor 192.168.3.2 remote-as external
  neighbor 192.168.3.2 local-role provider
  neighbor 192.168.3.2 timers 3 10
! Missed neighbor role
  neighbor 192.168.4.2 remote-as external
  neighbor 192.168.4.2 local-role provider
  neighbor 192.168.4.2 timers 3 10
! Missed neighbor role with strict-mode
  neighbor 192.168.5.2 remote-as external
  neighbor 192.168.5.2 local-role provider strict-mode
  neighbor 192.168.5.2 timers 3 10
! Testing peer-groups
  neighbor PG peer-group
  neighbor PG remote-as external
  neighbor PG local-role provider
  neighbor PG timers 3 10
  neighbor 192.168.6.2 peer-group PG