Skip to content

Commit

Permalink
Disable frr eigrpd
Browse files Browse the repository at this point in the history
  • Loading branch information
goffinet authored Mar 2, 2024
1 parent e2b1a11 commit 0ccd8cd
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions tests/centos-controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@ source /etc/os-release
yum -y install git autoconf automake libtool make readline-devel texinfo net-snmp-devel groff pkgconfig json-c-devel pam-devel bison flex pytest c-ares-devel python-devel python-sphinx libcap-devel elfutils-libelf-devel libunwind-devel protobuf-c-devel
yum -y install https://rpm.frrouting.org/repo/frr-stable-repo-1-0.el${VERSION_ID}.noarch.rpm
yum -y install frr frr-pythontools
cat << EOF > /etc/frr/eigrpd.conf
router eigrp 1
network 11.12.13.0/24
EOF
chown frr:frr /etc/frr/eigrpd.conf
chmod 640 /etc/frr/eigrpd.conf
#cat << EOF > /etc/frr/eigrpd.conf
#router eigrp 1
# network 11.12.13.0/24
#EOF
#chown frr:frr /etc/frr/eigrpd.conf
#chmod 640 /etc/frr/eigrpd.conf
gpasswd -a frr frrvty
sed -i 's/eigrpd=.*/eigrpd=yes/g' /etc/frr/daemons
#sed -i 's/eigrpd=.*/eigrpd=yes/g' /etc/frr/daemons
systemctl enable frr
systemctl start frr
vtysh -f /etc/frr/eigrpd.conf

#vtysh -f /etc/frr/eigrpd.conf

0 comments on commit 0ccd8cd

Please sign in to comment.