Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

MSDP configuration example

The following example shows routers being configured for the MSDP configuration that is illustrated in Configuration.

Table 1. Configuring MSDP peer-groups

Description

Command

Configure R1.

vyatta@R1# set interfaces dataplane dp0p160p1 address 10.10.10.1/24
vyatta@R1# set interfaces dataplane dp0p192p1 address 10.12.0.1/16
vyatta@R1# set interfaces dataplane dp0p224p1 address 10.15.0.1/16
vyatta@R1# set interfaces dataplane dp0p256p1 address 10.16.0.1/16
vyatta@R1# set interfaces dataplane dp0p192p1 ip pim mode sparse
vyatta@R1# set interfaces dataplane dp0p224p1 ip pim mode sparse
vyatta@R1# set interfaces dataplane dp0p256p1 ip pim mode sparse
vyatta@R1# set protocols bgp 1 neighbor 10.12.0.2 remote-as 2
vyatta@R1# set protocols bgp 1 neighbor 10.15.0.5 remote-as 3
vyatta@R1# set protocols bgp 1 neighbor 10.16.0.6 remote-as 1
vyatta@R1# set protocols bgp 1 network 10.12.0.0/16
vyatta@R1# set protocols bgp 1 network 10.15.0.0/16
vyatta@R1# set protocols bgp 1 network 10.16.0.0/16
vyatta@R1# set protocols multicast ip routing
vyatta@R1# set protocols pim rp-address 10.16.0.6
vyatta@R1# set service ssh
vyatta@R1# set system host-name R1

Configure R2.

vyatta@R2# set interfaces dataplane dp0p160p1 address 10.10.10.2/24
vyatta@R2# set interfaces dataplane dp0p192p1 address 10.12.0.2/16
vyatta@R2# set interfaces dataplane dp0p224p1 address 10.23.0.2/16
vyatta@R2# set interfaces dataplane dp0p256p1 address 10.29.0.2/16
vyatta@R2# set interfaces dataplane dp0p192p1 ip pim mode sparse
vyatta@R2# set interfaces dataplane dp0p224p1 ip pim mode sparse
vyatta@R2# set interfaces dataplane dp0p256p1 ip pim mode sparse
vyatta@R2# set protocols bgp 2 neighbor 10.12.0.1 remote-as 1
vyatta@R2# set protocols bgp 2 neighbor 10.23.0.3 remote-as 3
vyatta@R2# set protocols bgp 2 network 10.12.0.0/16
vyatta@R2# set protocols bgp 2 network 10.23.0.0/16
vyatta@R2# set protocols bgp 2 network 10.29.0.0/16
vyatta@R2# set protocols msdp peer 10.16.0.6
vyatta@R2# set protocols msdp peer 10.23.0.3
vyatta@R2# set protocols multicast ip routing
vyatta@R2# set protocols pim rp-address 10.29.0.2
vyatta@R2# set service ssh
vyatta@R2# set system host-name R2

Configure R3.

vyatta@R3# set interfaces dataplane dp0p160p1 address 10.10.10.3/24
vyatta@R3# set interfaces dataplane dp0p192p1 address 10.23.0.3/16
vyatta@R3# set interfaces dataplane dp0p224p1 address 10.34.0.3/16
vyatta@R3# set interfaces dataplane dp0p256p1 address 10.53.0.3/16
vyatta@R3# set interfaces dataplane dp0p192p1 ip pim mode sparse
vyatta@R3# set interfaces dataplane dp0p224p1 ip pim mode sparse
vyatta@R3# set interfaces dataplane dp0p256p1 ip pim mode sparse
vyatta@R3# set protocols bgp 3 neighbor 10.23.0.2 remote-as 2
vyatta@R3# set protocols bgp 3 neighbor 10.34.0.4 remote-as 3
vyatta@R3# set protocols bgp 3 neighbor 10.53.0.5 remote-as 3
vyatta@R3# set protocols bgp 3 network 10.23.0.0/16
vyatta@R3# set protocols bgp 3 network 10.34.0.0/16
vyatta@R3# set protocols bgp 3 network 10.53.0.0/16
vyatta@R3# set protocols msdp peer-group peer1 peer 10.53.0.5
vyatta@R3# set protocols msdp peer-group peer1 peer 10.34.0.4
vyatta@R3# set protocols msdp peer 10.23.0.2
vyatta@R3# set protocols msdp peer 10.34.0.4
vyatta@R3# set protocols msdp peer 10.53.0.5
vyatta@R3# set protocols multicast ip routing
vyatta@R3# set protocols pim rp-address 10.34.0.3
vyatta@R3# set service ssh
vyatta@R3# set system host-name R3

Configure R4.

vyatta@R4# set interfaces dataplane dp0p160p1 address 10.10.10.4/24 

vyatta@R4# set interfaces dataplane dp0p192p1 address 10.34.0.4/16 

vyatta@R4# set interfaces dataplane dp0p224p1 address 10.45.0.4/16 

vyatta@R4# set interfaces dataplane dp0p256p1 address 10.48.0.4/16

vyatta@R4# set interfaces dataplane dp0p192p1 ip pim mode sparse 

vyatta@R4# set interfaces dataplane dp0p224p1 ip pim mode sparse

vyatta@R4# set interfaces dataplane dp0p256p1 ip pim mode sparse

vyatta@R4# set protocols bgp 3 neighbor 10.34.0.3 remote-as 3

vyatta@R4# set protocols bgp 3 neighbor 10.45.0.5 remote-as 3

vyatta@R4# set protocols bgp 3 network 10.34.0.0/16

vyatta@R4# set protocols bgp 3 network 10.43.0.0/16

vyatta@R4# set protocols bgp 3 network 10.48.0.0/16

vyatta@R4# set protocols msdp peer-group peer1 peer 10.34.0.3

vyatta@R4# set protocols msdp peer-group peer1 peer 10.45.0.5

vyatta@R4# set protocols msdp peer 10.34.0.3

vyatta@R4# set protocols msdp peer 10.45.0.5

vyatta@R4# set protocols multicast ip routing 

vyatta@R4# set protocols pim rp-address 10.48.0.4

vyatta@R4# set service ssh

vyatta@R4# set system host-name R4

Configure R5.

vyatta@R5# set interfaces dataplane dp0p160p1 address 10.10.10.5/14

vyatta@R5# set interfaces dataplane dp0p161p1 address 10.57.0.5/16 

vyatta@R5# set interfaces dataplane dp0p192p1 address 10.15.0.5/16

vyatta@R5# set interfaces dataplane dp0p224p1 address 10.45.0.5/16 

vyatta@R5# set interfaces dataplane dp0p256p1 address 10.53.0.5/16

vyatta@R5# set interfaces dataplane dp0p161p1 ip pim mode sparse 

vyatta@R5# set interfaces dataplane dp0p192p1 ip pim mode sparse

vyatta@R5# set interfaces dataplane dp0p224p1 ip pim mode sparse 

vyatta@R5# set interfaces dataplane dp0p256p1 ip pim mode sparse

vyatta@R5# set protocols bgp 3 neighbor 10.15.0.1 remote-as 1

vyatta@R5# set protocols bgp 3 neighbor 10.45.0.4 remote-as 3

vyatta@R5# set protocols bgp 3 neighbor 10.53.0.3 remote-as 3

vyatta@R5# set protocols bgp 3 network 10.15.0.0/16

vyatta@R5# set protocols bgp 3 network 10.45.0.0/16

vyatta@R5# set protocols bgp 3 network 10.53.0.0/16

vyatta@R5# set protocols bgp 3 network 10.57.0.0/16

vyatta@R5# set protocols msdp peer-group peer1 peer 10.53.0.3

vyatta@R5# set protocols msdp peer-group peer1 peer 10.45.0.4

vyatta@R5# set protocols msdp peer 10.16.0.6

vyatta@R5# set protocols msdp peer 10.45.0.4

vyatta@R5# set protocols msdp peer 10.53.0.3

vyatta@R5# set protocols multicast ip routing

vyatta@R5# set protocols pim rp-address 10.53.0.5

vyatta@R5# set service ssh

vyatta@R5# set system host-name R5

Configure R6.

vyatta@R6# set interfaces dataplane dp0p160p1 address '10.10.10.6/24' 

vyatta@R6#set interfaces dataplane dp0p192p1 address '10.16.0.6/16' 

vyatta@R6# set interfaces dataplane dp0p224p1 address '10.106.0.6/16'

vyatta@R6# set interfaces dataplane dp0p160p1 ip pim mode 'sparse' 

vyatta@R6# set interfaces dataplane dp0p192p1 ip pim mode 'sparse' 

vyatta@R6# set interfaces dataplane dp0p224p1 ip pim mode 'sparse'

vyatta@R6# set protocols bgp 1 neighbor 10.16.0.1 remote-as '1'

vyatta@R6# set protocols bgp 1 network '10.16.0.0/16' 

vyatta@R6# set protocols bgp 1 network '10.106.0.0/16' 

vyatta@R6# set protocols msdp peer 10.12.0.2

vyatta@R6# set protocols msdp peer 10.15.0.5

vyatta@R6# set protocols multicast ip routing

vyatta@R6# set protocols pim rp-address 10.16.0.6

vyatta@R6# set service ssh

vyatta@R6# set system host-name R6