summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/distance/global/node.def
blob: b54f9881a59ee2116755fda8cc4194d1cdecdb38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type: u32
help: OSPF administrative distance
val_help: u32:1-255; Administrative distance

syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Must be between 1-255"

update:expression: "vtysh -c \"configure terminal\" \
       -c \"router ospf\" \
       -c \"distance $VAR(@) \"; "

delete:expression: "vtysh -c \"configure terminal\" \
       -c \"router ospf\" \
       -c \"no distance $VAR(@) \"; "