blob: 110d3fc033e2f8a1d10ead962af93c2a78b6c83b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
type: u32
help: Reference bandwidth method to assign OSPF cost
default: 100
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967; \
"Must be between 1-4294967"
val_help: u32:1-4294967; Reference bandwidth cost in Mbits/sec (default 100)
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'; "
|