blob: 930b8c26dcd5d03d5095c1160d7d907d831485c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
set -e
# enable bgpd with SNMP & RPKI modules
cat >> /etc/frr/daemons <<EOF
bgpd=yes
bgpd_options="-A 127.0.0.1 -Msnmp -Mrpki"
EOF
service frr restart
# check that it actually started
pgrep watchfrr
pgrep zebra
pgrep bgpd
# just for debugging
vtysh -c 'show modules'
# ... and SNMP & RPKI should be loaded
vtysh -c 'show modules' | grep -q snmp
vtysh -c 'show modules' | grep -q rpki
|