diff options
author | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-13 20:45:58 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-13 20:45:58 -0800 |
commit | 1a9535e68042f67087cd400523dc42103292c2fe (patch) | |
tree | a3650a1c5a90def61a7b1e49ed830727d757cbcb /templates/protocols/ospf/default-metric | |
parent | 34441a9917ce16db0e48fc8d44ecd0ee4debaa34 (diff) | |
download | vyatta-cfg-quagga-1a9535e68042f67087cd400523dc42103292c2fe.tar.gz vyatta-cfg-quagga-1a9535e68042f67087cd400523dc42103292c2fe.zip |
Add yet more OSPF configuration.
Diffstat (limited to 'templates/protocols/ospf/default-metric')
-rw-r--r-- | templates/protocols/ospf/default-metric/node.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/protocols/ospf/default-metric/node.def b/templates/protocols/ospf/default-metric/node.def new file mode 100644 index 00000000..90fba236 --- /dev/null +++ b/templates/protocols/ospf/default-metric/node.def @@ -0,0 +1,7 @@ +type: u32 +help: "Set metric of redistributed routes" +syntax: $(@) >= 0 && $(@) <= 16777214; "Must be between 0-16777214" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"default-metric $(@) \"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no default-metric $(@) \"; " |