diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-06-21 19:47:15 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-11-17 19:44:04 +0100 |
commit | 2722a4d54953870505fceaa3e70ee094b96c1147 (patch) | |
tree | 0426b901dc3516bbb35c3e48485c5b92739d6ca6 | |
parent | 72256d9878e76f2402b9dbaa75f57d348f2caf2c (diff) | |
download | vyatta-cfg-quagga-2722a4d54953870505fceaa3e70ee094b96c1147.tar.gz vyatta-cfg-quagga-2722a4d54953870505fceaa3e70ee094b96c1147.zip |
bfd: T1183: add OSPF BFD support on interface nodes
set interface ethernet eth0 ip ospf bfd
delete interface ethernet eth0 ip ospf bfd
-rw-r--r-- | interface-templates/ip/ospf/bfd/node.def | 3 | ||||
-rw-r--r-- | interface-templates/ipv6/ospfv3/bfd/node.def | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/interface-templates/ip/ospf/bfd/node.def b/interface-templates/ip/ospf/bfd/node.def new file mode 100644 index 00000000..fc393c2a --- /dev/null +++ b/interface-templates/ip/ospf/bfd/node.def @@ -0,0 +1,3 @@ +help: Enable Bidirectional Forwarding Detection (BFD) on this interface +create:vtysh -c "configure terminal" -c "interface $IFNAME" -c "ip ospf bfd" +delete:vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ip ospf bfd" diff --git a/interface-templates/ipv6/ospfv3/bfd/node.def b/interface-templates/ipv6/ospfv3/bfd/node.def new file mode 100644 index 00000000..79de2a18 --- /dev/null +++ b/interface-templates/ipv6/ospfv3/bfd/node.def @@ -0,0 +1,4 @@ +help: Enable Bidirectional Forwarding Detection (BFD) on this interface +create:vtysh -c "configure terminal" -c "interface $VAR(../../../@)" -c "ipv6 ospf6 bfd" +delete:vtysh -c "configure terminal" -c "interface $VAR(../../../@)" -c "no ipv6 ospf6 bfd" + |