Now we need to configure the VyOS to enable BGP and establish a session with our OpenDaylight BGP module. Run the following command inside the VyoS Command Prompt.
set protocols bgp 65100 neighbor 192.168.20.51 remote-as 65100.set protocols bgp 65536 network 172.16.0.0/24.set protocols bgp 65536 parameters router-id 192.168.20.56.set protocols bgp 65536 parameters hold time 180 end commit
To verify the established session between OpenDaylight and VyOS, issue the show IP BGP neighbors on the VyOS router:
vyos@vyos:~$ show ip bgp neighborsBGP neighbor is 192.168.20.51, remote AS 65100, local AS 65100, internal link BGP version 4, remote router ID 192.168.20.51 BGP state = Established, up for 00:01:47 Last read 07:27:00, ...