Les commandes utiles pour l'affichage et la sauvegarde sont les suivantes.
show run |
copy run start |
Une fois sorti de la console frr
, la configuration unifiée des démons est
stockée dans le fichier /etc/frr/frr.conf
.
Voici une copie des fichiers de configuration des trois routeurs une fois toutes les manipulations réalisées.
-
Routeur
R1
.frr version 10.1.1 frr defaults traditional hostname R1 log syslog informational service integrated-vtysh-config ! interface enp0s1.440 bandwidth 10000 ip ospf area 0 ipv6 ospf6 area 0 exit ! interface enp0s1.441 bandwidth 10000 ip ospf area 0 ipv6 ospf6 area 0 exit ! interface vlan10 bandwidth 10000 ip ospf area 0 ip ospf passive ipv6 ospf6 area 0 ipv6 ospf6 passive exit ! router ospf ospf router-id 1.0.0.4 log-adjacency-changes detail auto-cost reference-bandwidth 40000 default-information originate exit ! router ospf6 ospf6 router-id 1.0.0.6 log-adjacency-changes detail auto-cost reference-bandwidth 40000 default-information originate exit ! end
-
Routeur
R2
.frr version 10.1.1 frr defaults traditional hostname R2 log syslog informational service integrated-vtysh-config ! interface enp0s1.440 bandwidth 10000 ip ospf area 0 ipv6 ospf6 area 0 exit ! interface enp0s1.442 bandwidth 10000 ip ospf area 0 ipv6 ospf6 area 0 exit ! interface vlan20 bandwidth 10000 ip ospf area 0 ip ospf passive ipv6 ospf6 area 0 ipv6 ospf6 passive exit ! router ospf ospf router-id 2.0.0.4 log-adjacency-changes detail auto-cost reference-bandwidth 40000 exit ! router ospf6 ospf6 router-id 2.0.0.4 log-adjacency-changes detail auto-cost reference-bandwidth 40000 exit ! end
-
Routeur
R3
.frr version 10.1.1 frr defaults traditional hostname R3 log syslog informational service integrated-vtysh-config ! interface enp0s1.441 bandwidth 10000 ip ospf area 0 ipv6 ospf6 area 0 exit ! interface enp0s1.442 bandwidth 10000 ip ospf area 0 ipv6 ospf6 area 0 exit ! interface vlan30 bandwidth 10000 ip ospf area 0 ip ospf passive ipv6 ospf6 area 0 ipv6 ospf6 passive exit ! router ospf ospf router-id 3.0.0.4 log-adjacency-changes detail auto-cost reference-bandwidth 40000 exit ! router ospf6 ospf6 router-id 3.0.0.6 log-adjacency-changes detail auto-cost reference-bandwidth 40000 exit ! end