summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/auto-cost/reference-bandwidth/node.def
blob: 0bcafe6deb4058da304552d7ab4f50034fee789f (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: Set to use reference bandwidth method to assign OSPF cost
default: 100
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967; \
       "Must be between 1-4294967"

update:expression: "vtysh --noerror \
       -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: "vtysh --noerror \
       -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)