diff options
Diffstat (limited to 'templates/protocols/ospf/parameters')
5 files changed, 26 insertions, 0 deletions
diff --git a/templates/protocols/ospf/parameters/abr-type/node.def b/templates/protocols/ospf/parameters/abr-type/node.def new file mode 100644 index 00000000..d9c5e8a1 --- /dev/null +++ b/templates/protocols/ospf/parameters/abr-type/node.def @@ -0,0 +1,8 @@ +type: txt +help: "Set OSPF ABR type" +default: "cisco" +syntax: $(@) in "cisco", "ibm", "shortcut", "standard"; "Must be (cisco, ibm, shortcut, standard)" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"ospf abr-type $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no ospf abr-type $(@)\"; " diff --git a/templates/protocols/ospf/parameters/node.def b/templates/protocols/ospf/parameters/node.def new file mode 100644 index 00000000..95934f6e --- /dev/null +++ b/templates/protocols/ospf/parameters/node.def @@ -0,0 +1 @@ +help: "OSPF specific commands" diff --git a/templates/protocols/ospf/parameters/opaque-lsa/node.def b/templates/protocols/ospf/parameters/opaque-lsa/node.def new file mode 100644 index 00000000..5c530050 --- /dev/null +++ b/templates/protocols/ospf/parameters/opaque-lsa/node.def @@ -0,0 +1,6 @@ +help: "Enable the Opaque-LSA capability (rfc2370)" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"ospf opaque-lsa \"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no ospf opaque-lsa \"; " + diff --git a/templates/protocols/ospf/parameters/rfc1583-compatibility/node.def b/templates/protocols/ospf/parameters/rfc1583-compatibility/node.def new file mode 100644 index 00000000..0eb018e9 --- /dev/null +++ b/templates/protocols/ospf/parameters/rfc1583-compatibility/node.def @@ -0,0 +1,5 @@ +help: "Enable rfc1583 criteria for handling AS external routes" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"ospf rfc1583compatibility \"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no ospf rfc1583compatibility \"; " diff --git a/templates/protocols/ospf/parameters/router-id/node.def b/templates/protocols/ospf/parameters/router-id/node.def new file mode 100644 index 00000000..e37ba0ee --- /dev/null +++ b/templates/protocols/ospf/parameters/router-id/node.def @@ -0,0 +1,6 @@ +type: ipv4 +help: "Override the default router identifier" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"ospf router-id $(@)\" " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no ospf router-id \" " |