summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/auto-cost/reference-bandwidth/node.def
blob: 9896730d4725c20eb1d49c6211929b3a27526702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
type: u32
help: Use reference bandwidth method to assign OSPF cost
default: 100
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967; \
       "Must be between 1-4294967"

update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -noerr \
       -c \"configure terminal\"                       \
       -c \"router ospf\"                              \
       -c \"auto-cost reference-bandwidth $VAR(@) \";  \
       echo 'OSPF: Reference bandwidth is changed.';   \
       echo '      Please ensure reference bandwidth is consistent across all routers'; "

delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -noerr \
       -c \"configure terminal\"                       \
       -c \"router ospf\"                              \
       -c \"no auto-cost reference-bandwidth \";       \
       echo 'OSPF: Reference bandwidth is changed.';   \
       echo '      Please ensure reference bandwidth is consistent across all routers'; "

comp_help: possible completions:
 <1-4294967>        Set reference bandwidth cost in Mbits/sec (default 100)