summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/cost/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/ospf/cost/node.def')
-rw-r--r--interface-templates/ip/ospf/cost/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-templates/ip/ospf/cost/node.def b/interface-templates/ip/ospf/cost/node.def
index b5a1baed..fd6d125a 100644
--- a/interface-templates/ip/ospf/cost/node.def
+++ b/interface-templates/ip/ospf/cost/node.def
@@ -1,11 +1,11 @@
type: u32
-help: Set interface cost
+help: Interface cost
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535"
+val_help: u32:1-65535; OSPF interface cost
+
update:vtysh -c "configure terminal" \
-c "interface $IFNAME" \
-c "ip ospf cost $VAR(@)"
delete:vtysh -c "configure terminal" \
-c "interface $IFNAME" \
-c "no ip ospf cost"
-comp_help: possible completions:
- <1-65535> Set Cost