summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/cost/node.def
blob: b5a1baed06cb67e74d109121e8f5af0c6df45385 (plain)
1
2
3
4
5
6
7
8
9
10
11
type: u32
help: Set interface cost
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535"
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