diff options
Diffstat (limited to 'templates/protocols/ospf/distance/global/node.def')
-rw-r--r-- | templates/protocols/ospf/distance/global/node.def | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/protocols/ospf/distance/global/node.def b/templates/protocols/ospf/distance/global/node.def new file mode 100644 index 00000000..6b45a976 --- /dev/null +++ b/templates/protocols/ospf/distance/global/node.def @@ -0,0 +1,9 @@ +type: u32 +help: "OSPF administrative distance" +syntax: $(@) >= 1 && $(@) <= 255; "Must be between 1-255" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"distance $(@) \"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no distance $(@) \"; " + + |