f-54: lab: labctl 0.2.0, second switch sw2, passerelle en VRRP, route reflectors en .4 et .5 #54
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
20bdd71990
commit
1ebb8c7c64
8 changed files with 71 additions and 22 deletions
35
test/e2e/topologies/frr/sw2.conf
Normal file
35
test/e2e/topologies/frr/sw2.conf
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
frr defaults traditional
|
||||
hostname sw2
|
||||
log syslog informational
|
||||
!
|
||||
ip prefix-list RR-LOOPBACK-IN seq 10 permit 10.255.255.1/32
|
||||
ip prefix-list RR-LOOPBACK-IN seq 20 permit 10.255.255.2/32
|
||||
!
|
||||
route-map RR-IN permit 10
|
||||
match ip address prefix-list RR-LOOPBACK-IN
|
||||
exit
|
||||
!
|
||||
route-map NO-OUT deny 999
|
||||
exit
|
||||
!
|
||||
router bgp 65100
|
||||
no bgp default ipv4-unicast
|
||||
bgp router-id 169.254.0.2
|
||||
neighbor 169.254.0.3 remote-as 65000
|
||||
neighbor 169.254.0.3 description rr1
|
||||
neighbor 169.254.0.3 bfd
|
||||
neighbor 169.254.0.4 remote-as 65000
|
||||
neighbor 169.254.0.4 description rr2
|
||||
neighbor 169.254.0.4 bfd
|
||||
!
|
||||
address-family ipv4 unicast
|
||||
neighbor 169.254.0.3 activate
|
||||
neighbor 169.254.0.3 route-map RR-IN in
|
||||
neighbor 169.254.0.3 route-map NO-OUT out
|
||||
neighbor 169.254.0.4 activate
|
||||
neighbor 169.254.0.4 route-map RR-IN in
|
||||
neighbor 169.254.0.4 route-map NO-OUT out
|
||||
exit-address-family
|
||||
!
|
||||
exit
|
||||
!
|
||||
Loading…
Add table
Add a link
Reference in a new issue